:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #5b6070;
  --line: #dfe3ec;
  --canvas: #f4f5f7;
  --green: #1e9e6b;
  --green-dark: #146b49;
  --green-deep: #14213d;
  --green-2: #e2f5ec;
  --lime: #34d399;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* KÖK NEDEN ("üst kısımda kayma"): bu header'a app-shell.css/landing.css'teki safe-area-inset-top
   düzeltmesi hiç uygulanmamıştı — edge-to-edge (viewport-fit=cover) modda header durum çubuğunun
   ALTINA sıkışıyor, mobilde hemen altına gelen koyu .kv-circle (order:-1 ile üste alınan görsel)
   header'a bitişik/kaymış görünüyordu. Aynı 3 seviyeli safe-area zinciri (--safe-area-inset-top →
   env() → 0px) diğer sayfalarla tutarlı şekilde eklendi. */
.kayit-header { padding: 22px clamp(20px, 4vw, 48px); padding-top: calc(22px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))); }
.kayit-logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.kayit-logo img { width: 42px; height: 42px; }
.kayit-logo strong, .kayit-logo small { display: block; letter-spacing: -.02em; }
.kayit-logo strong { font-size: 19px; font-weight: 800; }
.kayit-logo small { margin-top: 1px; color: var(--muted); font-size: 9px; letter-spacing: .05em; }

.kayit-shell { display: grid; grid-template-columns: minmax(340px, 460px) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); max-width: 1180px; margin: 0 auto; padding: clamp(8px, 2vw, 26px) clamp(20px, 4vw, 48px) 60px; }

.kayit-left h1 { margin: 0 0 26px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; letter-spacing: -.03em; }
.kayit-left h1 em { color: var(--green); font-style: normal; }

.kayit-note { color: var(--muted); font-size: 13px; }
.kayit-info { padding: 18px; border: 1px solid #bcd6ca; border-radius: 13px; background: #eef8f2; font-size: 13.5px; line-height: 1.6; }
.kayit-info strong { display: block; margin-bottom: 4px; color: var(--green); }
.kayit-info p { margin: 0 0 16px; color: #405049; }

#kayit-form { display: grid; gap: 13px; }
#kayit-form input { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cad6cf; border-radius: 11px; outline: none; font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
#kayit-form input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(30, 158, 107, .14); }
#kayit-form input::placeholder { color: #93a39b; }

.kayit-phone { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: center; }
.kayit-phone > span { display: inline-flex; align-items: center; gap: 5px; min-height: 48px; padding: 0 13px; border: 1px solid #cad6cf; border-radius: 10px; color: #405049; font-size: 13px; font-weight: 650; white-space: nowrap; }

.kayit-password { position: relative; }
.kayit-password button { position: absolute; top: 50%; right: 9px; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 15px; cursor: pointer; }
.kayit-password button:hover { background: var(--green-2); }

.kayit-rules { display: grid; gap: 7px; margin: 2px 0 4px; padding: 0; list-style: none; }
.kayit-rules li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12.5px; }
.kayit-rules i { display: grid; place-items: center; flex: 0 0 auto; width: 17px; height: 17px; border: 1.5px solid #cad6cf; border-radius: 50%; }
.kayit-rules li.ok { color: var(--green); }
.kayit-rules li.ok i { border-color: var(--green); background: var(--green); }
.kayit-rules li.ok i::after { content: "✓"; color: #fff; font-size: 10px; font-weight: 900; }

.kayit-submit { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 4px; padding: 13px 20px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--green), #16855d); box-shadow: 0 12px 26px rgba(30, 158, 107, .28); font: inherit; font-size: 15px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.kayit-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(30, 158, 107, .34); }
.kayit-submit:disabled { background: #a8c8bc; cursor: not-allowed; }
.kayit-info .kayit-submit { width: auto; min-height: 44px; }

.kayit-alt { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.kayit-alt a { color: var(--green); font-weight: 750; text-decoration: none; }
.kayit-alt a:hover { text-decoration: underline; }
.kayit-link-button { padding: 0; border: 0; background: none; color: var(--green); font: inherit; font-weight: 750; font-size: 13px; text-decoration: none; cursor: pointer; }
.kayit-link-button:hover { text-decoration: underline; }
.kayit-link-button:disabled { color: var(--muted); cursor: not-allowed; text-decoration: none; }
.kayit-error { padding: 11px 13px; border-radius: 9px; color: #9d302c; background: #ffebe9; font-size: 12.5px; }
#kayit-verify-form { display: grid; gap: 13px; }
#kayit-verify-form input { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cad6cf; border-radius: 11px; outline: none; font: inherit; font-size: 22px; letter-spacing: .3em; text-align: center; transition: border-color .15s, box-shadow .15s; }
#kayit-verify-form input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(30, 158, 107, .14); }

/* ── Sağ görsel ───────────────────────────────────────────── */
.kayit-right { display: flex; align-items: center; justify-content: center; }
.kayit-visual { position: relative; width: min(520px, 100%); aspect-ratio: 1; }
.kv-circle { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 20% 12%, rgba(30,158,107, .3), transparent 38%), linear-gradient(150deg, var(--green-dark), var(--green-deep)); }
.kv-panel { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(330px, 82%); padding: 15px; border-radius: 15px; background: #fff; box-shadow: 0 26px 70px rgba(0, 0, 0, .3); }
.kv-head { display: flex; align-items: center; gap: 8px; padding-bottom: 11px; border-bottom: 1px solid var(--line); font-size: 13px; }
.kv-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(52,211,153, .25); }
.kv-row { display: flex; align-items: center; gap: 9px; padding: 11px 2px 3px; }
.kv-row span { display: grid; place-items: center; flex: 0 0 auto; width: 27px; height: 27px; border-radius: 8px; color: #fff; background: #25d366; font-size: 12px; font-weight: 800; }
.kv-row strong { display: block; font-size: 12px; }
.kv-row small { color: var(--muted); font-size: 10px; }
.kv-row em { margin-left: auto; padding: 4px 9px; border-radius: 99px; color: var(--green); background: var(--green-2); font-size: 10px; font-style: normal; font-weight: 750; white-space: nowrap; }
.kv-row em.ok { color: var(--muted); background: #eef3ef; }
.kv-chip { position: absolute; padding: 12px 20px; border-radius: 99px; color: #fff; background: #1c5a44; font-size: 15px; font-weight: 750; box-shadow: 0 14px 34px rgba(0, 0, 0, .22); }
.kv-chip-1 { top: 16%; left: -4%; }
.kv-chip-2 { bottom: 20%; left: -9%; }
.kv-badge { position: absolute; top: 8%; right: 4%; padding: 14px 18px; border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 14px 38px rgba(0, 0, 0, .18); }
.kv-badge strong { display: block; color: var(--green); font-size: 20px; letter-spacing: -.03em; }
.kv-badge span { color: var(--muted); font-size: 11px; }

@media (max-width: 900px) {
  .kayit-shell { grid-template-columns: 1fr; }
  .kayit-right { order: -1; }
  .kayit-visual { max-width: 340px; }
  .kv-chip-1 { left: 2%; }
  .kv-chip-2 { left: 0; }
}

/* FAZ M5.2 — ui-components.js showToast() bu sınıf sözleşmesine (.ui-toast/.toast, tone
   varyantları) yazıyor. design-system.css'i bütünüyle eklemek body/html genel kurallarıyla
   çakışıp sayfa arka planını/rengini değiştirirdi (--color-background/--color-text farklı) —
   bunun yerine yalnız bu sayfaya özgü, kayit.css'in KENDİ değişkenleriyle (--ink, --green) izole
   bir toast stili tanımlanır. */
.ui-toast,
.toast {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  display: flex;
  max-width: min(26rem, calc(100vw - 2rem));
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(20, 33, 61, .22);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.ui-toast.is-visible,
.toast.show { opacity: 1; transform: translateY(0); }
.ui-toast--success { background: var(--green); }
.ui-toast--danger,
.toast.error { background: #b13b36; }
.ui-toast--warning { background: #a66314; }
.ui-toast--info { background: #315d8b; }
@media (max-width: 480px) {
  .ui-toast,
  .toast { right: 12px; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: none; }
}
