/* Auth Pages Specific Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    text-align: center;
    padding: 40px 40px 30px;
    background: linear-gradient(135deg, #4361ee, #7209b7);
    color: white;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.auth-logo i {
    font-size: 32px;
}

.auth-logo h1 {
    font-size: 28px;
    margin: 0;
    color: white;
}

.auth-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.otp-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
}

.otp-timer i {
    font-size: 16px;
}

.auth-body {
    padding: 40px;
}

/* OTP Input Styles */
.otp-input-group {
    display: flex;
    justify-content: center;
}

.otp-input {
    width: 100%;
    max-width: 300px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 10px;
    padding: 15px;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    background: #f8f9fa;
    transition: var(--transition);
}

.otp-input:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
    outline: none;
}

.otp-input.error {
    border-color: var(--danger-color);
    background: #fff5f5;
}

/* Password Strength Meter */
.password-strength {
    margin-top: 10px;
}

.strength-meter {
    height: 6px;
    background: var(--gray-light);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-bar {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.strength-text {
    font-size: 12px;
    color: var(--gray-color);
}

.strength-text span {
    font-weight: 600;
}

/* Auth Links */
.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 14px;
}

.auth-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-color);
}

.auth-links a:hover {
    color: var(--primary-color);
}

/* Auth Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-light);
}

.auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    background: white;
    color: var(--gray-color);
    font-size: 14px;
}

/* Auth Terms */
.auth-terms {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
    font-size: 14px;
    color: var(--gray-color);
}

.auth-terms a {
    font-weight: 600;
    color: var(--primary-color);
}

/* Checkbox Styles */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-check-label a:hover {
    color: var(--primary-dark);
}

/* Resend Button Styles */
#resendBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Alert Styles for Auth */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    animation: slideInRight 0.3s ease-out;
}

.alert i {
    font-size: 18px;
    flex-shrink: 0;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #7f1d1d;
    border: 1px solid #ef4444;
}

/* Loading State for Buttons */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Responsive Auth */
@media (max-width: 576px) {
    .auth-container {
        padding: 10px;
    }
    
    .auth-card {
        max-width: 100%;
    }
    
    .auth-header {
        padding: 30px 20px 20px;
    }
    
    .auth-body {
        padding: 30px 20px;
    }
    
    .auth-logo {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .auth-logo h1 {
        font-size: 24px;
    }
    
    .auth-header h2 {
        font-size: 20px;
    }
    
    .otp-input {
        font-size: 20px;
        letter-spacing: 8px;
        padding: 12px;
    }
    
    .auth-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}