/* AUTH_V2. Yalnızca .auth-v2 ve body.auth-v2-body. Diğer sayfalara yazılmaz. */
body.auth-v2-body {
  background: #F6F8FC;
  color: #1F2328;
}
body.auth-v2-body main.auth-v2-main {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.auth-v2 {
  --av-bg: #F6F8FC;
  --av-ink: #1F2328;
  --av-blue: #2342FF;
  --av-yellow: #FFE14D;
  --av-line: #CBD3E3;
  --av-soft: #E9EEF8;
  --av-card: #ffffff;
  --av-ok: #12A150;
  --av-err: #E5484D;
  --av-err-text: #B3232A;
  --av-err-bg: #FDE3E4;
  --av-muted: rgba(31, 35, 40, 0.7);
  min-height: 100vh;
  background: var(--av-bg);
  color: var(--av-ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
  box-sizing: border-box;
}
.auth-v2 *,
.auth-v2 *::before,
.auth-v2 *::after { box-sizing: border-box; }
.auth-v2::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  background: repeating-linear-gradient(to bottom, #1F2328 0 9px, transparent 9px 25px);
  pointer-events: none;
  z-index: 40;
}

.auth-v2-top {
  display: flex;
  align-items: center;
  gap: 16px 28px;
  min-height: 76px;
  padding: 14px 28px 14px 36px;
  flex-wrap: wrap;
}
.auth-v2-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--av-ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  min-height: 44px;
}
.auth-v2-logo-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--av-ink);
  flex: 0 0 auto;
}
.auth-v2-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  flex: 1 1 280px;
}
.auth-v2-menu a {
  color: var(--av-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.auth-v2-menu a:hover { color: var(--av-blue); }
.auth-v2-top-action {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--av-ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.auth-v2-top-link {
  margin-left: auto;
  color: var(--av-ink);
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.auth-v2-theme {
  min-height: 44px;
  min-width: 44px;
  border: 2px solid var(--av-ink);
  background: transparent;
  color: var(--av-ink);
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.auth-v2-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 40px;
  align-items: start;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 12px 0 72px;
}
.auth-v2-split--register {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 560px);
  width: min(1160px, calc(100% - 48px));
}
.auth-v2-aside { padding-top: 12px; }
.auth-v2-register-aside { position: sticky; top: 20px; }
.auth-v2-title {
  margin: 0;
  font-size: 72px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.auth-v2-lede {
  margin: 18px 0 0;
  font-size: 20px;
  line-height: 1.35;
  max-width: 28ch;
}
.auth-v2-deco {
  margin-top: 28px;
  background: var(--av-card);
  border: 2px solid var(--av-ink);
  border-radius: 8px;
  padding: 18px 18px 16px;
  transform: rotate(-1.5deg);
  box-shadow: 8px 8px 0 var(--av-soft);
  max-width: 360px;
}
.auth-v2-deco-label {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.auth-v2-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.auth-v2-dots i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--av-ink);
  display: block;
}
.auth-v2-dots i.is-on { background: var(--av-ink); }
.auth-v2-deco p { margin: 0; font-size: 16px; line-height: 1.4; }

.auth-v2-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.auth-v2-steps li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.auth-v2-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--av-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: 0 0 auto;
}
.auth-v2-num.is-on { background: var(--av-ink); color: #fff; }
.auth-v2-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 28px;
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 14px;
}

.auth-v2-card {
  background: var(--av-card);
  border: 2px solid var(--av-ink);
  border-radius: 8px;
  box-shadow: 12px 12px 0 var(--av-yellow);
  padding: 36px;
  width: 100%;
}
.auth-v2-card h2 {
  margin: 0 0 22px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.auth-v2-alert,
.auth-v2-msg--error {
  background: var(--av-err-bg);
  color: var(--av-err-text);
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 16px;
}
.auth-v2-msg--ok {
  background: #E5F6EC;
  color: var(--av-ok);
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 700;
  margin: 0 0 16px;
}
.auth-v2-msg--info {
  background: var(--av-soft);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 16px;
}
.auth-v2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-v2-field { margin: 0 0 16px; }
.auth-v2-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.auth-v2-label a { color: var(--av-blue); font-size: 14px; font-weight: 700; }
.auth-v2-opt { font-weight: 400; opacity: 0.7; }
.auth-v2-input,
.auth-v2 input.login-input {
  width: 100%;
  height: 54px;
  border: 2px solid var(--av-ink);
  border-radius: 12px;
  background: #fff;
  color: var(--av-ink);
  font: inherit;
  font-size: 17px;
  padding: 0 14px;
}
.auth-v2-pass { position: relative; }
.auth-v2-pass .auth-v2-input { padding-right: 92px; }
.auth-v2-reveal {
  position: absolute;
  right: 6px;
  top: 5px;
  height: 44px;
  min-width: 72px;
  border: 0;
  background: transparent;
  color: var(--av-blue);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.auth-v2-help {
  margin: 8px 0 0;
  font-size: 14px;
  opacity: 0.7;
}
.auth-v2 .form-error .auth-v2-input,
.auth-v2 .form-error input {
  border-color: var(--av-err);
}
.auth-v2 .form-error-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--av-err-text);
  background: var(--av-err-bg);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 700;
}
.auth-v2 .form-error-message::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='%23B3232A' stroke-width='1.6'/%3E%3Cpath d='M8 4.2v4.4M8 11.2h.01' stroke='%23B3232A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.auth-v2 #email-typo-hint {
  margin: 8px 0 0;
  background: var(--av-yellow);
  color: var(--av-ink);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  opacity: 1;
}
.auth-v2 #email-typo-hint[hidden] { display: none; }
.auth-v2 #email-typo-fix {
  margin-left: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 2px solid var(--av-ink);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.auth-v2-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.auth-v2-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--av-line);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.auth-v2-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.auth-v2-pill:has(input:checked) {
  background: var(--av-ink);
  color: #fff;
  border-color: var(--av-ink);
}
.auth-v2-pill:has(input:focus-visible) { outline: 3px solid var(--av-blue); outline-offset: 2px; }
.auth-v2-tick { display: none; width: 14px; height: 14px; }
.auth-v2-pill:has(input:checked) .auth-v2-tick { display: inline-block; }
.auth-v2-kvkk { margin: 8px 0 18px; }
.auth-v2-kvkk label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.45;
}
.auth-v2-kvkk input {
  appearance: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  flex: 0 0 24px;
  border: 2px solid var(--av-ink);
  border-radius: 6px;
  background: #fff;
}
.auth-v2-kvkk input:checked {
  background: var(--av-ink) center / 14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.2 L6.4 11.5 L13 4.5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.auth-v2-kvkk a { color: var(--av-blue); }
.auth-v2-btn {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 14px;
  background: var(--av-blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
}
.auth-v2-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.auth-v2-btn:focus-visible,
.auth-v2-input:focus-visible,
.auth-v2-top-action:focus-visible,
.auth-v2-logo:focus-visible,
.auth-v2-menu a:focus-visible,
.auth-v2-reveal:focus-visible,
.auth-v2-theme:focus-visible {
  outline: 3px solid var(--av-blue);
  outline-offset: 2px;
}
.auth-v2-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px dashed var(--av-line);
  font-size: 15px;
}
.auth-v2-foot a { color: var(--av-blue); font-weight: 700; }

.auth-v2-pending {
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0 72px;
  text-align: center;
}
.auth-v2-mail {
  width: 84px;
  height: 72px;
  margin: 0 auto 18px;
  display: block;
}
.auth-v2-pending h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.auth-v2-pending-lede { font-size: 18px; margin: 14px 0 22px; }
.auth-v2-pending-card { text-align: left; }
.auth-v2-pending-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.auth-v2-pending-steps li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.auth-v2-resend { margin-top: 18px; padding-top: 16px; border-top: 2px dashed var(--av-line); }
.auth-v2-mono {
  margin: 10px 0 0;
  text-align: center;
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 13px;
}
.auth-v2-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 18px;
  color: var(--av-ink);
  font-weight: 700;
}

@media (max-width: 900px) {
  .auth-v2::before { width: 8px; }
  .auth-v2-top { padding: 12px 16px 12px 22px; }
  .auth-v2-split,
  .auth-v2-split--register {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 560px);
    padding-bottom: 48px;
  }
  .auth-v2-login-aside .auth-v2-deco { display: none; }
  .auth-v2-steps,
  .auth-v2-stats { display: none; }
  .auth-v2-register-aside { position: static; }
  .auth-v2-title { font-size: 42px; }
  .auth-v2-card { padding: 24px 20px; box-shadow: 8px 8px 0 var(--av-yellow); }
  .auth-v2-row { grid-template-columns: 1fr; }
  .auth-v2-pending h1 { font-size: 42px; }
}

html[data-theme="dark"] body.auth-v2-body { background: #12141A; color: #F4F6FB; }
html[data-theme="dark"] .auth-v2 {
  --av-bg: #12141A;
  --av-ink: #F4F6FB;
  --av-line: #3A4254;
  --av-soft: #232838;
  --av-card: #1C212B;
  --av-muted: rgba(244, 246, 251, 0.7);
}
html[data-theme="dark"] .auth-v2::before {
  background: repeating-linear-gradient(to bottom, #F4F6FB 0 9px, transparent 9px 25px);
}
html[data-theme="dark"] .auth-v2-input,
html[data-theme="dark"] .auth-v2 input.login-input,
html[data-theme="dark"] .auth-v2-pill,
html[data-theme="dark"] .auth-v2 #email-typo-fix {
  background: #12141A;
  color: #F4F6FB;
}
html[data-theme="dark"] .auth-v2-pill:has(input:checked) { background: #F4F6FB; color: #12141A; }
html[data-theme="dark"] .auth-v2-top-action { background: #F4F6FB; color: #12141A; }
html[data-theme="dark"] .auth-v2-msg--ok { background: #143224; color: #7DDAA4; }
html[data-theme="dark"] .auth-v2-logo-mark { background: #F4F6FB; }
html[data-theme="dark"] .auth-v2-num.is-on { background: #F4F6FB; color: #12141A; }
html[data-theme="dark"] .auth-v2-dots i.is-on { background: #F4F6FB; }
