/* Authentication styles are scoped to the hero to preserve the landing design. */
.hero-auth { text-align: left; width: 100%; max-width: 440px; justify-self: center; padding: 28px; background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; box-shadow: 0 20px 60px rgba(10,25,47,.12); scroll-margin-top: 100px; }
.hero-auth-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hero-auth .hero-auth-heading h2 { font-size: 1.15rem; color: #0a192f; margin: 0; }
.hero-auth .hero-auth-heading p { font-size: .8rem; color: #64748b; margin: 3px 0 0; line-height: 1.5; }
.hero-auth .auth-tabs { display: flex; border: 1px solid #e2e8f0; border-radius: 10px; padding: 4px; margin-bottom: 20px; }
.hero-auth .auth-tab { flex: 1; border: 0; background: transparent; border-radius: 7px; padding: 10px 5px; font: 600 .85rem Inter, sans-serif; color: #64748b; cursor: pointer; }
.hero-auth .auth-tab.active { color: #fff; background: #2563eb; }
.hero-auth .auth-content-subtitle { margin: 0 0 3px; color: #334155; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.hero-auth .auth-form { display: flex; flex-direction: column; gap: 13px; }
.hero-auth .hidden { display: none !important; }
.hero-auth .input-group { display: flex; flex-direction: column; gap: 5px; }
.hero-auth .input-group label { color: #334155; font-size: .8rem; font-weight: 500; }
.hero-auth .input { width: 100%; border: 1.5px solid #e2e8f0; border-radius: 8px; padding: 11px 12px; background: #fff; color: #0f172a; font: .875rem Inter, sans-serif; }
.hero-auth .input:focus { outline: 2px solid #93c5fd; outline-offset: 1px; border-color: #2563eb; }
.hero-auth .input::placeholder { color: #94a3b8; }
.hero-auth .password-wrap { position: relative; }
.hero-auth .password-wrap .input { padding-right: 44px; }
.hero-auth .password-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; padding: 5px; background: transparent; color: #64748b; cursor: pointer; }
.hero-auth .btn-primary { width: 100%; justify-content: center; padding: 12px; border: 0; border-radius: 10px; background: #2563eb; color: #fff; font: 600 .9rem Inter, sans-serif; cursor: pointer; }
.hero-auth .btn-primary:disabled { opacity: .75; cursor: wait; }
.hero-auth #register-status { margin: 0; padding: 10px; background: #eff6ff; color: #1e40af; border-radius: 8px; font-size: .8rem; line-height: 1.5; }
@keyframes register-spin { to { transform: rotate(360deg); } }
.hero-auth .register-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: register-spin .8s linear infinite; vertical-align: middle; }
@media (max-width: 1024px) { .hero-auth { max-width: 480px; } }
@media (max-width: 480px) { .hero-auth { padding: 20px; border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { .hero-auth .register-spinner { animation: none; } }

@media (max-width: 768px) { .hero-auth { order: -1; } }
