/* ══════════════════════════════════════════════════════════════════
   Auth screens — shared by the developer dashboard and advertiser portal.

   Split layout: the form on the left, and on the right the product doing the
   one thing it does. That panel is not decoration and not a stock
   illustration — it is the same status-bar mock as the landing page, showing
   the actual billing rule counting to ten seconds.

   A sign-in page is usually the last thing someone sees before deciding
   whether to trust you with an account. Showing them the product beats
   showing them an abstract vector of a person holding a giant key.
   ══════════════════════════════════════════════════════════════════ */

.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  position: relative;
  z-index: 1;
}
@media (max-width: 940px) {
  .auth { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}

.auth-form {
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--s7) var(--s6);
  max-width: 520px; width: 100%; margin: 0 auto;
}
.auth-brand { display: flex; align-items: center; gap: 9px; font-weight: 640; font-size: 17px; letter-spacing: -.028em; margin-bottom: var(--s7); }
.auth-brand .mk {
  width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, #7b8dff, #4f5fe0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 2px 8px -2px rgba(109,129,255,.6);
}
.auth-brand .mk svg { width: 13px; height: 13px; }
.auth-brand .deva { color: var(--ink-4); font-weight: 400; font-size: 14px; letter-spacing: 0; }

.auth h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.032em; font-weight: 660; margin: 0 0 var(--s2); }
.auth .sub { color: var(--ink-2); font-size: 15px; margin: 0 0 var(--s6); }

.auth .field { margin-bottom: var(--s4); }
.auth label { display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 7px; font-weight: 500; }
.auth input {
  width: 100%; height: 46px; padding: 0 var(--s4);
  border-radius: var(--r-md); font: inherit; font-size: 15px;
  color: var(--ink);
  background: rgba(0,0,0,.3);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.4);
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.auth input::placeholder { color: var(--ink-4); }
.auth input:focus {
  outline: 0;
  border-color: var(--accent-line);
  background: rgba(0,0,0,.2);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.3), 0 0 0 4px rgba(109,129,255,.12);
}

.auth .btn { width: 100%; height: 46px; }

/* Google's mark must keep its own colours; recolouring it to match a theme is
   a brand-guideline violation and reads as a phishing page. */
.btn-google { background: #fff; color: #1f1f1f; border-color: #fff; box-shadow: var(--shadow-2); }
.btn-google:hover { background: #f1f3f6; border-color: #f1f3f6; }
.btn-google svg { width: 17px; height: 17px; }

.auth .divider { display: flex; align-items: center; gap: var(--s3); margin: var(--s5) 0; color: var(--ink-4); font-size: 12px; }
.auth .divider::before, .auth .divider::after { content: ""; flex: 1; height: 1px; background: var(--edge); }

.auth .alt { display: flex; justify-content: space-between; gap: var(--s3); margin-top: var(--s4); flex-wrap: wrap; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--ink-3); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--accent); }

.auth .foot { margin-top: var(--s7); font-size: 12.5px; color: var(--ink-4); }
.auth .foot a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }

.auth .note { display: flex; gap: var(--s3); align-items: flex-start; margin-top: var(--s5); font-size: 12.5px; color: var(--ink-4); line-height: 1.6; }
.auth .note svg { width: 14px; height: 14px; flex: 0 0 14px; margin-top: 3px; color: var(--ink-3); }

/* ── the visual half ── */
.auth-visual {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--s7);
  border-left: 1px solid var(--edge);
  background:
    radial-gradient(600px 400px at 70% 20%, rgba(109,129,255,.10), transparent 62%),
    radial-gradient(500px 360px at 30% 85%, rgba(79,209,197,.07), transparent 64%);
  overflow: hidden;
}
.auth-visual .inner { max-width: 460px; width: 100%; }
.auth-visual .quote { font-size: 21px; line-height: 1.4; letter-spacing: -.022em; font-weight: 560; margin: 0 0 var(--s6); }
.auth-visual .quote span { color: var(--ink-3); font-weight: 400; }

.mock { overflow: hidden; }
.mock .chrome { display: flex; gap: 6px; padding: 10px var(--s3); border-bottom: 1px solid var(--edge); }
.mock .chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.09); }
.mock .body { padding: var(--s4); font-family: var(--fm); font-size: 12px; line-height: 1.95; color: var(--ink-4); }
.mock .verb { color: var(--accent); font-weight: 550; }
.mock .bar {
  display: flex; align-items: center; gap: var(--s3);
  padding: 9px var(--s3); border-top: 1px solid var(--edge);
  background: rgba(255,255,255,.02);
  font-family: var(--fm); font-size: 11px; color: var(--ink-4);
}
.mock .bar .slot { color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; }
.mock .bar .earn { margin-left: auto; color: var(--data); font-variant-numeric: tabular-nums; }
.mock .ring { width: 13px; height: 13px; flex: 0 0 13px; }
.mock .ring circle { fill: none; stroke-width: 2.2; }
.mock .ring .bg { stroke: rgba(255,255,255,.12); }
.mock .ring .fg {
  stroke: var(--accent); stroke-linecap: round;
  stroke-dasharray: 34.5; stroke-dashoffset: 34.5;
  transform: rotate(-90deg); transform-origin: 50% 50%;
  transition: stroke-dashoffset .2s linear;
}

.auth-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s5); }
.auth-fact { padding: var(--s4); }
.auth-fact .v { font-family: var(--fm); font-size: 19px; font-weight: 600; color: var(--data); letter-spacing: -.02em; }
.auth-fact .k { font-family: var(--fm); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin-top: 5px; }
