/* ===== AIdemica — Login/Register ===== */
body { min-height: 100vh; display: flex; background: linear-gradient(135deg, #0F3D2E 0%, #0A2A20 50%, #051512 100%); }
.left-panel {
    flex: 1; display: flex; flex-direction: column; justify-content: center;
    padding: 55px; color: #fff;
}
.left-panel .logo { font-size: 24px; margin-bottom: 35px; color: #fff; }
.left-panel .logo .logo-mascot { width: 44px; height: 44px; background: rgba(255,255,255,0.12); border-radius: 10px; padding: 4px; filter: none; }
.left-panel h1 { color: #fff; }
.left-panel h1 { font-size: 34px; margin-bottom: 12px; line-height: 1.2; }
.left-panel p { font-size: 15px; opacity: 0.8; margin-bottom: 28px; max-width: 380px; }
.features-list { list-style: none; min-height: 150px; }
.features-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 12px; opacity: 0.85; min-height: 22px; }
.features-list li i { color: var(--accent); font-size: 16px; width: 22px; }
.right-panel {
    width: 460px;
    background: var(--cream);
    background-image: radial-gradient(circle at 1px 1px, rgba(15,61,46,0.06) 1px, transparent 0);
    background-size: 24px 24px;
    display: flex; align-items: center; justify-content: center; padding: 55px;
    position: relative;
}
.auth-box {
    width: 100%; background: #fff; border-radius: 18px;
    padding: 36px 32px; box-shadow: 0 24px 60px rgba(15,61,46,0.08);
    border: 1px solid var(--border);
    /* Reserve height so async i18n form-label changes don't shift card. */
    min-height: 380px;
}
.tabs-auth { display: flex; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.tab-auth {
    flex: 1; text-align: center; padding: 12px;
    font-weight: 600; font-size: 14px; cursor: pointer;
    color: var(--text-light); border-bottom: 2px solid transparent;
    margin-bottom: -1px; transition: var(--transition);
    font-family: 'Manrope', sans-serif;
}
.tab-auth.active { color: var(--primary); border-color: var(--primary); }
.tab-auth:not(.active):hover { color: var(--text); }
.auth-form { display: none; }
.auth-form.active { display: block; }
/* Override generic btn-primary look here so login CTA matches landing */
.right-panel .btn,
.right-panel button[type="submit"] {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; border: none; padding: 13px 22px; border-radius: var(--radius);
    font-weight: 700; font-size: 14px; cursor: pointer; width: 100%;
    transition: var(--transition); font-family: inherit;
    box-shadow: 0 4px 14px rgba(15,61,46,0.25);
}
.right-panel .btn:hover, .right-panel button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15,61,46,0.35);
}
.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--text-light); font-size: 12px; font-family: 'JetBrains Mono', monospace; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn-google {
    width: 100%; background: #fff; border: 1.5px solid var(--border); color: var(--text);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px; border-radius: var(--radius); font-size: 14px; font-weight: 600;
    cursor: pointer; font-family: inherit; transition: var(--transition);
}
.btn-google:hover { background: var(--bg); border-color: var(--primary); }
.btn-google img { width: 18px; }
.right-panel .form-group input { background: var(--bg); border-color: transparent; }
.right-panel .form-group input:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,61,46,0.1); }
@media (max-width: 900px) { .left-panel { display: none; } .right-panel { width: 100%; } }

/* Hero illustration on the right side of the left panel (next to text) */
.left-panel-hero {
    grid-column: 2; grid-row: 1 / -1;
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
    justify-self: center;
}
