:root {
  --zemin: #eef4f8; --yuzey: #ffffff; --yazi: #17324d; --soluk: #5b7287;
  --vurgu: #ffc933; --vurgu-yazi: #17324d; --cizgi: #d3dfe8; --hata: #b3261e;
  --yaricap: 14px;
}
:root:not([data-tema="acik"]) { color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="acik"]) {
    --zemin: #0f1d2b; --yuzey: #172a3d; --yazi: #e8f0f7; --soluk: #9ab0c3;
    --cizgi: #2a4259; --hata: #ffb4ab;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; background: var(--zemin); color: var(--yazi);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.55;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.kart { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: var(--yaricap); padding: 1.5rem; }
label { display: block; font-weight: 700; margin: 1rem 0 .3rem; }
input, select, textarea {
  width: 100%; padding: .7rem .8rem; font: inherit; color: inherit;
  background: var(--zemin); border: 1.5px solid var(--cizgi); border-radius: 10px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--vurgu); outline-offset: 2px;
}
button, .dugme {
  font: inherit; font-weight: 800; cursor: pointer; border: 0; border-radius: 10px;
  padding: .75rem 1.2rem; background: var(--vurgu); color: var(--vurgu-yazi);
}
button:disabled { opacity: .6; cursor: wait; }
.ikincil { background: transparent; color: var(--yazi); border: 1.5px solid var(--cizgi); }
.hata { color: var(--hata); font-weight: 700; min-height: 1.5em; margin: .8rem 0 0; }
.soluk { color: var(--soluk); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
[hidden] { display: none !important; }
.giris-karti { max-width: 420px; margin: 8vh auto 0; }
.giris-karti form button { width: 100%; margin-top: 1.2rem; }
a { color: inherit; }
.hizli-alan { position: fixed; left: max(1rem, env(safe-area-inset-left, 0px)); bottom: max(1rem, env(safe-area-inset-bottom, 0px)); display: flex; gap: .5rem; }
.hizli-alan a {
  font-size: .9rem; font-weight: 700; color: var(--soluk); padding: .4rem .7rem; border-radius: 8px;
  text-decoration: none; background: var(--yuzey); border: 1px solid var(--cizgi);
}
.hizli-alan a:hover { color: var(--yazi); }
