/* =========================================================================
   PuzzleChallange Panosu — stil tasarımı

   Yön: "derin uzayda sinyal tarayan bir kontrol odası" — 2^76'lık bir
   anahtar evrenini tarıyoruz, bu yüzden koyu, teknik, veri-yoğun bir
   dil seçildi: tek bir "sinyal" rengi (Bitcoin turuncusu, #F7931A —
   hem tematik olarak doğru hem jenerik AI şablonlarının turuncu/
   terrakota tonlarından farklı), sayısal/hex veriler için mono yazı
   tipi (süs değil, hizalama ve okunabilirlik için gerekli), düz
   paneller (yuvarlatılmış-kart-artı-gölge kalıbı YOK).
   ========================================================================= */

:root {
  /* Yüzeyler */
  --bg: #0a0e16;
  --bg-elevated: #0d1220;
  --panel: #10151f;
  --panel-raised: #141b28;
  --border: #212a38;
  --border-soft: #1a212c;

  /* Metin */
  --text: #e7eaf1;
  --text-dim: #8e97a8;
  --text-faint: #5a6372;

  /* Durum/vurgu renkleri */
  --accent: #f7931a;       /* aktif/sağlıklı taranıyor — "sinyal" */
  --accent-dim: #c9760f;
  --accent-glow: rgba(247, 147, 26, 0.45);
  --teal: #3ddbc4;         /* tamamlandı */
  --teal-dim: #1f8f7e;
  --danger: #ef5a72;       /* takılı/çökmüş */
  --danger-dim: #b23f52;
  --gold: #c9a227;         /* daha önce taranmış, beklemede (p) */
  --virgin: #2a3342;       /* hiç dokunulmamış (.) */
  --green: #3ddb6f;        /* parça evreninde: atanmış/aktif taranıyor */
  --green-glow: rgba(61, 219, 111, 0.45);
  --purple: #a855f7;       /* parça evreninde: tamamlandı */
  --purple-dim: #7c3aed;

  --radius: 6px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  background-image:
    radial-gradient(ellipse 1200px 600px at 20% -10%, rgba(247, 147, 26, 0.06), transparent),
    radial-gradient(ellipse 900px 500px at 100% 0%, rgba(61, 219, 196, 0.04), transparent);
  background-attachment: fixed;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code, .mono, .sayi { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

::selection { background: var(--accent-glow); color: #fff; }

/* ---- Odak görünürlüğü (erişilebilirlik) ---- */
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- Hareket azaltma tercihi ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* =========================================================================
   Giriş sayfası
   ========================================================================= */
.giris-sayfa {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.giris-kutu {
  width: 100%;
  max-width: 380px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.giris-marka {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.giris-marka .nokta {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  flex: none;
}

.giris-marka h1 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.2px;
}

.giris-altbaslik {
  color: var(--text-dim);
  font-size: 13px;
  margin: 0 0 28px;
}

.alan {
  margin-bottom: 16px;
}

.alan label {
  display: block;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.alan input, .alan select {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-sans);
}

.alan input:focus, .alan select:focus {
  border-color: var(--accent-dim);
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #1a1203;
  border: none;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
}

.btn:hover { background: #ff9f2b; }
.btn:active { background: var(--accent-dim); }

.btn-ikincil {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ikincil:hover { background: var(--panel-raised); border-color: var(--text-faint); }

.btn-tam { width: 100%; }

.hata-kutusu {
  background: rgba(239, 90, 114, 0.1);
  border: 1px solid var(--danger-dim);
  color: #ffb3c0;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 18px;
}

.basari-kutusu {
  background: rgba(61, 219, 196, 0.1);
  border: 1px solid var(--teal-dim);
  color: #a8f3e7;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 18px;
}

/* =========================================================================
   Üst çubuk (topbar)
   ========================================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  height: 54px;
  background: rgba(10, 14, 22, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.topbar-sol { display: flex; align-items: center; gap: 28px; min-width: 0; }

.marka { display: flex; align-items: baseline; gap: 9px; flex: none; }
.marka .nokta {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent-glow);
}
.marka span { font-weight: 600; font-size: 15px; letter-spacing: 0.2px; }
.marka small { color: var(--text-faint); font-family: var(--font-mono); font-size: 11px; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: var(--text-dim);
  padding: 7px 12px;
  border-radius: var(--radius);
  font-size: 13.5px;
}
.nav-links a:hover { background: var(--panel-raised); color: var(--text); text-decoration: none; }
.nav-links a.aktif { color: var(--text); background: var(--panel-raised); }

.topbar-sag { display: flex; align-items: center; gap: 14px; flex: none; }
.kullanici-rozeti { font-size: 12.5px; color: var(--text-dim); font-family: var(--font-mono); }
.topbar-sag .btn-ikincil { padding: 6px 12px; font-size: 12.5px; }

.mobil-menu-btn { display: none; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .mobil-menu-btn {
    display: inline-flex; background: none; border: 1px solid var(--border);
    color: var(--text); border-radius: var(--radius); padding: 6px 10px; cursor: pointer;
  }
}

/* =========================================================================
   Genel sayfa iskeleti
   ========================================================================= */
.sayfa {
  max-width: 1480px;
  margin: 0 auto;
  padding: 22px 20px 60px;
}

.sayfa-baslik {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.sayfa-baslik h2 { margin: 0; font-size: 19px; font-weight: 600; }
.sayfa-baslik .alt { color: var(--text-dim); font-size: 13px; margin-top: 3px; }

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.panel-baslik {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid var(--border-soft);
  flex-wrap: wrap; gap: 8px;
}

.panel-baslik h3 { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--text); }
.panel-baslik .ikincil { font-size: 12px; color: var(--text-faint); font-family: var(--font-mono); }

.panel-govde { padding: 16px; }

/* =========================================================================
   İstatistik şeridi (readout'lar)
   ========================================================================= */
.stat-seridi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.stat {
  background: var(--panel);
  padding: 14px 16px;
  border-top: 2px solid transparent;
}

.stat.vurgu { border-top-color: var(--accent); }
.stat.vurgu-teal { border-top-color: var(--teal); }
.stat.vurgu-danger { border-top-color: var(--danger); }

.stat-etiket {
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.stat-etiket .ipucu-tetik { cursor: help; }

.stat-deger {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  word-break: break-word;
}

.stat-deger small { font-size: 12px; color: var(--text-dim); font-weight: 500; margin-left: 4px; }
.stat-alt { font-size: 11.5px; color: var(--text-dim); margin-top: 4px; }

/* "Parça haritası" mini-özeti: her durum için, istemci tablosundaki
   Durum sütunuyla AYNI .durum-rozet bileşeni (durum rengiyle tonlanmış
   badge) yeniden kullanılır — ayrı bir lejanta bakıp nokta/sayı eşleştirmesi
   yapmaya gerek kalmasın, renk zaten badge'in kendi arka planında. */
.parca-ozet-liste { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.parca-ozet-liste .durum-rozet b { font-weight: 700; font-family: var(--font-mono); }

/* =========================================================================
   Ana düzen: istemci tablosu + harita yan yana (geniş ekran), alt alta (dar)
   ========================================================================= */
.ana-izgara {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 1500px) {
  .ana-izgara.bolunmus { grid-template-columns: 420px 1fr; align-items: start; }
}

/* =========================================================================
   İstemci tablosu
   ========================================================================= */
.tablo-sarici { overflow-x: auto; }

table.veri-tablo { width: 100%; border-collapse: collapse; font-size: 13px; }
.veri-tablo th {
  text-align: left; font-size: 10.5px; letter-spacing: 0.3px;
  color: var(--text-faint); font-weight: 600; padding: 9px 12px;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.veri-tablo td { padding: 10px 12px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.veri-tablo tbody tr:hover { background: var(--panel-raised); }
.veri-tablo tbody tr:last-child td { border-bottom: none; }

.istemci-adi { font-weight: 600; font-family: var(--font-mono); font-size: 12.5px; }
.istemci-parca { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }

/* İstemci tablosunda tek hücrede iki satır gösteren alanlar (ör. "Süre"
   kolonu: üstte geçen süre, altta gezgin-kalan tahmini). */
.cift-deger { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; white-space: nowrap; }
.cift-deger .ust { color: var(--text); }
.cift-deger .alt { font-size: 11px; color: var(--text-faint); }

.durum-rozet {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; padding: 2.5px 8px; border-radius: 99px;
  font-weight: 600; white-space: nowrap;
}
.durum-rozet .nokta { width: 6px; height: 6px; border-radius: 50%; }

.durum-active { background: rgba(61, 219, 111, 0.12); color: var(--green); }
.durum-active .nokta { background: var(--green); box-shadow: 0 0 6px var(--green-glow); animation: nabiz 1.8s ease-in-out infinite; }
.durum-stale { background: rgba(239, 90, 114, 0.12); color: var(--danger); }
.durum-stale .nokta { background: var(--danger); }
.durum-done { background: rgba(168, 85, 247, 0.12); color: var(--purple); }
.durum-done .nokta { background: var(--purple); }
.durum-partial { background: rgba(201, 162, 39, 0.12); color: var(--gold); }
.durum-partial .nokta { background: var(--gold); }
.durum-virgin { background: rgba(255,255,255,0.04); color: var(--text-faint); }
.durum-virgin .nokta { background: var(--text-faint); }

@keyframes nabiz {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.mini-bar {
  width: 70px; height: 5px; border-radius: 3px;
  background: var(--border); overflow: hidden; flex: none;
}
.mini-bar > span { display: block; height: 100%; background: var(--accent); border-radius: 3px; }

.ilerleme-hucre { display: flex; align-items: center; gap: 8px; }
.ilerleme-yuzde-metin { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim); white-space: nowrap; }

.bos-durum {
  padding: 36px 20px; text-align: center; color: var(--text-faint); font-size: 13px;
}

/* =========================================================================
   Parça haritası (ızgara)
   ========================================================================= */
.harita-sarici { overflow-x: auto; padding-bottom: 4px; }

.harita-izgara {
  display: grid;
  grid-template-columns: repeat(50, minmax(16px, 1fr));
  gap: 2px;
  min-width: 900px;
}

.hucre {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  cursor: pointer;
  background: var(--virgin);
  transition: transform 0.08s ease;
}

.hucre:hover { transform: scale(1.35); z-index: 5; box-shadow: 0 0 0 1px rgba(255,255,255,0.3); }

.hucre.d-virgin { background: var(--virgin); }
.hucre.d-partial { background: var(--gold); opacity: 0.55; }
.hucre.d-active { background: var(--green); box-shadow: 0 0 6px var(--green-glow); }
.hucre.d-stale { background: var(--danger); }
.hucre.d-done { background: var(--purple); }

.hucre.yenilendi {
  animation: hucre-vurgu 1.3s ease-out;
}
@keyframes hucre-vurgu {
  0% { box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.9); }
  100% { box-shadow: 0 0 0 0 rgba(247, 147, 26, 0); }
}

.harita-lejant {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-soft);
}
.lejant-ogesi { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-dim); }
.lejant-ogesi .kare { width: 10px; height: 10px; border-radius: 2px; flex: none; }

.harita-mobil-ipucu {
  display: none; font-size: 11.5px; color: var(--text-faint); margin-bottom: 8px;
}
@media (max-width: 760px) {
  .harita-mobil-ipucu { display: block; }
}

/* ---- Özel tooltip (hücre üzerine gelince) ---- */
.hucre-tooltip {
  position: fixed;
  z-index: 100;
  background: #050709;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text);
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  max-width: 280px;
  display: none;
}
.hucre-tooltip.gorunur { display: block; }
.hucre-tooltip .baslik { font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.hucre-tooltip .satir { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; color: var(--text-dim); }
.hucre-tooltip .satir b { color: var(--text); font-family: var(--font-mono); font-weight: 500; }
.hucre-tooltip .hex-satir { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); margin-top: 4px; word-break: break-all; }

/* =========================================================================
   Popup (parça detay modal)
   ========================================================================= */
.modal-perde {
  position: fixed; inset: 0; background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(2px);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 20px;
}
.modal-perde.acik { display: flex; }

.modal-kutu {
  background: var(--panel-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%; max-width: 560px;
  max-height: 86vh; overflow-y: auto;
}

.modal-ust {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border-soft);
  position: sticky; top: 0; background: var(--panel-raised);
}
.modal-ust h3 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 9px; }
.modal-kapat {
  background: none; border: none; color: var(--text-dim); font-size: 20px;
  cursor: pointer; line-height: 1; padding: 4px 8px; border-radius: var(--radius);
}
.modal-kapat:hover { background: var(--panel); color: var(--text); }

.modal-govde { padding: 18px 20px; }

.detay-satir {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--border-soft); font-size: 13px;
}
.detay-satir:last-child { border-bottom: none; }
.detay-satir .k { color: var(--text-dim); flex: none; }
.detay-satir .v { font-family: var(--font-mono); text-align: right; word-break: break-all; }

.hex-kutu {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 12px; margin-top: 4px;
  font-family: var(--font-mono); font-size: 12px; word-break: break-all;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.kopyala-btn {
  background: none; border: 1px solid var(--border); color: var(--text-dim);
  border-radius: 4px; padding: 3px 8px; font-size: 11px; cursor: pointer; flex: none;
}
.kopyala-btn:hover { color: var(--text); border-color: var(--text-faint); }

.ilerleme-bar-buyuk { height: 9px; border-radius: 5px; background: var(--border); overflow: hidden; margin: 10px 0 4px; }
.ilerleme-bar-buyuk > span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--accent), var(--accent)); }

.gecmis-listesi { margin-top: 6px; }
.gecmis-ogesi {
  display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border-soft);
  font-size: 12px;
}
.gecmis-ogesi:last-child { border-bottom: none; }
.gecmis-zaman { color: var(--text-faint); font-family: var(--font-mono); flex: none; width: 82px; }
.gecmis-metin { color: var(--text-dim); }
.gecmis-metin b { color: var(--text); }

/* =========================================================================
   Canlı akış paneli
   ========================================================================= */
.akis-panel { max-height: 360px; overflow-y: auto; font-family: var(--font-mono); font-size: 12px; }
.akis-satir {
  display: flex; gap: 10px; padding: 7px 16px; border-bottom: 1px solid var(--border-soft);
}
.akis-satir:last-child { border-bottom: none; }
.akis-satir.yeni { animation: akis-giris 0.5s ease-out; }
@keyframes akis-giris {
  from { background: rgba(247, 147, 26, 0.18); }
  to { background: transparent; }
}
.akis-zaman { color: var(--text-faint); flex: none; width: 64px; }
.akis-etiket {
  flex: none; font-size: 10px; padding: 1px 6px; border-radius: 3px; font-weight: 700;
  height: fit-content; letter-spacing: 0.3px;
}
.akis-metin { color: var(--text-dim); word-break: break-word; }
.akis-metin b { color: var(--text); font-weight: 600; }

.et-assigned { background: rgba(247,147,26,0.15); color: var(--accent); }
.et-released { background: rgba(142,151,168,0.15); color: var(--text-dim); }
.et-done { background: rgba(61,219,196,0.15); color: var(--teal); }
.et-stale_reclaimed { background: rgba(239,90,114,0.15); color: var(--danger); }
.et-resumed { background: rgba(201,162,39,0.15); color: var(--gold); }

/* =========================================================================
   Kullanıcılar sayfası
   ========================================================================= */
.form-grid { display: grid; gap: 14px; max-width: 420px; }
.form-grid .alan input { background: var(--bg-elevated); }
.form-grid .alan small { display: block; margin-top: 5px; color: var(--text-faint); font-size: 11.5px; }

.btn-kucuk { padding: 5px 12px; font-size: 12.5px; }
.islemler { text-align: right; white-space: nowrap; }

/* =========================================================================
   Genel yardımcılar
   ========================================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.etiket-kucuk {
  font-size: 10.5px; color: var(--text-faint); text-transform: none;
}

.sistem-durumu-satiri {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-dim);
}
.sistem-durumu-isik { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.isik-ok { background: var(--teal); box-shadow: 0 0 6px rgba(61,219,196,0.6); }
.isik-uyari { background: var(--danger); box-shadow: 0 0 6px rgba(239,90,114,0.6); }

@media (max-width: 600px) {
  .sayfa { padding: 16px 12px 50px; }
  .topbar { padding: 0 14px; }
  .modal-govde, .panel-govde { padding: 14px; }
}


/* ===== PuzzleChallange v2 eklemeleri ===== */
.durum-silent { background: rgba(239, 90, 114, 0.12); color: var(--danger); }
.durum-silent .nokta { background: var(--danger); }
.durum-locked { background: rgba(124, 58, 237, 0.14); color: #b794f6; }
.durum-locked .nokta { background: #b794f6; }
.durum-cevrimici { background: rgba(61, 219, 111, 0.12); color: var(--green); }
.durum-cevrimici .nokta { background: var(--green); box-shadow: 0 0 6px var(--green-glow); }
.durum-cevrimdisi { background: rgba(255,255,255,0.05); color: var(--text-dim); }
.durum-cevrimdisi .nokta { background: var(--text-faint); }
.durum-uyumsuz, .durum-iptal { background: rgba(239, 90, 114, 0.16); color: var(--danger); }
.durum-uyumsuz .nokta, .durum-iptal .nokta { background: var(--danger); }
.hucre.d-silent { background: var(--danger); }
.hucre.d-locked { background: #7c3aed; opacity: 0.7; }
.et-atama { background: rgba(247,147,26,0.15); color: var(--accent); }
.et-birakti, .et-sil, .et-kilit_acildi { background: rgba(142,151,168,0.15); color: var(--text-dim); }
.et-bitti { background: rgba(61,219,196,0.15); color: var(--teal); }
.et-zaman_asimi, .et-uyumsuz, .et-iptal, .et-cakisma { background: rgba(239,90,114,0.15); color: var(--danger); }
.et-kayit { background: rgba(201,162,39,0.15); color: var(--gold); }
.et-BULUNDU { background: rgba(61,219,111,0.25); color: var(--green); font-weight: 700; }
.w-0 { width: 0; }
.cozuldu-bant { background: rgba(61,219,111,0.14); border: 1px solid var(--green); color: var(--green); padding: 14px 16px; border-radius: var(--radius); margin-bottom: 16px; font-weight: 600; }
.sekme-nav { display: flex; gap: 8px; margin-bottom: 14px; }
.btn-kucuk { padding: 4px 10px; font-size: 12px; }
.form-satir { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.form-satir .alan { flex: 1 1 180px; margin-bottom: 0; }
.rozet-rol { font-family: var(--font-mono); font-size: 11px; padding: 2px 8px; border-radius: 10px; background: rgba(247,147,26,0.12); color: var(--accent); }
.satir-ici-form { display: inline; margin: 0; }
.ust-bosluk { margin-top: 18px; }
.modal-etiket { margin-top: 14px; font-size: 12px; color: var(--text-dim); margin-bottom: 4px; }
.lejant-ogesi .kare { width: 12px; height: 12px; display: inline-block; margin-right: 6px; vertical-align: middle; opacity: 1; box-shadow: none; }

/* ---- tehlikeli işlemler (Sistem sayfası) ---- */
.btn-tehlike { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-tehlike:hover { filter: brightness(1.1); }
.tehlike-panel { border-color: var(--danger); }
.tehlike-panel .panel-baslik h3 { color: var(--danger); }
.etiket-kod { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--panel-raised); padding: 1px 6px; border-radius: 4px; }
.kurulum-not { color: var(--text-dim); font-size: 12.5px; margin: 10px 0 0; line-height: 1.5; }
