/* Snatch Alarm web kayit sayfasi (docs/WEB-KAYIT.md §4.8.2).
   Renkler uygulamanin koyu temasindan ad ad (app_theme.dart _darkColors,
   app_palette.dart _dark); uygulamada karsiligi olmayan iki renk: hata
   kutusu ve kayit noktasi. Dis yazi tipi yok (K46). */
:root {
  --surface: #161826;
  --surfaceContainer: #1d1f2c;
  --surfaceContainerHigh: #232532;
  --onSurface: #e9e9ed;
  --onSurfaceVariant: #9397ab;
  --primary: #1fa396;
  --faint: #9296a8;
  --mutedText: #b2b6ca;
  --mutedTextStrong: #cfd3e5;
  --accentLight: #4fc8bb;
  --accentSurface: #1c3331;
  --accentBorder: #2f6963;
  --divider: #292b31;
  --border: #3f424d;
  --borderStrong: #595d6c;
  --hataZemin: #3a1a1e;
  --hataCerceve: #7a2e33;
  --hataSimge: #ffb4ab;
  --hataMetin: #ffdad6;
  --kayitNoktasi: #ff6b6b;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--onSurface);
  font-family: system-ui, Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

p {
  margin: 0;
}

h1 {
  margin: 0;
  font-weight: 400;
}

[hidden] {
  display: none !important;
}

.gorunmez {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.gizli-alan {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ---------------------------------------------------------- iskelet */

.sutun {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px 24px;
}

.marka {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  font-size: 16px;
  font-weight: 600;
}

.marka-logo {
  width: 32px;
  height: 32px;
  display: block;
}

.kart {
  margin-top: 12px;
  background: var(--surfaceContainer);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kart.ortali {
  align-items: center;
  text-align: center;
}

.kart.ortali .dugme {
  align-self: stretch;
}

.ayirici {
  align-self: stretch;
  height: 1px;
  background: var(--divider);
  /* Kartin 16 px araligini iki yanda 12 px'e indirir (26 Ekim: basligin alti bos duruyordu). */
  margin: -4px 0;
}

[data-baslik]:focus {
  outline: none;
}

/* ---------------------------------------------------------- yazi */

.w1 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 400;
}

.w1 strong {
  font-weight: 700;
}

.alt-satir {
  font-size: 15px;
  color: var(--onSurfaceVariant);
  margin-top: -8px;
}

.basari-basligi {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
}

.durum-cumlesi {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
}

.acilis-hatasi {
  font-size: 16px;
  line-height: 1.5;
  color: var(--onSurface);
}

.baglanti {
  color: var(--accentLight);
  text-decoration: underline;
}

/* ---------------------------------------------------------- dugmeler */

.dugme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dugme.ana {
  background: var(--primary);
  color: var(--surface);
  border: 0;
}

.dugme.ikincil {
  min-height: 48px;
  background: transparent;
  color: var(--onSurface);
  border: 1px solid var(--border);
  font-size: 15px;
  font-weight: 500;
}

.dugme:disabled {
  opacity: 0.38;
  cursor: default;
}

.dugme .etiket {
  padding: 8px 0;
}

.ikon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}

.ikon.kucuk {
  width: 16px;
  height: 16px;
}

.dugme.dinle .ikon {
  color: var(--accentLight);
}

.ikili {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ikili .dugme {
  flex: 1 1 auto;
  width: auto;
}

/* ---------------------------------------------------------- kayit blogu */

.kayit-blogu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seviye-satiri {
  display: flex;
  align-items: center;
  gap: 12px;
}

.seviye {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--divider);
  overflow: hidden;
}

.seviye-dolgu {
  height: 100%;
  width: 0;
  background: var(--accentLight);
  border-radius: 3px;
  transition: width 80ms linear;
}

.sure-kutusu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sure {
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--onSurfaceVariant);
}

.sure.ortali {
  text-align: center;
}

.kayit-noktasi {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kayitNoktasi);
}

/* ---------------------------------------------------------- kurallar */

.kurallar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: -8px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--faint);
  font: inherit;
  font-size: 13px;
  text-align: start;
  cursor: pointer;
}

.kurallar span {
  flex: 1;
}

.kurallar .ok {
  transition: transform 150ms;
}

.kurallar[aria-expanded="true"] .ok {
  transform: rotate(180deg);
}

.w2 {
  font-size: 14px;
  color: var(--mutedText);
  margin-top: -8px;
}

/* ---------------------------------------------------------- seritler */

.serit {
  /* Ortali kartta da tam genislik (basaridaki hediye seridi). */
  align-self: stretch;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--accentSurface);
  border: 1px solid var(--accentBorder);
  border-radius: 8px;
  padding: 12px 14px;
  text-align: start;
}

.serit-ikon {
  width: 18px;
  height: 18px;
  color: var(--accentLight);
  margin-top: 2px;
}

.w7-ilk {
  font-size: 13.5px;
  color: var(--onSurface);
}

.w7-kosul {
  font-size: 12px;
  color: var(--mutedText);
  margin-top: 4px;
}

/* ---------------------------------------------------------- form */

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alan-ust {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.alan-etiketi {
  font-size: 13px;
  font-weight: 500;
  color: var(--onSurfaceVariant);
}

.sayac {
  font-size: 12px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.sayac.asim {
  color: var(--hataSimge);
}

.girdi,
.adres-alani {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--onSurface);
  font: inherit;
  font-size: 16px;
}

.girdi:focus {
  outline: none;
  border-color: var(--primary);
}

.ipucu-metni {
  font-size: 13px;
  color: var(--faint);
  margin-top: -4px;
}

.kapatma {
  font-size: 13px;
  font-weight: 500;
  color: var(--mutedTextStrong);
  text-align: center;
  margin-top: -4px;
}

.w10 {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--faint);
}

.recaptcha-satiri {
  font-size: 12px;
  color: var(--faint);
  text-align: center;
  margin-top: 16px;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* ---------------------------------------------------------- hata ve W-13 */

.hata-yeri:empty {
  display: none;
}

.hata-kutusu {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--hataZemin);
  border: 1px solid var(--hataCerceve);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--hataMetin);
  font-size: 14px;
  text-align: start;
}

.hata-ikon {
  color: var(--hataSimge);
}

.w13-kutusu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surfaceContainerHigh);
  border: 1px solid var(--borderStrong);
  border-radius: 8px;
  padding: 14px;
}

.w13-ust {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
}

.w13-ikon {
  color: var(--accentLight);
}

.w13-kutusu .dugme.ikincil {
  background: var(--surfaceContainer);
}

.adres-alani {
  font-size: 14px;
}

/* ---------------------------------------------------------- basari */

.w12 {
  font-size: 14px;
  color: var(--mutedText);
}

/* ---------------------------------------------------------- durum ekranlari */

.daire {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surfaceContainerHigh);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.daire-ikon {
  width: 26px;
  height: 26px;
  color: var(--onSurfaceVariant);
}

.yasal-satir {
  font-size: 13px;
}

/* ---------------------------------------------------------- yukleniyor */

.yukleniyor {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.yukleniyor-logo {
  width: 64px;
  height: 64px;
}

.donen {
  width: 28px;
  height: 28px;
  border: 3px solid var(--divider);
  border-top-color: var(--accentLight);
  border-radius: 50%;
  animation: don 0.8s linear infinite;
}

.kucuk-donen {
  width: 18px;
  height: 18px;
  border-width: 2px;
  border-color: rgba(22, 24, 38, 0.35);
  border-top-color: var(--surface);
}

@keyframes don {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .donen {
    animation-duration: 2.4s;
  }
  .seviye-dolgu {
    transition: none;
  }
}

.noscript {
  padding: 24px;
  text-align: center;
}

/* ---------------------------------------------------------- bilgisayar */

@media (min-width: 600px) {
  .sutun {
    padding-top: 48px;
  }
  .kart {
    padding: 24px;
  }
  .w1 {
    font-size: 22px;
  }
}
