/* ==== Genel (ilk/kayıt/giriş sayfaları için güvenli temel stil) ==== */
:root{
  --bg-dim: 0.35;
  --text: #f2f2f2;
  --muted: #b9b9b9;
  --accent: #9fd3ff;
  --card: rgba(0,0,0,0.45);
  --stroke: rgba(255,255,255,0.12);
  --radius: 14px;
}

*{ box-sizing: border-box; }
html, body{ height:100%; }
body.bg{
  margin:0;
  color: var(--text);
  background:#000;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}
.bg-cover{
  position: fixed; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  filter: brightness(var(--bg-dim)) saturate(1.05);
  z-index:-1;
}

/* Basit, güvenli container — dikey ortalama yok (anasayfayı etkilemez) */
.container{
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
}

/* Başlık & linkler */
h1,h2,h3{ margin: 0 0 12px; font-weight: 800; letter-spacing:.2px; }
h1{ font-size: 34px; }
a, a:visited{ color: var(--accent); text-decoration: underline; }
a:hover{ text-decoration: none; }

/* Kart/kutu (formu istersen bunun içine al) */
.card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  padding: 14px;
}

/* Form */
form{ width: 100%; max-width: 520px; }
label{
  display:block;
  margin: 10px 0 6px;
  font-size: 14px;
  color: var(--muted);
}
input[type="text"],
input[type="email"],
input[type="password"]{
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,0.55);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}
input::placeholder{ color: #cfcfcf; opacity: .65; }

/* Buton */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  min-width: 96px; height: 42px; padding: 0 14px;
  border-radius: 10px; border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.08);
  color: var(--text); text-decoration: none;
  cursor: pointer;
}
.btn:hover{ background: rgba(255,255,255,0.14); }

/* Basit grid (etiketleri yan yana koymak istersen) */
.row{ display:flex; gap:12px; flex-wrap:wrap; }
.col{ flex:1 1 220px; }

/* Alt bilgi */
.footer{ margin-top: 14px; color: var(--muted); font-size: 13px; }

/* Küçük ekran */
@media (max-width:600px){
  h1{ font-size: 28px; }
  .container{ padding: 14px; }
}

/* ==== Giriş/Kayıt sayfalarında dikey + yatay yerleşim ==== */
.container.center{
  min-height: 100dvh;                 /* tam ekran yükseklik */
  display: flex;
  flex-direction: column;
  justify-content: center;            /* dikey ortala */
  align-items: flex-start;            /* sola hizalı kalsın (istersen center yap) */
  gap: 12px;
}

/* Buton grubu yan yana ve ortalı dursun */
.btn-row{
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* --- Ortalamayı biraz sağa kaydır --- */
.container.center {
  align-items: center;       /* ortala */
  text-align: center;        /* yazıları da ortala */
}

.container.center h1 {
  margin-left: 0;            /* eski sola yaslama etkisini kaldır */
}

.btn-row {
  justify-content: center;   /* butonları ortala */
}