/* signin.css — Page-specific styles for the Sign In / Sign Up page.
   This page uses a completely different layout (split panel, no shared nav/footer). */

/* ── NAV (minimal) ── */
.auth-nav { display: flex; justify-content: space-between; align-items: center; padding: 18px 60px; position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.auth-nav .logo { text-decoration: none; }
.nav-back { font-size: 13px; color: var(--color-text-secondary); text-decoration: none; transition: color 0.15s; }
.nav-back:hover { color: var(--color-text-light); }

/* ── SPLIT LAYOUT ── */
.auth-container { display: flex; min-height: 100vh; }

/* ── LEFT BRAND PANEL ── */
.auth-brand { flex: 0 0 480px; background: var(--color-bg-primary); padding: 120px 60px 60px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--color-border-dark); }
.brand-eyebrow { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; margin-bottom: 24px; }
.brand-headline { font-size: 28px; font-weight: 700; color: var(--color-text-light); line-height: 1.35; margin-bottom: 16px; }
.brand-sub { font-size: 14px; color: var(--color-text-muted); line-height: 1.65; margin-bottom: 48px; max-width: 340px; }
.brand-features { display: flex; flex-direction: column; gap: 28px; }
.brand-feature { display: flex; gap: 16px; }
.bf-num { flex: 0 0 36px; height: 36px; background: rgba(200,16,46,0.12); display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; color: var(--color-accent); }
.bf-text h4 { font-size: 13px; font-weight: 700; color: var(--color-text-light); margin-bottom: 4px; }
.bf-text p { font-size: 12px; color: var(--color-text-muted); line-height: 1.55; }
.brand-trust { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--color-border-dark); }
.brand-trust p { font-size: 11px; color: var(--color-text-footer-dim); line-height: 1.6; }

/* ── RIGHT FORM PANEL ── */
.auth-form-panel { flex: 1; background: #FFFFFF; display: flex; align-items: center; justify-content: center; padding: 120px 60px 60px; }
.auth-form-wrapper { width: 100%; max-width: 400px; }

/* ── TABS ── */
.auth-tabs { display: flex; gap: 0; margin-bottom: 40px; border-bottom: 2px solid var(--color-border-light); }
.auth-tab { flex: 1; padding: 14px 0; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--color-text-dim); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.15s; background: none; border-top: none; border-left: none; border-right: none; font-family: 'Inter', sans-serif; }
.auth-tab:hover { color: var(--color-text-primary); }
.auth-tab.active { color: var(--color-text-primary); border-bottom-color: var(--color-accent); }

/* ── FORM ── */
.auth-form { display: none; }
.auth-form.active { display: block; }
.form-title { font-size: 22px; font-weight: 700; color: var(--color-text-primary); margin-bottom: 8px; }
.form-sub { font-size: 13px; color: var(--color-text-secondary); margin-bottom: 32px; line-height: 1.55; }

.field-group { margin-bottom: 20px; }
.field-group label { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--color-text-dim); margin-bottom: 8px; }
.field-group input { width: 100%; padding: 13px 16px; border: 1px solid var(--color-border-light); font-family: 'Inter', sans-serif; font-size: 14px; color: var(--color-text-primary); background: #FAFBFD; transition: border-color 0.15s; outline: none; }
.field-group input:focus { border-color: var(--color-accent); background: #FFFFFF; }
.field-group input::placeholder { color: #BCC5D3; }

.field-row { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 28px; }
.field-row a { font-size: 12px; color: var(--color-accent); text-decoration: none; font-weight: 500; transition: text-decoration 0.15s; }
.field-row a:hover { text-decoration: underline; }

.btn-auth { width: 100%; padding: 14px; background: var(--color-accent); color: var(--color-text-light); font-size: 14px; font-weight: 600; border: none; cursor: pointer; letter-spacing: 0.04em; transition: background 0.15s; font-family: 'Inter', sans-serif; }
.btn-auth:hover { background: #A80D25; }

.form-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; }
.form-divider .line { flex: 1; height: 1px; background: var(--color-border-light); }
.form-divider span { font-size: 11px; color: var(--color-text-dim); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }

.btn-google { width: 100%; padding: 13px; background: #FFFFFF; color: var(--color-text-primary); font-size: 13px; font-weight: 600; border: 1px solid var(--color-border-light); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: border-color 0.15s; font-family: 'Inter', sans-serif; }
.btn-google:hover { border-color: var(--color-text-primary); }
.btn-google svg { width: 18px; height: 18px; }

.form-footer { margin-top: 28px; text-align: center; }
.form-footer p { font-size: 12px; color: var(--color-text-dim); }
.form-footer a { color: var(--color-accent); text-decoration: none; font-weight: 600; }

.form-legal { margin-top: 24px; text-align: center; }
.form-legal p { font-size: 11px; color: #BCC5D3; line-height: 1.6; }
.form-legal a { color: var(--color-text-dim); text-decoration: none; }

.plan-badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--color-bg-pill); border: 1px solid var(--color-border-light); margin-bottom: 28px; }
.plan-badge .pb-dot { width: 8px; height: 8px; border-radius: 50%; background: #00C48C; }
.plan-badge .pb-text { font-size: 12px; color: var(--color-text-muted); font-weight: 500; }
.plan-badge .pb-free { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; color: #00C48C; }

/* ── PASSWORD STRENGTH (visual only) ── */
.pw-strength { display: flex; gap: 4px; margin-top: 8px; }
.pw-bar { height: 3px; flex: 1; background: var(--color-border-light); transition: background 0.15s; }

/* ── AUTH ERROR MESSAGE ── */
.auth-error { background: #FFF0F0; color: #C8102E; border: 1px solid #FCCECE; padding: 12px 16px; font-size: 13px; line-height: 1.5; margin-bottom: 20px; }
.auth-success { background: #EAFBF3; color: #00895A; border: 1px solid #B6EDD6; padding: 12px 16px; font-size: 13px; line-height: 1.5; margin-bottom: 20px; }

/* ── UTILITY ── */
.auth-spacer { margin-bottom: 28px; }
.btn-auth:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .auth-brand { display: none; }
  .auth-nav { background: var(--color-bg-primary); }
  .auth-form-panel { padding: 100px 40px 40px; }
}

@media (max-width: 768px) {
  .auth-nav { padding: 16px 24px; }
  .auth-form-panel { padding: 88px 24px 32px; }
  .auth-form-wrapper { max-width: 100%; }
  .form-title { font-size: 20px; }
  .auth-tabs { margin-bottom: 32px; }
  .btn-auth { padding: 13px; font-size: 13px; }
  .btn-google { padding: 12px; font-size: 12px; }
}
