/* CukoZ One — hosted auth UI. Ports the cukoz.com design tokens
   (see cukoz-design-notes.md): monochrome base + single orange accent,
   cz-notch corner-cut identity instead of pill/rounded buttons.
   Layout: split screen — form on paper (left), navy showcase panel (right). */

:root {
  --color-ink: #000000;
  --color-paper: #ffffff;
  --color-navy: #14202a;
  --color-navy-deep: #0d161d;
  --color-accent-50: #fff3ed;
  --color-accent-200: #ffc3a8;
  --color-accent-300: #fe9c71;
  --color-accent-400: #fd7c43;
  --color-accent-500: #fb6420;
  --color-accent-600: #ec4a0b;
  --color-accent-700: #c4360c;
  --color-neutral-100: #f5f5f5;
  --color-neutral-200: #e5e5e5;
  --color-neutral-400: #a3a3a3;
  --color-neutral-500: #737373;
  --color-neutral-600: #525252;
  --color-neutral-700: #404040;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--color-neutral-100);
  color: var(--color-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.cz-notch    { clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.cz-notch-sm { clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.cz-notch-lg { clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px); }

:focus-visible { outline: 2px solid var(--color-accent-500); outline-offset: 2px; }
::selection { background: var(--color-accent-500); color: #fff; }

/* ---------- Split shell ---------- */
.cz-auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 16px;
  gap: 16px;
}
@media (max-width: 960px) {
  .cz-auth-shell { grid-template-columns: 1fr; }
  .cz-auth-showcase { display: none; }
}

.cz-auth-pane {
  background: var(--color-paper);
  display: flex;
  flex-direction: column;
  padding: 36px 40px;
}
.cz-auth-brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--color-ink);
}
.cz-auth-brand .mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--color-accent-500); color: var(--color-ink);
  font-weight: 800; font-size: 18px;
}
.cz-auth-brand .word { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.cz-auth-brand .word span { color: var(--color-accent-600); }

.cz-auth-body {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 24px 0;
}
.cz-auth-card { width: 100%; max-width: 440px; }

.cz-kicker {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-600);
  margin: 0 0 12px; text-align: center;
}
.cz-title { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 8px; line-height: 1.15; text-align: center; }
.cz-subtitle { font-size: 14.5px; color: var(--color-neutral-600); margin: 0 0 28px; line-height: 1.6; text-align: center; }

/* Tabs — Giriş yap / Kayıt ol */
.cz-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 6px; background: var(--color-neutral-100); margin-bottom: 26px;
}
.cz-tab {
  height: 42px; display: grid; place-items: center; text-decoration: none;
  font-size: 14px; font-weight: 700; color: var(--color-neutral-600);
  transition: color 120ms ease, background-color 120ms ease;
}
.cz-tab:hover { color: var(--color-ink); }
.cz-tab.is-active { background: var(--color-ink); color: var(--color-paper); }

/* Fields */
.cz-field { margin-bottom: 18px; }
.cz-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.cz-field label .req { color: var(--color-accent-600); }
.cz-input-wrap { position: relative; }
.cz-field input {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid rgba(0, 0, 0, 0.15); background: var(--color-paper);
  font-size: 14.5px; font-family: inherit; color: var(--color-ink);
}
.cz-field input:focus { outline: 2px solid var(--color-accent-500); outline-offset: 1px; border-color: var(--color-accent-500); }
.cz-field input.has-toggle { padding-right: 46px; }
.cz-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: none; background: transparent; cursor: pointer;
  color: var(--color-neutral-500); display: grid; place-items: center;
}
.cz-eye:hover { color: var(--color-ink); }
.cz-hint { font-size: 12.5px; color: var(--color-neutral-500); margin-top: 6px; }

.cz-btn-primary {
  width: 100%; height: 50px; border: none; cursor: pointer;
  background: var(--color-accent-500); color: var(--color-ink);
  font-weight: 800; font-size: 15px; font-family: inherit;
  transition: background-color 150ms ease, transform 150ms ease;
}
.cz-btn-primary:hover { background: var(--color-accent-600); transform: translateY(-1px); }
.cz-btn-primary:disabled { opacity: .6; cursor: default; }

.cz-btn-secondary {
  flex: 1; height: 48px; cursor: pointer; font-family: inherit;
  border: 1px solid rgba(0, 0, 0, 0.15); background: var(--color-paper); color: var(--color-ink);
  font-weight: 700; font-size: 14px;
}
.cz-btn-secondary:hover { border-color: var(--color-ink); background: var(--color-neutral-100); }
.cz-btn-row { display: flex; gap: 12px; }

.cz-link-row { text-align: center; margin-top: 16px; }
.cz-link { font-size: 13.5px; font-weight: 700; color: var(--color-accent-700); text-decoration: none; }
.cz-link:hover { color: var(--color-accent-600); text-decoration: underline; }

.cz-alert {
  background: var(--color-accent-50); border: 1px solid var(--color-accent-200);
  color: var(--color-accent-700); font-size: 13px; font-weight: 600;
  padding: 12px 14px; margin-bottom: 18px;
}
.cz-alert div + div { margin-top: 4px; }

.cz-divider {
  display: flex; align-items: center; gap: 12px; margin: 26px 0 0;
  color: var(--color-neutral-400); font-size: 12px;
}
.cz-divider::before, .cz-divider::after { content: ""; flex: 1; height: 1px; background: var(--color-neutral-200); }

.cz-auth-footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px;
  font-size: 12px; color: var(--color-neutral-500);
}
.cz-auth-footer a { color: var(--color-neutral-600); text-decoration: none; }
.cz-auth-footer a:hover { color: var(--color-ink); text-decoration: underline; }

.cz-scope-list { list-style: none; padding: 0; margin: 0 0 24px; border: 1px solid rgba(0, 0, 0, 0.08); }
.cz-scope-list li { padding: 10px 14px; font-size: 13px; border-bottom: 1px solid rgba(0, 0, 0, 0.06); font-family: var(--font-mono); }
.cz-scope-list li:last-child { border-bottom: none; }

/* ---------- Showcase (right) ---------- */
.cz-auth-showcase {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 80% 0%, #1d2f3d 0%, var(--color-navy) 45%, var(--color-navy-deep) 100%);
  color: var(--color-paper);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px;
}
.cz-auth-showcase::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.cz-showcase-stage { position: relative; height: 420px; margin-bottom: 40px; }
.cz-card {
  position: absolute; background: var(--color-paper); color: var(--color-ink);
  padding: 18px 20px; width: 300px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.cz-card .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.cz-card .head b { font-size: 14px; }
.cz-card .head span { font-size: 11px; color: var(--color-neutral-500); font-family: var(--font-mono); }
.cz-card .big { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.cz-card .sub { font-size: 12px; color: var(--color-neutral-500); }
.cz-card .row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 8px 0; border-top: 1px solid rgba(0,0,0,0.06); }
.cz-card .row b { font-weight: 700; }
.cz-card .ok { color: var(--color-accent-700); font-weight: 700; }
.cz-card .bar { height: 6px; background: var(--color-neutral-200); margin-top: 10px; }
.cz-card .bar i { display: block; height: 100%; background: var(--color-accent-500); }
.cz-card .cta { display: block; margin-top: 12px; background: var(--color-ink); color: var(--color-paper); font-size: 12px; font-weight: 700; text-align: center; padding: 9px 0; }
.cz-card-apps { left: 8%; top: 4%; z-index: 1; }
.cz-card-cert { right: 0; top: 24%; z-index: 2; width: 250px; }
.cz-card-sec  { left: 0; top: 46%; z-index: 3; width: 280px; }
.cz-card-corner::after {
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 22px; height: 22px;
  border-right: 2px solid var(--color-accent-500); border-bottom: 2px solid var(--color-accent-500);
}

.cz-showcase-mark {
  width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 18px;
  background: var(--color-accent-500); color: var(--color-ink); font-weight: 800; font-size: 26px;
}
.cz-showcase-title {
  text-align: center; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 12px;
}
.cz-showcase-title small { display: block; font-weight: 600; color: var(--color-accent-400); font-size: 22px; }
.cz-showcase-lead { text-align: center; color: rgba(255,255,255,0.72); font-size: 14px; line-height: 1.7; max-width: 46ch; margin: 0 auto 28px; }
.cz-showcase-dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cz-showcase-dots i { display: block; height: 3px; background: rgba(255,255,255,0.18); }
.cz-showcase-dots i:first-child { background: var(--color-accent-500); }
