/* Ortak tasarım dili — asfalt + yol çizgisi sarısı, tabela yazısı (Barlow) */
:root {
  --asphalt: #23272E;
  --asphalt-2: #2F343C;
  --ink: #1A1D22;
  --line: #FFC93C;        /* yol çizgisi sarısı */
  --line-deep: #E0A800;
  --paper: #F5F6F8;
  --white: #FFFFFF;
  --mute: #6A7280;
  --rule: #DDE0E5;
  --ok: #2E9E6B;
  --warn: #D98A00;
  --bad: #D14545;
  --focus: #2F6FED;
  --r-sm: 6px;
  --r-md: 10px;
  --shadow: 0 1px 2px rgba(20, 24, 30, .06), 0 8px 24px rgba(20, 24, 30, .06);
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-cond: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- butonlar ve form ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font);
  padding: 11px 18px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, border-color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--line); color: var(--ink); }
.btn-primary:hover:not(:disabled) { background: var(--line-deep); }
.btn-dark { background: var(--asphalt); color: var(--white); }
.btn-dark:hover:not(:disabled) { background: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--rule); color: var(--ink); }
.btn-ghost:hover:not(:disabled) { border-color: var(--mute); }
.btn-danger { background: var(--bad); color: var(--white); }
.btn-danger:hover:not(:disabled) { background: #B53333; }
.btn-sm { padding: 7px 11px; font-size: 14px; }
.btn-lg { padding: 15px 24px; font-size: 17px; }
.btn-link { background: none; border: 0; padding: 0; color: var(--mute); font: inherit; cursor: pointer; text-decoration: underline; }

label.field { display: block; margin-bottom: 14px; }
label.field > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search],
input[type=datetime-local], input[type=tel], textarea, select {
  width: 100%;
  font: 400 16px/1.4 var(--font);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(47, 111, 237, .15); }
textarea { resize: vertical; min-height: 140px; }
.hint { color: var(--mute); font-size: 14px; }
.error-text { color: var(--bad); font-size: 14px; min-height: 20px; }

/* yol çizgisi — marka işareti */
.lane {
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--line) 0 28px, transparent 28px 44px);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 22px/1 var(--font-cond);
  letter-spacing: .01em;
  text-decoration: none;
}
.brand-full { height: 34px; width: auto; }
.brand-icon { height: 34px; width: auto; display: none; }

.toast-host { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); }
.toast {
  background: var(--asphalt); color: var(--white);
  padding: 12px 16px; border-radius: var(--r-sm);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--line);
  animation: toast-in .2s ease-out;
}
.toast.bad { border-left-color: var(--bad); }
.toast.ok { border-left-color: var(--ok); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
