/* ================================================================
   IndexPro — Auth Pages Styles
   ================================================================ */
.auth-body {
    background: var(--bg);
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* Left panel */
.auth-left {
    background: linear-gradient(145deg, #308ce8 0%, #1a6fc4 60%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.auth-left::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, .04);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.auth-left-content {
    position: relative;
    z-index: 1;
    max-width: 400px;
    width: 100%;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 60px;
}

.auth-logo .lp-logo-icon {
    background: rgba(255, 255, 255, .2);
    box-shadow: none;
}

.auth-left-title {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -.02em;
}

.auth-left-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, .8);
    line-height: 1.7;
    margin-bottom: 40px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 48px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .875rem;
    color: rgba(255, 255, 255, .9);
}

.auth-testimonial {
    padding: 20px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}

.auth-testimonial p {
    font-size: .875rem;
    color: rgba(255, 255, 255, .9);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 16px;
}

.auth-testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .9);
}

/* Right panel */
.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    background: #fff;
    overflow-y: auto;
}

.auth-form-wrap {
    width: 100%;
    max-width: 400px;
}

.auth-form-header {
    margin-bottom: 28px;
}

.auth-form-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-form-sub {
    font-size: .9rem;
    color: var(--text-secondary);
}

.auth-link {
    color: var(--primary);
    font-weight: 600;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-error {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: .875rem;
    animation: fadeIn .3s ease;
}

.auth-success {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: .875rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: .8125rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition);
    margin-bottom: 20px;
}

.auth-google-btn:hover {
    background: var(--surface2);
    border-color: #94a3b8;
    box-shadow: var(--shadow-sm);
}

.auth-footer-note {
    font-size: .75rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
    margin-top: 20px;
}

.pass-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.form-input-icon {
    position: relative;
}

.form-input-icon .form-input {
    padding-right: 40px;
}

/* Strength meter */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    border-radius: 99px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    border-radius: 99px;
    transition: width .4s ease, background .4s ease;
}

.strength-label {
    font-size: .75rem;
    color: var(--text-muted);
}

/* Demo hint */
.auth-demo-hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: var(--primary-light);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: .8125rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 32px 24px;
    }
}