/* ========================================
   AUTHENTICATION PAGES STYLES
   ======================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 1rem;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}

.auth-header {
    text-align: center;
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.auth-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.auth-header .logo i {
    font-size: 2.5rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.auth-header .subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.auth-form {
    padding: 2rem;
}

.auth-form h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-form .form-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.auth-form .form-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* OTP Input Styling */
.otp-input-group {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 1rem 0;
}

.otp-input {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.otp-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Alert Container in Auth */
#alertContainer {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-container {
        max-width: 100%;
    }
    
    .auth-form {
        padding: 1.5rem;
    }
    
    .auth-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .otp-input {
        width: 40px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .otp-input-group {
        gap: 0.5rem;
    }
}
