/* ==========================================================================
   Sign-in page: same quiet look as the app and the landing page. Loaded after the page's own <style>.
   ========================================================================== */
:root { --au-rule: rgba(240,140,0,.2); --au-muted: #b0b0b0;
  --surface-0: #1a1a1a; --surface-1: #0f0f0f; --surface-2: #2a2a2a; --surface-3: #333333;
  --text-primary: #ffffff; --text-secondary: #b0b0b0; --text-dim: #8a8a8a; --border: rgba(240,140,0,.2); }
[data-theme="light"] { --au-rule: rgba(240,140,0,.22); --au-muted: #666666;
  --surface-0: #f4f4f4; --surface-1: #ffffff; --surface-2: #ffffff; --surface-3: #eeeeee;
  --text-primary: #1a1a1a; --text-secondary: #666666; --text-dim: #888888; --border: rgba(240,140,0,.22); }
body { font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important; background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #1f1f1f 100%) !important; background-attachment: fixed; }
[data-theme="light"] body { background: linear-gradient(135deg, #eaeaea 0%, #f4f4f4 60%, #efefef 100%) !important; }

body::after, .bg-orb, .login-brand::before, .version-tag { display: none !important; }

.login-card { max-width: 920px; background: var(--surface-2); border: 1px solid var(--au-rule); border-radius: 14px; box-shadow: none; animation: none; }
.login-brand { background: linear-gradient(135deg, rgba(240,140,0,.15), rgba(255,167,38,.06)); border-right: 1px solid var(--au-rule); align-items: flex-start; text-align: left; padding: 3rem 2.5rem; }
.brand-logo-wrap { background: transparent; border: 1px solid var(--au-rule); box-shadow: none; border-radius: 12px; width: 64px; height: 64px; margin-bottom: 1.25rem; }
.brand-logo-wrap img { width: 36px; height: auto; }
.brand-title { font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-weight: 700; font-size: 1.9rem; letter-spacing: -.01em; margin-bottom: .5rem; }
.brand-tagline { color: var(--au-muted); font-size: .98rem; line-height: 1.6; margin-bottom: 1.75rem; }
.brand-features { width: 100%; }
.brand-feature { background: transparent; border: 0; padding: .45rem 0; gap: .75rem; color: var(--au-muted); font-size: .92rem; }
.brand-feature i { background: transparent; border: 0; width: 18px; height: auto; color: var(--orange); box-shadow: none; }

.login-form-panel { padding: 3rem 2.75rem; }
.form-header h2 { font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-weight: 700; font-size: 1.7rem; letter-spacing: -.01em; }
.form-header p { color: var(--au-muted); }
.form-label { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 600; color: var(--text-primary); }
.input-wrap input { border: 1px solid var(--au-rule); border-radius: 8px; background: var(--surface-1); transition: border-color .15s, box-shadow .15s; }
.input-wrap input:focus { background: var(--surface-1); border-color: var(--orange); box-shadow: 0 0 0 2px rgba(240,140,0,.25); }
.btn-submit { text-transform: none; letter-spacing: 0; font-size: 1rem; box-shadow: none; border-radius: 8px; transition: background-color .15s; }
.btn-submit:hover { transform: none; box-shadow: none; background: var(--orange-light); }
.forgot-link, .back-link { font-weight: 500; }
.lang-switch, .theme-toggle { border-radius: 8px; box-shadow: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

@media (max-width: 767px) {
  .login-card { flex-direction: column; }
  .login-brand { width: 100%; border-right: 0; border-bottom: 1px solid var(--au-rule); padding: 1.75rem 1.5rem; }
  .brand-features { display: none; }
  .login-form-panel { padding: 2rem 1.5rem; width: 100%; }
}

button, input, select, textarea, .nav-links a, .btn-cta, .btn-price { font-family: inherit; }
