/* İş Güvenliği İzleme – panel stili
   Kimlik: çelik grafit + iş güvenliği sarısı. Cesaret tek yerde: tehlike şeridi. */

@font-face { font-family: "Plex"; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex"; font-weight: 700; font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 700; font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --steel: #1E2A32;
  --steel-2: #2A3943;
  --steel-3: #3B4D59;
  --concrete: #EBEEEC;
  --surface: #FFFFFF;
  --line: #CDD3D1;
  --line-soft: #E1E5E3;
  --ink: #1B2328;
  --muted: #56636B;
  --hazard: #F2B705;
  --hazard-ink: #3A2C00;
  --danger: #B8241A;
  --danger-bg: #FBE6E3;
  --warn: #9A5B00;
  --warn-bg: #FFF1D1;
  --ok: #24704A;
  --ok-bg: #E1F2E8;
  --info: #2F5D8A;
  --info-bg: #E2ECF6;
  --neutral-bg: #E7EAEA;
  --focus: #1F6FD1;
  --r-sm: 4px;
  --r-md: 8px;
  --shadow: 0 1px 2px rgba(27, 35, 40, .08);
  --hazard-stripe: repeating-linear-gradient(-45deg, var(--hazard) 0 10px, var(--steel) 10px 20px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--concrete); color: var(--ink);
  font: 15px/1.5 "Plex", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "tnum" 1;
}
a { color: var(--info); }
a:hover { color: var(--steel); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
h1 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 17px; font-weight: 600; }
h3 { font-size: 15px; font-weight: 600; }
p { margin: 0 0 .75em; max-width: 72ch; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kabuk ---------- */
.shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.side { background: var(--steel); color: #DCE3E6; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side::before { content: ""; display: block; height: 8px; background: var(--hazard-stripe); }
.brand { padding: 18px 20px 14px; display: flex; gap: 10px; align-items: center; color: #fff; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 6px; background: var(--hazard); color: var(--hazard-ink); display: grid; place-items: center; font-weight: 700; flex: none; }
.brand-name { font-weight: 600; font-size: 15px; line-height: 1.2; }
.nav { list-style: none; margin: 6px 0; padding: 0 10px; display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 12px; border-radius: var(--r-sm); color: #C9D3D8; text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--steel-2); color: #fff; }
.nav a[aria-current="page"] { background: var(--steel-3); color: #fff; box-shadow: inset 3px 0 0 var(--hazard); }
.nav .count { margin-left: auto; background: var(--hazard); color: var(--hazard-ink); border-radius: 999px; font-size: 12px; font-weight: 700; padding: 0 7px; }
.nav-sep { height: 1px; background: var(--steel-2); margin: 10px 20px; }
.side-foot { margin-top: auto; padding: 14px 20px; font-size: 13px; color: #9FB0B8; border-top: 1px solid var(--steel-2); }
.side-foot strong { color: #fff; display: block; font-weight: 600; }
.side-foot form { margin-top: 8px; }
.side-foot .linkbtn { color: #C9D3D8; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--line); background: var(--surface); flex-wrap: wrap; }
.topbar h1 { margin-right: auto; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
.content { padding: 24px 28px 48px; display: flex; flex-direction: column; gap: 20px; }
.side .menu-toggle { display: none; }

/* ---------- Bileşenler ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.panel-head h2 { margin-right: auto; }
.panel-body { padding: 16px 18px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.grid-even { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--steel-3); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--neutral-bg); color: var(--ink); }
.btn-primary { background: var(--steel); border-color: var(--steel); color: #fff; }
.btn-primary:hover { background: var(--steel-3); color: #fff; }
.btn-hazard { background: var(--hazard); border-color: #C99700; color: var(--hazard-ink); }
.btn-hazard:hover { background: #E0A800; color: var(--hazard-ink); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #8F1B13; color: #fff; }
.btn-sm { min-height: 32px; padding: 4px 10px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--info); text-decoration: underline; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; }
.st-new { background: var(--danger-bg); color: var(--danger); border-color: #F0B8B1; }
.st-investigating { background: var(--warn-bg); color: var(--warn); border-color: #EBCB85; }
.st-confirmed { background: var(--info-bg); color: var(--info); border-color: #B7CDE4; }
.st-false_alarm { background: var(--neutral-bg); color: var(--muted); border-color: var(--line); }
.st-resolved { background: var(--ok-bg); color: var(--ok); border-color: #A9D5BC; }
.sev-medium { background: var(--warn-bg); color: var(--warn); }
.sev-high { background: #FFE2CC; color: #A33F00; }
.sev-critical { background: var(--danger); color: #fff; }
.tag { display: inline-block; padding: 1px 8px; border-radius: var(--r-sm); background: var(--neutral-bg); font-size: 12.5px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dot-on { background: var(--ok); }
.dot-off { background: #9AA6AC; }
.dot-run { background: var(--danger); }

.alert { padding: 12px 16px; border-radius: var(--r-md); border: 1px solid; display: flex; gap: 12px; align-items: flex-start; }
.alert-success { background: var(--ok-bg); border-color: #A9D5BC; }
.alert-warning { background: var(--warn-bg); border-color: #EBCB85; }
.alert-error, .alert-danger { background: var(--danger-bg); border-color: #F0B8B1; }
.alert-info { background: var(--info-bg); border-color: #B7CDE4; }
.alert strong { display: block; }
.alert-critical { background: var(--surface); border: 0; border-radius: var(--r-md); padding: 0; overflow: hidden; box-shadow: var(--shadow); display: block; }
.alert-critical .stripe { height: 10px; background: var(--hazard-stripe); }
.alert-critical .inner { padding: 14px 18px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); }
.alert-critical .big { font-size: 28px; font-weight: 700; color: var(--danger); }

/* Durum şeridi: tek segmentli çubuk (özdeş kartlar yerine) */
.statusbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); }
.statusbar a { padding: 14px 16px; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 2px; min-height: 84px; position: relative; }
.statusbar a:last-child { border-right: 0; }
.statusbar a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.statusbar a.sb-new::before { background: var(--danger); }
.statusbar a.sb-investigating::before { background: #D99A1A; }
.statusbar a.sb-confirmed::before { background: var(--info); }
.statusbar a.sb-false_alarm::before { background: #9AA6AC; }
.statusbar a.sb-resolved::before { background: var(--ok); }
.statusbar a:hover { background: var(--concrete); }
.statusbar .n { font-size: 30px; font-weight: 700; line-height: 1.1; }
.statusbar .l { font-size: 13.5px; color: var(--muted); font-weight: 600; }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.figures { display: flex; flex-wrap: wrap; gap: 24px; }
.figure .n { font-size: 22px; font-weight: 700; }
.figure .l { font-size: 13px; color: var(--muted); }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #F6F7F6; white-space: nowrap; }
table.data td { padding: 10px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #F7F9F8; }
table.data tr.row-critical td:first-child { box-shadow: inset 4px 0 0 var(--danger); }
table.data tr.row-unack td { font-weight: 500; }
.empty { padding: 36px 18px; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* ---------- Formlar ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 14px 18px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field label, .field .label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field .help { font-size: 12.5px; color: var(--muted); }
.field .err { font-size: 12.5px; color: var(--danger); font-weight: 600; }
input[type=text], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  min-height: 40px; padding: 7px 10px; max-width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px rgba(31, 111, 209, .18); }
textarea { min-height: 84px; width: 100%; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px 20px; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 2px; }
fieldset { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px 18px; margin: 0; }
legend { font-weight: 600; padding: 0 6px; }

.seg { display: inline-flex; border: 1.5px solid var(--steel-3); border-radius: var(--r-sm); overflow: hidden; }
.seg a { padding: 7px 14px; text-decoration: none; color: var(--ink); font-weight: 600; min-height: 38px; display: inline-flex; align-items: center; }
.seg a[aria-current="true"] { background: var(--steel); color: #fff; }

.pager { display: flex; gap: 12px; align-items: center; justify-content: flex-end; padding: 12px 18px; color: var(--muted); font-size: 14px; }

/* ---------- Harita ---------- */
.map { height: 460px; border-radius: 0 0 var(--r-md) var(--r-md); z-index: 0; }
.map-lg { height: calc(100vh - 290px); min-height: 420px; }
.map-sm { height: 280px; border-radius: var(--r-md); }
.map-empty { display: grid; place-items: center; height: 100%; color: var(--muted); }
.pin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.45); display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; }
.pin-medium { background: #D99A1A; }
.pin-high { background: #C55A11; }
.pin-critical { background: var(--danger); width: 28px; height: 28px; outline: 3px solid var(--hazard); }
.pin-closed { opacity: .55; }
.leaflet-popup-content { font: 14px/1.45 "Plex", system-ui, sans-serif; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding: 10px 18px; border-top: 1px solid var(--line-soft); }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.lg-medium { background: #D99A1A; }
.lg-high { background: #C55A11; }
.lg-critical { background: var(--danger); outline: 2px solid var(--hazard); }
.lg-closed { background: #9AA6AC; }

/* ---------- Zaman çizelgesi ---------- */
.timeline { list-style: none; margin: 0; padding: 0 18px 8px; }
.timeline li { display: grid; grid-template-columns: 116px 18px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.timeline li:last-child { border-bottom: 0; }
.timeline time { color: var(--muted); font-size: 13px; }
.timeline .mark { width: 12px; height: 12px; border-radius: 50%; margin-top: 4px; background: var(--steel-3); }
.timeline .mark.ev { background: var(--danger); }
.timeline .mark.ses-start { background: var(--ok); }
.timeline .mark.ses-stop { background: #9AA6AC; }
.timeline .mark.adm { background: var(--info); }

/* ---------- Giriş ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--steel); }
.login-card { width: 100%; max-width: 400px; background: var(--surface); border-radius: var(--r-md); overflow: hidden; }
.login-card::before { content: ""; display: block; height: 10px; background: var(--hazard-stripe); }
.login-card .in { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.code-big { font-size: 40px; font-weight: 700; letter-spacing: .18em; padding: 10px 18px; background: var(--hazard); color: var(--hazard-ink); border-radius: var(--r-md); display: inline-block; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
  .grid-2 { grid-template-columns: 1fr; }
  .statusbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .statusbar a { border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .nav { display: none; }
  .side.open .nav { display: flex; }
  .side-foot { display: none; }
  .side.open .side-foot { display: block; }
  .side .menu-toggle { display: inline-flex; margin: 0 16px 12px; }
  .topbar, .content { padding-left: 16px; padding-right: 16px; }
  .statusbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .timeline .mark { display: none; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* ---------- Patlama algılama ---------- */
.pin-device { background: var(--info); border-radius: 4px; width: 20px; height: 20px; }
.pin-device.pin-blocked { background: #9AA6AC; }
.lg-device { background: var(--info); border-radius: 2px; }
.row-blocked td { background: var(--neutral-bg); }
.btn-tp { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-fp { background: var(--steel-3); border-color: var(--steel-3); color: #fff; }
.btn-tp[disabled], .btn-fp[disabled] { opacity: .5; }
.review { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.review .field { max-width: 640px; }
table.score td { padding: 6px 10px; }
table.score .bar-cell { width: 45%; }
table.score meter { width: 100%; height: 14px; }
table.score meter.neg::-webkit-meter-optimum-value { background: var(--danger); }
table.score meter.neg::-moz-meter-bar { background: var(--danger); }
table.score .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
code { font-size: 12.5px; word-break: break-all; }

.live-alert { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2000; width: min(640px, calc(100% - 32px));
  background: var(--danger); color: #fff; border-radius: var(--r-md); box-shadow: 0 6px 24px rgba(0,0,0,.35); overflow: hidden; }
.live-alert::before { content: ""; display: block; height: 8px; background: var(--hazard-stripe); }
.live-alert .in { padding: 12px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.live-alert strong { font-size: 18px; display: block; }
.live-alert a { color: #fff; font-weight: 700; }
.live-alert .btn { background: #fff; color: var(--danger); border-color: #fff; }
.live-alert .grow { flex: 1 1 260px; }
@media (prefers-reduced-motion: no-preference) { .live-alert { animation: live-pulse 1.2s ease-in-out 3; } }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 8px rgba(184,36,26,.35); } }

/* ---------- Uygulama indirme ---------- */
.login { gap: 16px; align-content: center; }
.dl-card { max-width: 520px; }
.dl-mini { max-width: 400px; }
.dl-mini::before { height: 6px; }
.dl-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.qr { width: 100%; max-width: 280px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 6px; }
.qr svg { display: block; width: 100%; height: auto; }
.qr-sm { max-width: 132px; margin: 0; }
.btn-big { font-size: 18px; padding: 14px 18px; justify-content: center; text-align: center; }
.h-small { font-size: 16px; margin: 0 0 6px; }
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }

/* ---------- Giriş sayfası (kontrol odası) ---------- */
body.auth { background: #121A20; color: #E6ECEF; min-height: 100vh; }
.auth-wrap {
  min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 440px); gap: 48px;
  align-items: center; padding: 48px clamp(20px, 5vw, 72px);
  background:
    radial-gradient(900px 600px at 22% 38%, rgba(242, 183, 5, .10), transparent 60%),
    radial-gradient(700px 500px at 85% 90%, rgba(184, 36, 26, .12), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 40px 40px,
    #121A20;
}
.auth-hero { max-width: 620px; display: flex; flex-direction: column; gap: 22px; }
.auth-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: .02em; color: #C9D3D8; }
.auth-mark { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--hazard); color: #1E2A32;
  box-shadow: 0 0 0 6px rgba(242, 183, 5, .12), 0 10px 30px rgba(242, 183, 5, .25); }
.auth-title { margin: 0; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.auth-title span { color: var(--hazard); }
.auth-lead { margin: 0; font-size: 18px; line-height: 1.55; color: #AFBDC4; max-width: 54ch; }
.auth-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.auth-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); color: #DCE4E8; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; }
.d-red { background: #E5483D; } .d-amber { background: var(--hazard); } .d-green { background: #3BB273; }
.auth-status { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #8FA0A8; }
.auth-status .live-dot { background: #3BB273; box-shadow: 0 0 0 4px rgba(59,178,115,.18); animation: auth-blink 2s ease-in-out infinite; }

/* Radar */
.auth-radar { position: relative; width: 210px; height: 210px; margin: 4px 0 6px; }
.auth-radar .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(242, 183, 5, .55); opacity: 0;
  animation: auth-pulse 3.6s cubic-bezier(.2,.6,.3,1) infinite; }
.auth-radar .r2 { animation-delay: 1.2s; } .auth-radar .r3 { animation-delay: 2.4s; }
.auth-radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, transparent 0 32%, rgba(255,255,255,.06) 32.5% 33%, transparent 33.5% 65%, rgba(255,255,255,.06) 65.5% 66%, transparent 66.5%); }
.auth-radar .sweep { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(242,183,5,.32), rgba(242,183,5,0) 70deg, transparent 360deg); animation: auth-spin 4s linear infinite; }
.auth-radar .core { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #1E2A32; border: 2px solid rgba(242,183,5,.8);
  box-shadow: 0 0 0 8px rgba(242,183,5,.08), 0 0 40px rgba(242,183,5,.35); }
.auth-radar .blip { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #E5483D;
  box-shadow: 0 0 0 4px rgba(229,72,61,.22), 0 0 14px rgba(229,72,61,.8); animation: auth-blip 4s linear infinite; opacity: 0; }
.auth-radar .b1 { left: 72%; top: 22%; animation-delay: .5s; }
.auth-radar .b2 { left: 18%; top: 66%; animation-delay: 2.1s; background: var(--hazard); box-shadow: 0 0 0 4px rgba(242,183,5,.2), 0 0 14px rgba(242,183,5,.8); }
.auth-radar .b3 { left: 80%; top: 70%; animation-delay: 3.2s; }

@keyframes auth-pulse { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(1.15); opacity: 0; } }
@keyframes auth-spin { to { transform: rotate(360deg); } }
@keyframes auth-blip { 0%, 8% { opacity: 0; transform: scale(.4); } 12% { opacity: 1; transform: scale(1.1); } 40% { opacity: .9; transform: scale(1); } 60%, 100% { opacity: 0; } }
@keyframes auth-blink { 50% { opacity: .45; } }

/* Sağ sütun */
.auth-side { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.auth-card { background: #fff; color: var(--ink); border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); }
.auth-card::before { content: ""; display: block; height: 8px; background: var(--hazard-stripe); }
.auth-card-in { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.auth-card-title { margin: 0 0 2px; font-size: 22px; }
.auth-card input:focus { border-color: var(--hazard); box-shadow: 0 0 0 3px rgba(242,183,5,.35); outline: none; }
.auth-submit { min-height: 46px; font-size: 16px; font-weight: 700; }
.auth-dl { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); color: #DCE4E8; }
.auth-dl .muted, .auth-dl .small.muted { color: #8FA0A8; }
.auth-dl a:not(.btn) { color: var(--hazard); }
.auth-dl-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.auth-dl-text p { margin: 0; }
.auth-dl .h-small { color: #fff; margin: 0; }
.auth-qr { flex: 0 0 116px; max-width: 116px; margin: 0; border: 0; border-radius: 10px; padding: 6px; }
.auth-dl-btn { background: var(--hazard); border-color: var(--hazard); color: var(--hazard-ink); font-weight: 700; align-self: flex-start; }
.auth-dl-btn:hover { background: #E0A800; color: var(--hazard-ink); }

@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; gap: 28px; padding: 28px 16px 40px; align-items: start; }
  .auth-hero { gap: 16px; }
  .auth-radar { width: 150px; height: 150px; }
  .auth-radar .core { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .auth-lead { font-size: 16px; }
  .auth-side { max-width: 480px; }
}
@media (max-width: 420px) {
  .auth-dl { flex-direction: column; align-items: flex-start; }
}
