/* akaturk sign-in / register / verify, v2 (2026-09-28).
   Two-column card: dark brand panel (context-aware headline) + form.
   Stacks under 880 px; the brand panel shrinks to a short header on phones. */
.aka-auth2 {
  --a2-accent: #c1121f;
  --a2-accent-2: #a50f1b;
  --a2-ink: #16181d;
  --a2-ink-2: #30343c;
  --a2-muted: #6b707b;
  --a2-line: #e4dfe0;
  --a2-soft: #fdf0f1;
  --a2-bg: #f6f5f5;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(193, 18, 31, 0.07), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(22, 24, 29, 0.05), transparent 60%),
    var(--a2-bg);
  padding: clamp(1.25rem, 4vw, 3.5rem) 16px;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.aka-auth2__shell {
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--a2-line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(22, 24, 29, 0.04), 0 24px 60px -24px rgba(22, 24, 29, 0.18);
}

/* brand panel */
.aka-auth2__side {
  position: relative;
  isolation: isolate;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  color: #f3f4f6;
  background:
    radial-gradient(520px 320px at 110% 0%, rgba(255, 77, 90, 0.35), transparent 65%),
    radial-gradient(460px 300px at -20% 105%, rgba(193, 18, 31, 0.35), transparent 60%),
    linear-gradient(160deg, #1b1e25 0%, #111318 100%);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.aka-auth2__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.09;
  background-image:
    linear-gradient(#fff 1px, transparent 1px),
    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.aka-auth2__brand { display: inline-flex; align-self: flex-start; margin-bottom: 1.25rem; }
.aka-auth2__brand img { display: block; height: 36px; width: auto; }
.aka-auth2__kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8a93;
}
.aka-auth2__h {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
.aka-auth2__lead { margin: 0; color: #c4c8d0; font-size: 0.97rem; line-height: 1.6; max-width: 34ch; }
.aka-auth2__list { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.aka-auth2__list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.92rem; line-height: 1.5; color: #e5e7eb; }
.aka-auth2__ico {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.aka-auth2__ico svg { width: 17px; height: 17px; fill: none; stroke: #ff8a93; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aka-auth2__stat {
  margin: auto 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aeb3bd;
  font-size: 0.88rem;
}
.aka-auth2__stat strong { color: #fff; font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; margin-right: 0.2rem; }

/* form side */
.aka-auth2__main { padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem); display: flex; flex-direction: column; }
.aka-auth2__title { margin: 0; font-size: clamp(1.6rem, 2.4vw, 1.95rem); font-weight: 800; letter-spacing: -0.02em; color: var(--a2-ink); }
.aka-auth2__sub { margin: 0.35rem 0 1.35rem; color: var(--a2-muted); font-size: 0.97rem; }
.aka-auth2__flash { margin: 0 0 1rem; padding: 0.7rem 0.9rem; border-radius: 12px; font-size: 0.9rem; font-weight: 600; }
.aka-auth2__flash--err { background: #fdeceb; color: #9f1d17; border: 1px solid #f5c8c4; }
.aka-auth2__flash--ok { background: #e9f6ef; color: #17613f; border: 1px solid #bfe3cf; }
.aka-auth2__notice { display: flex; gap: 0.6rem; margin: 0 0 1.1rem; padding: 0.75rem 0.9rem; border-radius: 12px; background: var(--a2-soft); border: 1px solid #f3cdd1; }
.aka-auth2__notice svg { flex: none; width: 18px; height: 18px; margin-top: 0.1rem; fill: none; stroke: var(--a2-accent); stroke-width: 1.8; stroke-linecap: round; }
.aka-auth2__notice p { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--a2-ink-2); }

.aka-auth2__form { display: grid; gap: 1rem; }
.aka-auth2__field { display: grid; gap: 0.4rem; margin: 0; }
.aka-auth2__label { font-size: 0.84rem; font-weight: 650; color: var(--a2-ink-2); }
.aka-auth2__control { position: relative; display: block; }
.aka-auth2__fico {
  position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; fill: none; stroke: #9aa0aa; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  pointer-events: none;
}
.aka-auth2 input[type="email"],
.aka-auth2 input[type="password"],
.aka-auth2 input[type="text"] {
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  border: 1px solid var(--a2-line);
  border-radius: 12px;
  background: #fff;
  padding: 0 0.9rem;
  font: 500 0.98rem/1 Inter, system-ui, sans-serif;
  color: var(--a2-ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.aka-auth2__control input { padding-left: 2.6rem !important; }
.aka-auth2__control input[data-aka-pw] { padding-right: 3rem !important; }
.aka-auth2 input::placeholder { color: #b3b7bf; font-weight: 400; }
.aka-auth2 input:hover { border-color: #d3cccd; }
.aka-auth2 input:focus { outline: none; border-color: var(--a2-accent); box-shadow: 0 0 0 4px rgba(193, 18, 31, 0.12); }
.aka-auth2__control:focus-within .aka-auth2__fico { stroke: var(--a2-accent); }
.aka-auth2__eye {
  position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  display: grid; place-items: center; color: #8a8f99;
}
.aka-auth2__eye:hover { background: #f4f2f2; color: var(--a2-ink); }
.aka-auth2__eye:focus-visible { outline: 2px solid var(--a2-accent); outline-offset: 1px; }
.aka-auth2__eye svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aka-auth2__eye.is-on { color: var(--a2-accent); }

.aka-auth2__captcha { display: flex; align-items: center; gap: 0.6rem; }
.aka-auth2__q {
  flex: none;
  height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  border-radius: 12px;
  background: #f4f2f2;
  border: 1px dashed #d8d1d2;
  font: 700 1.05rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace;
  color: var(--a2-ink);
  letter-spacing: 0.04em;
  user-select: none;
}
.aka-auth2__captcha input { max-width: 7rem; text-align: center; font-weight: 700 !important; }
.aka-auth2__hint { margin: 0; font-size: 0.78rem; color: var(--a2-muted); }
.aka-auth2__code { text-align: center; letter-spacing: 0.5em; font-weight: 700 !important; font-size: 1.3rem !important; }

.aka-auth2__submit {
  margin-top: 0.35rem;
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #d0192a 0%, var(--a2-accent) 100%);
  color: #fff;
  font: 700 1rem/1 Inter, system-ui, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 8px 20px -8px rgba(193, 18, 31, 0.6);
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
}
.aka-auth2__submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s; }
.aka-auth2__submit:hover { background: linear-gradient(180deg, #c1121f 0%, var(--a2-accent-2) 100%); }
.aka-auth2__submit:hover svg { transform: translateX(3px); }
.aka-auth2__submit:active { transform: translateY(1px); }
.aka-auth2__submit:focus-visible { outline: 3px solid rgba(193, 18, 31, 0.35); outline-offset: 2px; }
.aka-auth2__submit.is-busy { opacity: 0.75; cursor: progress; }

.aka-auth2__or { display: flex; align-items: center; gap: 0.75rem; margin: 1.5rem 0 0.9rem; color: var(--a2-muted); font-size: 0.85rem; }
.aka-auth2__or::before, .aka-auth2__or::after { content: ""; flex: 1; height: 1px; background: var(--a2-line); }
.aka-auth2__alt {
  display: flex; align-items: center; justify-content: center;
  height: 46px; border-radius: 12px; border: 1px solid var(--a2-line);
  font-weight: 700; color: var(--a2-ink); text-decoration: none; background: #fff;
  transition: border-color 0.15s, background 0.15s;
}
.aka-auth2__alt:hover { border-color: #f3cdd1; background: var(--a2-soft); color: var(--a2-accent); text-decoration: none; }
.aka-auth2__fine { display: flex; gap: 0.45rem; align-items: flex-start; margin: 1.25rem 0 0; font-size: 0.78rem; line-height: 1.5; color: var(--a2-muted); }
.aka-auth2__fine svg { flex: none; width: 15px; height: 15px; margin-top: 0.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.aka-auth2__fine a, .aka-auth2__links a { color: var(--a2-accent); font-weight: 600; }
.aka-auth2__resend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 1rem 0 0; font-size: 0.88rem; color: var(--a2-muted); }
.aka-auth2__linkbtn { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--a2-accent); cursor: pointer; }
.aka-auth2__linkbtn:hover { text-decoration: underline; }
.aka-auth2__links { margin: 1rem 0 0; font-size: 0.88rem; display: flex; gap: 0.5rem; }

@media (max-width: 880px) {
  .aka-auth2__shell { grid-template-columns: 1fr; max-width: 560px; }
  .aka-auth2__side { gap: 0.6rem; }
  .aka-auth2__brand { margin-bottom: 0.5rem; }
  .aka-auth2__list { grid-template-columns: 1fr; }
  .aka-auth2__stat { padding-top: 1rem; margin-top: 0.5rem; }
}
@media (max-width: 560px) {
  .aka-auth2 { padding: 0.75rem 12px 2rem; }
  .aka-auth2__shell { border-radius: 18px; }
  .aka-auth2__list, .aka-auth2__stat { display: none; }
  .aka-auth2__h { font-size: 1.3rem; }
  .aka-auth2__lead { font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .aka-auth2 * { transition: none !important; }
}
