/* ============================================
   Login Page Styles
   ============================================ */

.auth-page {
    min-height: 100vh;
    background: var(--bg-page);
}

.auth-layout {
    min-height: 100vh;
}

/* --- Visual Panel (Left Side) --- */
.auth-visual {
    width: 50%;
    min-height: 100vh;
    background: var(--bg-darker);
    padding: 40px 48px;
    border-right: 1px solid var(--border);
}

.auth-quote {
    max-width: 420px;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    border: none;
}

.quote-author {
    margin-top: 0;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--gold-transparent);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.author-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.author-role {
    font-size: 13px;
    color: var(--text-tertiary);
}

.auth-footnote {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Form Panel (Right Side) --- */
.auth-form-area {
    width: 50%;
    min-height: 100vh;
    padding: 40px 80px;
}

.auth-form {
    width: 100%;
    max-width: 400px;
}

.auth-form h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.form-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.forgot-link {
    font-size: 13px;
    color: var(--gold);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .form-input {
    padding-right: 44px;
}

.input-icon-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-icon-btn:hover {
    color: var(--text-secondary);
}

/* --- Divider Row --- */
.divider-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.divider-row::before,
.divider-row::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.divider-row span {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Social Buttons --- */
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* --- Auth Switch Link --- */
.auth-switch {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.auth-switch a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
}

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

/* --- Alert --- */
.alert {
    padding: 12px 16px;
    font-size: 14px;
}

.alert-error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #FCA5A5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86EFAC;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .auth-visual {
        display: none;
    }
    .auth-form-area {
        width: 100%;
        padding: 40px 32px;
    }
}

@media (max-width: 768px) {
    .auth-form-area {
        padding: 32px 20px;
    }
    .auth-form {
        max-width: 100%;
    }
    .auth-form h3 {
        font-size: 28px;
    }
    .form-subtitle {
        font-size: 14px;
    }
    .auth-form .flex.gap-12 {
        flex-direction: column;
        gap: 12px;
    }
    .btn-social {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .auth-form-area {
        padding: 24px 16px;
    }
    .auth-form h3 {
        font-size: 24px;
    }
    .auth-form .flex.gap-16 {
        flex-direction: column;
    }
}
