/* Auth Pages - Modern & Eye-catching Design */

/* Auth Container */
.auth-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

/* Auth Card */
.auth-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: none;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auth Header */
.auth-header {
    background: linear-gradient(135deg, #cb0001 0%, #ff4444 100%);
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.auth-logo {
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
}

.auth-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.auth-title i {
    margin-right: 12px;
    opacity: 0.9;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Auth Body */
.auth-body {
    padding: 50px 45px;
}

/* Form Elements */
.auth-form .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.auth-form .form-label i {
    color: #cb0001;
    margin-right: 8px;
    font-size: 0.9rem;
}

.auth-form .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.auth-form .form-control:focus {
    border-color: #cb0001;
    box-shadow: 0 0 0 4px rgba(203, 0, 1, 0.1);
    background: white;
    outline: none;
}

.auth-form .form-control::placeholder {
    color: #9ca3af;
}

/* Form Check */
.auth-form .form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-form .form-check-input:checked {
    background-color: #cb0001;
    border-color: #cb0001;
}

.auth-form .form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(203, 0, 1, 0.1);
}

.auth-form .form-check-label {
    margin-left: 8px;
    color: #6b7280;
    cursor: pointer;
}

/* Buttons */
.auth-btn-primary {
    background: linear-gradient(135deg, #cb0001 0%, #ff4444 100%);
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(203, 0, 1, 0.3);
    width: 100%;
    margin-top: 10px;
}

.auth-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(203, 0, 1, 0.4);
    background: linear-gradient(135deg, #a00001 0%, #cb0001 100%);
}

.auth-btn-primary i {
    margin-right: 10px;
}

.auth-btn-outline {
    border: 2px solid #cb0001;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: #cb0001;
    background: white;
    transition: all 0.3s ease;
}

.auth-btn-outline:hover {
    background: linear-gradient(135deg, #cb0001 0%, #ff4444 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(203, 0, 1, 0.2);
}

/* Divider */
.auth-divider {
    margin: 35px 0;
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e5e7eb 50%, transparent 100%);
}

/* Links */
.auth-link {
    color: #cb0001;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-link:hover {
    color: #ff4444;
    gap: 8px;
}

.auth-link i {
    font-size: 0.9rem;
}

/* Auth Footer */
.auth-footer {
    background: #ffffff;
    padding: 25px 40px;
    border-top: 1px solid #e5e7eb;
}

.auth-footer-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-footer-link:hover {
    color: #cb0001;
}

/* Security Badge */
.security-badge {
    margin-top: 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(203, 0, 1, 0.1);
}

.security-badge i {
    color: #10b981;
    font-size: 1.1rem;
}

/* Feature Badges */
.feature-badges {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.feature-badge {
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-badge i {
    color: #10b981;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature-badge small {
    display: block;
    color: #6b7280;
    font-weight: 600;
}

/* Password Strength Indicator */
.password-strength {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak {
    width: 33%;
    background: #ef4444;
}

.strength-medium {
    width: 66%;
    background: #f59e0b;
}

.strength-strong {
    width: 100%;
    background: #10b981;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-wrapper {
        padding: 40px 0;
    }
    
    .auth-header {
        padding: 40px 30px;
    }
    
    .auth-logo {
        height: 55px;
    }
    
    .auth-title {
        font-size: 1.6rem;
    }
    
    .auth-subtitle {
        font-size: 1rem;
    }
    
    .auth-body {
        padding: 40px 30px;
    }
    
    .auth-footer {
        padding: 20px 30px;
    }
    
    .feature-badges {
        flex-direction: column;
        gap: 10px;
    }
    
    .auth-btn-primary {
        font-size: 1rem;
        padding: 14px 28px;
    }
}

@media (max-width: 576px) {
    .auth-wrapper {
        padding: 30px 0;
    }
    
    .auth-card {
        border-radius: 16px;
    }
    
    .auth-header {
        padding: 30px 20px;
    }
    
    .auth-logo {
        height: 50px;
        margin-bottom: 15px;
    }
    
    .auth-title {
        font-size: 1.4rem;
    }
    
    .auth-subtitle {
        font-size: 0.95rem;
    }
    
    .auth-body {
        padding: 30px 20px;
    }
    
    .auth-footer {
        padding: 20px;
    }
    
    .auth-form .form-control {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .auth-btn-primary {
        font-size: 0.95rem;
        padding: 13px 24px;
    }
}
