/* ===== Auth Layout Styles ===== */
.auth-layout {
    min-height: 100vh;
    display: flex;
}

.auth-sidebar {
    display: none;
    width: 50%;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    padding: var(--spacing-2xl);
    position: relative;
    overflow: hidden;
}

.auth-sidebar::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.auth-sidebar-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    color: white;
}

.auth-sidebar-logo {
    margin-bottom: var(--spacing-2xl);
}

.auth-sidebar-logo h1 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.auth-sidebar-logo .logo-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
}

.auth-sidebar h2 {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-md);
}

.auth-sidebar p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.auth-features {
    margin-top: var(--spacing-2xl);
}

.auth-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.auth-feature-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-feature-text h4 {
    color: white;
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.auth-feature-text p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.auth-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-lg);
    background-color: var(--gray-50);
}

.auth-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.auth-logo-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.auth-logo-mobile .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.auth-logo-mobile span {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
}

.auth-header h1 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.auth-header p {
    color: var(--gray-500);
    font-size: var(--font-size-base);
}

.auth-card {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.auth-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

.auth-footer a {
    color: var(--primary-600);
    font-weight: 500;
}

.auth-footer a:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

/* Social Login Buttons */
.social-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem;
    background-color: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-social:hover {
    background-color: var(--gray-50);
    border-color: var(--gray-400);
}

.btn-social svg {
    width: 20px;
    height: 20px;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: var(--spacing-sm);
}

.password-strength-bar {
    height: 4px;
    background-color: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    transition: width var(--transition-normal), background-color var(--transition-normal);
}

.password-strength-fill.weak {
    width: 25%;
    background-color: var(--danger-500);
}

.password-strength-fill.fair {
    width: 50%;
    background-color: var(--warning-500);
}

.password-strength-fill.good {
    width: 75%;
    background-color: var(--info-500);
}

.password-strength-fill.strong {
    width: 100%;
    background-color: var(--success-500);
}

.password-strength-text {
    font-size: var(--font-size-xs);
    margin-top: 0.25rem;
}

/* OTP Input */
.otp-container {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin: var(--spacing-lg) 0;
}

.otp-input {
    width: 50px;
    height: 56px;
    text-align: center;
    font-size: var(--font-size-xl);
    font-weight: 600;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.otp-input.filled {
    border-color: var(--primary-500);
    background-color: var(--primary-50);
}

/* Resend Timer */
.resend-section {
    text-align: center;
    margin-top: var(--spacing-lg);
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

.resend-section button {
    background: none;
    border: none;
    color: var(--primary-600);
    font-weight: 500;
    cursor: pointer;
}

.resend-section button:disabled {
    color: var(--gray-400);
    cursor: not-allowed;
}

/* Success Animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background-color: #dcfce7;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-checkmark svg {
    width: 40px;
    height: 40px;
    color: var(--success-600);
}

/* Responsive */
@media (min-width: 1024px) {
    .auth-sidebar {
        display: flex;
    }

    .auth-logo-mobile {
        display: none;
    }

    .auth-main {
        width: 50%;
        padding: var(--spacing-2xl);
    }
}
