/* ═══════════════════════════════════════
   Healtho.ai — Auth Page Styles
   Split-screen: Branding left, Form right
   ═══════════════════════════════════════ */

.auth-page {
    display: flex;
    min-height: 100vh;
    padding-top: 60px;
}

/* ━━━ LEFT PANEL — Branding ━━━ */
.auth-left {
    flex: 0 0 42%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.auth-left::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 250px; height: 250px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.auth-left-content {
    color: #fff;
    position: relative;
    z-index: 1;
    max-width: 380px;
}

.auth-left-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.auth-left-content h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
}

.auth-left-content p {
    font-size: 16px;
    opacity: 0.85;
    line-height: 1.8;
    margin-bottom: 32px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

.auth-feat span {
    font-size: 20px;
    flex-shrink: 0;
}

/* ━━━ RIGHT PANEL — Form ━━━ */
.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--bg-soft);
}

.auth-card {
    width: 100%;
    max-width: 440px;
}

.auth-header {
    margin-bottom: 28px;
}

.auth-header h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}

.auth-header p {
    font-size: 14px;
    color: var(--text-2);
}

/* Form extras */
.form-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-link {
    font-size: 12px;
    color: var(--blue);
    font-weight: 500;
}

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

.input-password {
    position: relative;
}

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

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-3);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: var(--ease);
}

.password-toggle:hover {
    color: var(--text-1);
}

/* Password strength */
.password-strength {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.strength-bar {
    height: 3px;
    flex: 1;
    border-radius: 2px;
    background: var(--border);
    transition: var(--ease);
}

.strength-bar.weak { background: var(--red); }
.strength-bar.medium { background: var(--yellow); }
.strength-bar.strong { background: var(--green-s); }

/* Checkbox */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--blue);
    flex-shrink: 0;
}

.form-check label {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
}

.form-check a {
    color: var(--blue);
    font-weight: 500;
}

.form-check a:hover {
    text-decoration: underline;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

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

.auth-divider span {
    font-size: 12px;
    color: var(--text-3);
    white-space: nowrap;
}

/* Google button */
.btn-google {
    gap: 10px;
    font-weight: 500;
}

.btn-google:hover {
    border-color: #4285F4;
    color: #4285F4;
}

/* Switch text */
.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-2);
}

.auth-switch a {
    color: var(--blue);
    font-weight: 600;
}

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

/* Form row (side by side) */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* ━━━ RESPONSIVE ━━━ */
@media (max-width: 900px) {
    .auth-left {
        display: none;
    }
    .auth-right {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .auth-header h1 {
        font-size: 22px;
    }
    .auth-card {
        max-width: 100%;
    }
}

/* ━━━ Language Toggle ━━━ */
.lang-toggle{background:none;border:1.5px solid rgba(255,255,255,.3);border-radius:8px;padding:6px 14px;font-family:var(--font);font-size:13px;font-weight:600;color:rgba(255,255,255,.8);cursor:pointer;transition:.3s ease;letter-spacing:.5px}
.lang-toggle:hover{border-color:rgba(255,255,255,.6);color:#fff;background:rgba(255,255,255,.1)}
