/* Auth flow (sign in / register / forgot / reset / 2fa / invite), rebuilt on
   the same token system as public-next.css and panel-next.css. Scoped to
   body.ta-auth so it doesn't leak into pages still on ui-kit.css. */

body.ta-auth {
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --surface-2: #F4F5F7;
  --border: #EDF0F3;
  --border-strong: #E3E6EA;
  --text: #172033;
  --text-2: #59616D;
  --text-3: #858C96;
  --text-4: #A0A6AE;
  --accent: #E65335;
  --accent-hover: #D9472C;
  --accent-soft: rgba(230, 83, 53, .22);
  --badge-blue-bg: #E9EDF4;
  --badge-blue-fg: #55647A;
  --badge-red-bg: #F4D7D0;
  --badge-red-fg: #C84A31;
  --shadow-card: 0 4px 20px rgba(23, 32, 51, .035);
}

body.ta-auth * { box-sizing: border-box; }
body.ta-auth {
  margin: 0;
  background: var(--bg, #F4F5F7);
  color: var(--text, #172033);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.ta-auth a { color: var(--accent, #E65335); text-decoration: none; }
body.ta-auth a:hover { color: var(--accent-hover, #D9472C); }
body.ta-auth input { font-family: inherit; }
body.ta-auth input::placeholder { color: var(--text-4, #A0A6AE); }
body.ta-auth input:focus { border-color: var(--accent, #E65335); }

body.ta-auth .ta-shell {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
  background: var(--bg, #F4F5F7);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text, #172033);
}

body.ta-auth .hidden { display: none !important; }

body.ta-auth .ta-aside { display: none; }
@media (min-width: 1024px) {
  body.ta-auth .ta-aside {
    display: flex;
    flex: 0 0 46%;
    max-width: 620px;
  }
  body.ta-auth .ta-mobile-brand { display: none !important; }
}

body.ta-auth .ta-btn {
  height: 46px;
  width: 100%;
  border: none;
  border-radius: 23px;
  background: var(--accent, #E65335);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.ta-auth .ta-btn:hover { background: var(--accent-hover, #D9472C); }

body.ta-auth .ta-btn-secondary {
  height: 44px;
  width: 100%;
  border: 1px solid var(--border-strong, #E0E3E7);
  border-radius: 22px;
  background: var(--surface, #FFFFFF);
  color: var(--text, #303846);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
body.ta-auth .ta-btn-secondary:hover { background: var(--surface-2, #F4F5F7); }

body.ta-auth .ta-input {
  height: 44px;
  width: 100%;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong, #E3E6EA);
  background: var(--surface, #FFFFFF);
  font-size: 13px;
  color: var(--text, #172033);
  outline: none;
}

body.ta-auth .ta-link-plain {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
