:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --panel: #ffffff;
  --ink: #1f2a32;
  --muted: #6c7780;
  --line: #d9e0e4;
  --nav: #1d2630;
  --red: #d52f3b;
  --green: #2f9f66;
  --amber: #b98925;
  --blue: #2f6fb1;
}

/* ===================================================================
   .app — Operatör panelinin ortak KOYU temasi (tum kimlik-dogrulamali
   sayfalar). Yalnizca renk/yuzey/font; layout & responsive grid'lere
   dokunmaz. Public/giris sayfalari (public_layout) ETKILENMEZ.
   Dashboard/Pasaport ozel bloklari dosya sonunda olup eslesmede kazanir.
   =================================================================== */
.app {
  --c-bg: #0e1116;
  --c-surface: #151a22;
  --c-surface-2: #1b2230;
  --c-line: #28303f;
  --c-ink: #e7ecf3;
  --c-muted: #8a97a8;
  --c-accent: #5b8def;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
}
.app .main { min-height: 100vh; }
.app h1 { letter-spacing: -0.02em; }
.app .eyebrow { color: var(--c-accent); }

.app .button,
.app button {
  border-color: var(--c-line);
  background: var(--c-surface-2);
  color: var(--c-ink);
}
.app .button:hover,
.app button:hover { border-color: var(--c-accent); }
.app .button.primary,
.app button.primary {
  border-color: var(--c-accent);
  background: var(--c-accent);
  color: #fff;
}
.app .button.danger { color: #f08a98; }
.app .otp-button { border-color: #2d6f9f; color: #9fc8e6; }

.app label {
  color: #8fa0b3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.app input,
.app select,
.app textarea {
  border-color: var(--c-line);
  background: var(--c-surface-2);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}
.app input::placeholder { color: #6b7686; }

/* Bolum basliklari: aksan cubuklu, disiplinli */
.app .panel > h2,
.app .form-section > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  letter-spacing: 0.01em;
}
.app .panel > h2::before,
.app .form-section > h2::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 17px;
  border-radius: 2px;
  background: var(--c-accent);
}

.app .panel,
.app .metric,
.app .group-card {
  border-color: var(--c-line);
  background: var(--c-surface);
}
.app .metric span { color: var(--c-muted); }
.app .metric strong {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}
.app .group-card p { color: var(--c-muted); }
.app .member-list li { border-top-color: var(--c-line); }

.app th {
  color: var(--c-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.app td,
.app th { border-bottom-color: var(--c-line); }

.app .badge {
  background: var(--c-surface-2);
  color: #b6c2d0;
}
/* Koyu tema durum rozetleri: acik krem/mint yerine tonlu-koyu yuzey + kenarlik.
   (Light temanin #fff5df/#e7f5ee arka planlari koyu temada berbat gorunuyordu.) */
.app .status,
.app .group-status {
  border: 1px solid transparent;
  background: var(--c-surface-2);
  color: #b6c2d0;
}
.app .status.ok,
.app .group-status.ok {
  background: #10251b;
  border-color: #1f4834;
  color: #5fd39a;
}
.app .status.warn,
.app .group-status.warn {
  background: #241f10;
  border-color: #46381a;
  color: #e4b451;
}
.app .status.info {
  background: #142238;
  border-color: #223f61;
  color: #7fb2f2;
}
.app .status.error {
  background: #281519;
  border-color: #4c2930;
  color: #f0919d;
}
.app .form-note {
  border-left-color: var(--c-accent);
  background: #16202e;
  color: #aeb9c6;
}
.app .empty,
.app .muted { color: var(--c-muted); }

/* OTP yonetim / link sayfasi bilesenleri */
.app .otp-state { background: #211c0e; }
.app .otp-state.ready { background: #122019; }
.app .otp-state.error { background: #25151a; }
.app .otp-state p,
.app .otp-link-box small,
.app .otp-person small,
.app .otp-label { color: var(--c-muted); }
.app .otp-log-box li {
  border-color: var(--c-line);
  background: var(--c-surface-2);
  color: var(--c-ink);
  border-left: 3px solid #3d4757;
}
.app .otp-log-box li.sev-warn { border-left-color: #f5a524; }
.app .otp-log-box li.sev-error {
  border-left-color: #e5484d;
  background: rgba(229, 72, 77, 0.08);
}
.app .otp-log-box ol {
  scrollbar-width: thin;
  scrollbar-color: #38414f transparent;
}
.app .otp-log-box ol::-webkit-scrollbar { width: 8px; }
.app .otp-log-box ol::-webkit-scrollbar-thumb {
  background: #38414f;
  border-radius: 8px;
}
.app .otp-person { border-bottom-color: var(--c-line); }

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 248px;
  background: var(--nav);
  color: #fff;
  padding: 24px 18px;
}

.brand {
  font-size: 27px;
  font-weight: 800;
  margin-bottom: 28px;
}

.brand span {
  display: inline-block;
  margin-left: 6px;
  color: #9fb2c4;
  font-size: 12px;
  font-weight: 700;
}

nav {
  display: grid;
  gap: 8px;
}

nav a {
  padding: 12px 13px;
  border-radius: 6px;
  color: #d8e0e6;
  font-weight: 700;
}

nav a.active,
nav a:hover {
  background: #33404d;
  color: #fff;
}

.nav-badge {
  display: inline-block;
  min-width: 18px;
  padding: 1px 6px;
  margin-left: 4px;
  border-radius: 10px;
  background: #e5484d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}

.user-box {
  display: grid;
  gap: 2px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #33404d;
}

.user-box span {
  font-size: 14px;
  font-weight: 800;
}

.user-box small {
  color: #9fb2c4;
  font-size: 12px;
  font-weight: 700;
}

.user-box a {
  margin-top: 8px;
  color: #d8e0e6;
  font-size: 13px;
  font-weight: 800;
}

.user-box a:hover {
  color: #fff;
}

/* Cikis artik POST formu (CSRF icin); link gorunumu korunur */
.user-box .linklike {
  margin-top: 8px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #d8e0e6;
  font-size: 13px;
  font-weight: 800;
}

.user-box .linklike:hover {
  color: #fff;
}

.main {
  margin-left: 248px;
  padding: 32px;
}

.page-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 32px;
}

h2 {
  margin-bottom: 16px;
  font-size: 20px;
}

h3 {
  margin-bottom: 5px;
  font-size: 17px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
button.primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.button.small {
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.metric,
.panel,
.group-card,
.public-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metric {
  padding: 18px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
}

.panel {
  padding: 20px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 18px;
}

.form-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
  align-items: start;
}

.split-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* ─── Kart cuzdani: kart formlarinin (Global Kart / Firma Karti) ozel
   bileseni. Sadece koyu .app kabugu icinde kullanilir. ─────────────── */
.card-wallet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card-wallet-preview {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  padding: 22px 24px 20px;
  background: linear-gradient(135deg, #1b2230 0%, #0e1116 100%);
  border: 1px solid #28303f;
}

.card-wallet-preview::after {
  content: "";
  position: absolute;
  inset: -60% -20% auto auto;
  width: 240px;
  height: 240px;
  z-index: -1;
  background: radial-gradient(circle, rgba(91, 141, 239, 0.28), transparent 70%);
}

.card-wallet-chip {
  width: 34px;
  height: 25px;
  border-radius: 5px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #e3cf94, #a9843f);
}

.card-wallet-number {
  min-height: 24px;
  margin-bottom: 20px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 19px;
  letter-spacing: 2px;
  color: #e7ecf3;
}

.card-wallet-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a97a8;
}

.card-wallet-meta strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #e7ecf3;
  font-weight: 700;
}

.card-field {
  gap: 2px !important;
  padding: 9px 16px 11px;
  background: #1b2230;
  border: 1px solid #28303f;
  border-radius: 14px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a97a8 !important;
  transition: border-color 0.15s ease;
}

.card-field:focus-within {
  border-color: #5b8def;
}

.card-field input {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 0;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #e7ecf3;
}

.card-field input:focus {
  outline: none;
}

.card-wallet-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.card-expiry-inputs {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.card-expiry-inputs input {
  width: 2.1ch;
  flex: 0 0 auto;
  text-align: center;
}

.card-expiry-inputs span {
  color: #565f6d;
}

/* ─── Anahtar (toggle switch): checkbox'in gorunur ikamesi ───────────── */
.switch-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.switch-row input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  min-height: 0;
}

.switch-track {
  flex: 0 0 auto;
  width: 44px;
  height: 25px;
  margin-top: 1px;
  border-radius: 13px;
  background: #28303f;
  border: 1px solid #38414f;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.switch-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #8a97a8;
  transition: transform 0.15s ease, background 0.15s ease;
}

.switch-row input:checked + .switch-track {
  background: #5b8def;
  border-color: #5b8def;
}

.switch-row input:checked + .switch-track::after {
  transform: translateX(19px);
  background: #fff;
}

.switch-row input:focus-visible + .switch-track {
  outline: 2px solid #5b8def;
  outline-offset: 2px;
}

.switch-text {
  display: grid;
  gap: 4px;
  text-transform: none;
  letter-spacing: 0;
  color: #e7ecf3;
}

.switch-text strong {
  font-size: 14px;
}

.switch-text small {
  color: #8a97a8;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
}

/* Uzun tablolar sayfayi uzatmasin: sabit yukseklik + kendi icinde kaydirma */
.table-scroll {
  max-height: 300px;
  overflow-y: auto;
}

.table-scroll thead th {
  position: sticky;
  top: 0;
  background: var(--c-surface, #fff);
  z-index: 1;
}

/* ═══ Operasyon Konsolu: tum log listelerinin ortak bileseni ═══════════
   Severity rengi yalnizca anlam tasidiginda kullanilir: hata kirmizi ray,
   uyari kehribar, bilgi sessiz gri, basarili giris yesil. Kaydirma sayfada
   degil konsolun icindedir. */
.console-live {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a97a8;
  font-size: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #46c98c;
  box-shadow: 0 0 0 0 rgba(70, 201, 140, 0.5);
  animation: consolePulse 2s infinite;
}

@keyframes consolePulse {
  70% { box-shadow: 0 0 0 8px rgba(70, 201, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 201, 140, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot { animation: none; }
}

.console-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.console-bar form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.console-search {
  width: 260px;
  flex: 0 1 260px;
}

.sev-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid #28303f;
  background: #1b2230;
  color: #e7ecf3;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.sev-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8a97a8;
}

.sev-chip.sev-error::before { background: #e5484d; }
.sev-chip.sev-warn::before { background: #f5a524; }
.sev-chip.is-zero { opacity: 0.45; }
.sev-chip:hover { border-color: #5b8def; }

/* Secili cip: yalnizca o seviye gosterilir; secim varken digerleri soner */
.sev-chip.is-on.sev-error {
  border-color: #e5484d;
  background: rgba(229, 72, 77, 0.14);
}

.sev-chip.is-on.sev-warn {
  border-color: #f5a524;
  background: rgba(245, 165, 36, 0.14);
}

.sev-chip.is-on.sev-info {
  border-color: #5b8def;
  background: rgba(91, 141, 239, 0.14);
}

.console-bar:has(.sev-chip.is-on) .sev-chip:not(.is-on) {
  opacity: 0.45;
}

.sev-chip:focus-visible {
  outline: 2px solid #5b8def;
  outline-offset: 2px;
}

.console {
  overflow-y: auto;
  max-height: 420px;
  border: 1px solid #28303f;
  border-radius: 12px;
  background: #10151d;
  scrollbar-width: thin;
  scrollbar-color: #38414f transparent;
}

.page-logs .console {
  max-height: none;
  height: calc(100vh - 320px);
  min-height: 340px;
}

.console::-webkit-scrollbar { width: 8px; }
.console::-webkit-scrollbar-track { background: transparent; }

.console::-webkit-scrollbar-thumb {
  background: #38414f;
  border-radius: 8px;
}

.console::-webkit-scrollbar-thumb:hover { background: #5b8def; }

.console-day {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 7px 16px;
  background: #151b25;
  color: #8a97a8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 1px solid #232b39;
}

.console-row {
  display: grid;
  grid-template-columns: 76px 110px 1fr;
  gap: 12px;
  align-items: start;
  padding: 9px 16px 9px 13px;
  border-left: 3px solid #3d4757;
  border-bottom: 1px solid #1b2230;
  cursor: pointer;
}

.console-row[hidden],
.console-day[hidden] { display: none; }

.console-row:hover { background: #161d28; }
.console-row.sev-warn { border-left-color: #f5a524; }
.console-row.sev-ok { border-left-color: #46c98c; }

.console-row.sev-error {
  border-left-color: #e5484d;
  background: rgba(229, 72, 77, 0.05);
}

.console-row.sev-error:hover { background: rgba(229, 72, 77, 0.09); }

.c-time {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #8a97a8;
  padding-top: 1px;
  white-space: nowrap;
}

.c-firm {
  font-size: 12px;
  color: #aeb9c6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-top: 1px;
}

.c-msg {
  font-size: 13px;
  line-height: 1.5;
  color: #e7ecf3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.console-row.expanded .c-msg {
  display: block;
  -webkit-line-clamp: none;
}

.c-msg .button { margin-left: 8px; }

.console .empty,
.console-empty-filter {
  padding: 28px 16px;
  text-align: center;
  color: #8a97a8;
  cursor: default;
  border-bottom: 0;
}

.form-section h2,
.wide {
  grid-column: 1 / -1;
}

.form-note {
  margin: -4px 0 4px;
  padding: 11px 12px;
  border-left: 4px solid var(--blue);
  background: #eef5fb;
  color: #43515d;
  font-size: 13px;
  line-height: 1.45;
}

label {
  display: grid;
  gap: 7px;
  color: #34414d;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8de;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  min-height: 40px;
  padding: 9px 11px;
}

textarea {
  resize: vertical;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.report-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 240px)) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}

.report-filter .form-actions {
  grid-column: auto;
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(90px, 120px) 82px auto;
  gap: 8px;
  align-items: center;
}

.inline-form input,
.inline-form select {
  min-height: 34px;
  padding: 6px 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.status,
.badge,
.group-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

/* Grup durum rozeti grid hucresinde dikeyde strec ediyordu -> dev oval olusuyordu.
   Icerigine sarilsin, sag-uste kompakt otursun; oran rakamlari tabular. */
.group-status {
  align-self: start;
  justify-self: end;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.status.ok,
.group-status.ok {
  background: #e7f5ee;
  color: var(--green);
}

.status.warn,
.group-status.warn {
  background: #fff5df;
  color: var(--amber);
}

.status.info {
  background: #e8f1fb;
  color: var(--blue);
}

.status.error {
  background: #fde9eb;
  color: var(--red);
}

.status-stack {
  display: grid;
  gap: 7px;
  min-width: 150px;
}

.status-stack .status {
  width: fit-content;
}

.status-error {
  max-width: 260px;
  color: var(--red);
  font-size: 12px;
  line-height: 1.4;
}

.badge {
  background: #eef3f7;
  color: #50606d;
}

.actions,
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.passport-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.passport-tabs {
  display: flex;
  gap: 8px;
}

.passport-tab {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.passport-tab.active {
  border-color: #231f1a;
  background: #231f1a;
  color: #fff;
}

.passport-filters {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 240px);
  gap: 10px;
}

.passport-groups {
  display: grid;
  gap: 14px;
}

.passport-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.passport-group[hidden] {
  display: none;
}

.passport-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: #231f1a;
  color: #fff;
}

.passport-group.ungrouped .passport-group-head {
  background: #465461;
}

.passport-group-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.passport-group-title strong {
  font-size: 14px;
}

.passport-group-title span {
  color: #f0a13a;
  font-size: 13px;
  font-weight: 800;
}

.passport-group-title small {
  width: 100%;
  color: #c9c2b9;
  font-size: 11px;
}

.passport-group-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.passport-group-actions .button {
  border-color: #fff;
}

.passport-members {
  display: grid;
}

.passport-member {
  display: grid;
  grid-template-columns: 34px minmax(190px, 1.4fr) repeat(3, minmax(110px, 0.8fr)) minmax(130px, 0.9fr) minmax(220px, 1.4fr);
  gap: 12px;
  align-items: center;
  min-height: 74px;
  padding: 10px 14px;
  border-bottom: 1px solid #edf0f2;
}

.passport-member:last-child {
  border-bottom: 0;
}

.member-position {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef2f5;
  color: #44515b;
  font-size: 12px;
  font-weight: 800;
}

.member-name,
.member-detail {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.member-name strong,
.member-detail strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.member-name small,
.member-detail span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.member-status .status {
  white-space: nowrap;
}

.member-actions-cell {
  min-width: 0;
}

.passport-member-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.passport-member-actions .button.small {
  min-height: 28px;
  padding: 0 8px;
  font-size: 11px;
}

.passport-member-actions + .status-error {
  display: block;
  margin-top: 6px;
}

.member-alert {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #fff4e5;
  border: 1px solid #f0c98a;
  color: #8a5300;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.passport-group-notes {
  padding: 10px 14px;
  border-top: 1px solid #ece7c8;
  background: #fffbea;
  color: #66717a;
  font-size: 12px;
}

.passport-member-empty,
.passport-empty,
.passport-filter-empty {
  padding: 28px;
  text-align: center;
}

.group-list {
  display: grid;
  gap: 12px;
}

.group-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px;
}

.group-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.member-list {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.card-actions {
  grid-column: 1 / -1;
}

.alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.alert.error {
  background: #fde9eb;
  color: var(--red);
}

.alert.success {
  background: #e7f5ee;
  color: var(--green);
}

.empty,
.muted {
  color: var(--muted);
}

.link-panel {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.otp-button {
  border-color: #2d6f9f;
  color: #245d86;
}

.otp-manage {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.otp-person,
.otp-link-row,
.otp-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.otp-person {
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.otp-person div {
  display: grid;
  gap: 4px;
}

.otp-person small,
.otp-link-box small {
  color: var(--muted);
}

.otp-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.otp-state {
  padding: 14px 16px;
  border-left: 4px solid #d79b2b;
  background: #fff8e8;
}

.otp-state.ready {
  border-color: var(--green);
  background: #e7f5ee;
}

.otp-state.error {
  border-color: #b42318;
  background: #fff1f0;
}

.otp-state p {
  margin: 6px 0 0;
  color: var(--muted);
}

.otp-link-box {
  display: grid;
  gap: 8px;
}

.otp-log-box {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.otp-log-box ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.otp-log-box li {
  display: grid;
  grid-template-columns: 150px 64px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
}

.otp-log-box span {
  color: var(--muted);
  font-size: 12px;
}

.otp-log-box strong {
  color: #245d86;
  font-size: 12px;
}

.otp-link-row input {
  flex: 1;
  min-width: 0;
}

.otp-preview-section {
  margin-top: 20px;
}

.otp-preview {
  width: 100%;
  min-height: 620px;
  border: 1px solid var(--line);
  background: #fff;
}

.public {
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(120deg, #eef3f7, #ffffff);
}

.public-card {
  width: min(560px, 100%);
  padding: 26px;
  box-shadow: 0 18px 48px rgba(24, 34, 44, 0.12);
}

.passport-banner,
.verify-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.passport-banner {
  margin: 18px 0;
  padding: 14px 16px;
  background: #eef5ff;
  color: #24508d;
}

.verify-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.verify-card h2 {
  margin-bottom: 0;
}

.public-form {
  display: grid;
  gap: 14px;
}

.public-form input[name="otp_code"] {
  min-height: 58px;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 12px;
}

.flow-box {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid #d7e4ee;
  border-radius: 8px;
  background: #f4f8fb;
  color: #384957;
}

.flow-box strong {
  display: block;
  margin-bottom: 8px;
}

.flow-box ol {
  margin: 0;
  padding-left: 20px;
}

.flow-box li {
  margin: 6px 0;
  line-height: 1.4;
}

.public-form label span {
  color: var(--muted);
  font-weight: 400;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
}

.check input {
  width: auto;
  min-height: auto;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .sidebar {
    position: static;
    width: auto;
  }

  .main {
    margin-left: 0;
    padding: 20px;
  }

  .metrics,
  .admin-grid,
  .form-grid,
  .form-section,
  .report-filter {
    grid-template-columns: 1fr;
  }

  .report-filter .form-actions {
    grid-column: 1;
  }

  .console-row {
    grid-template-columns: 70px 1fr;
  }

  .c-firm { display: none; }

  .console-bar form { margin-left: 0; }

  .page-logs .console { height: calc(100vh - 380px); }

  .inline-form {
    grid-template-columns: 1fr;
  }

  .page-head,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .otp-person,
  .otp-link-row,
  .otp-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .otp-log-box li {
    grid-template-columns: 1fr;
  }

  .passport-filters {
    grid-template-columns: 1fr;
  }

  .passport-group-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .passport-member {
    grid-template-columns: 32px 1fr;
    gap: 10px;
  }

  .member-detail,
  .member-status,
  .member-actions-cell {
    grid-column: 2;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}

/* ===================================================================
   Dashboard — "Operasyon Konsolu" (yalnizca .page-dashboard'a scope'lu)
   Diger sayfalar bu kurallardan etkilenmez.
   =================================================================== */
.page-dashboard {
  --c-bg: #0e1116;
  --c-surface: #151a22;
  --c-surface-2: #1b2230;
  --c-line: #28303f;
  --c-ink: #e7ecf3;
  --c-muted: #8a97a8;
  --c-accent: #5b8def;
  --c-found: #41c98a;
  --c-pay: #e0a33b;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
}
.page-dashboard .main {
  min-height: 100vh;
  padding: 36px 40px;
}

.page-dashboard .console-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-dashboard .c-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--c-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.page-dashboard .c-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-found);
  animation: c-pulse 2s infinite;
}
@keyframes c-pulse {
  0% { box-shadow: 0 0 0 0 rgba(65, 201, 138, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(65, 201, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(65, 201, 138, 0); }
}
.page-dashboard h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-dashboard .c-action {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--c-accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.page-dashboard .c-action:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.page-dashboard .c-action:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.page-dashboard .c-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.page-dashboard .c-tile {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: linear-gradient(160deg, var(--c-surface-2), var(--c-surface));
}
.page-dashboard .c-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
}
.page-dashboard .c-tile--found::before { background: var(--c-found); }
.page-dashboard .c-tile--pay::before { background: var(--c-pay); }
.page-dashboard .c-tile span {
  display: block;
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.page-dashboard .c-tile strong {
  display: block;
  margin: 6px 0 2px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.page-dashboard .c-tile--found strong { color: var(--c-found); }
.page-dashboard .c-tile--pay strong { color: var(--c-pay); }
.page-dashboard .c-tile em {
  font-style: normal;
  color: var(--c-muted);
  font-size: 13px;
}

.page-dashboard .c-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.page-dashboard .c-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  background: var(--c-surface);
}
.page-dashboard .c-stat span {
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 500;
}
.page-dashboard .c-stat strong {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.page-dashboard .c-board {
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: var(--c-surface);
}
.page-dashboard .c-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-line);
}
.page-dashboard .c-board-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.page-dashboard .c-board-head a {
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 600;
}
.page-dashboard .group-list {
  display: block;
  gap: 0;
}
.page-dashboard .group-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 20px;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  border-radius: 0;
  background: transparent;
}
.page-dashboard .group-card:last-child { border-bottom: 0; }
.page-dashboard .group-card:hover { background: var(--c-surface-2); }
.page-dashboard .group-card h3 {
  margin: 0 0 4px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
}
.page-dashboard .group-card p {
  margin: 2px 0 0;
  color: var(--c-muted);
  font-size: 12px;
}
.page-dashboard .group-status {
  min-height: 0;
  padding: 0;
  background: transparent;
}
.page-dashboard .found {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--c-found);
}
.page-dashboard .c-empty {
  padding: 28px 20px;
  color: var(--c-muted);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .page-dashboard .c-eyebrow i { animation: none; }
}
@media (max-width: 900px) {
  .page-dashboard .main { padding: 20px; }
  .page-dashboard .c-hero,
  .page-dashboard .c-stats { grid-template-columns: 1fr; }
  .page-dashboard .console-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-dashboard .c-tile strong { font-size: 48px; }
}

/* ===================================================================
   Pasaportlar — Operasyon Konsolu (yalnizca .page-passports'a scope'lu)
   Sadece renk/yuzey/font override'lari; layout & responsive grid'lere
   DOKUNULMAZ (mevcut kurallardan miras alir).
   =================================================================== */
.page-passports {
  --c-bg: #0e1116;
  --c-surface: #151a22;
  --c-surface-2: #1b2230;
  --c-line: #28303f;
  --c-ink: #e7ecf3;
  --c-muted: #8a97a8;
  --c-accent: #5b8def;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
}
.page-passports h1 { letter-spacing: -0.02em; }
.page-passports .eyebrow { color: var(--c-accent); }
.page-passports .button.primary {
  border-color: var(--c-accent);
  background: var(--c-accent);
}

/* genel butonlar + inputlar (koyu) */
.page-passports .button {
  border-color: var(--c-line);
  background: var(--c-surface-2);
  color: var(--c-ink);
}
.page-passports .button:hover { border-color: var(--c-accent); }
.page-passports .button.danger { color: #f08a98; }
.page-passports .otp-button { border-color: #2d6f9f; color: #9fc8e6; }
.page-passports label { color: #c4ccd6; }
.page-passports input,
.page-passports select,
.page-passports textarea {
  border-color: var(--c-line);
  background: var(--c-surface-2);
  color: var(--c-ink);
}
.page-passports input::placeholder { color: #6b7686; }

/* sekmeler */
.page-passports .passport-tab {
  border-color: var(--c-line);
  background: var(--c-surface-2);
  color: var(--c-ink);
}
.page-passports .passport-tab.active {
  border-color: var(--c-accent);
  background: var(--c-accent);
  color: #fff;
}

/* grup kartlari */
.page-passports .passport-group {
  border-color: var(--c-line);
  background: var(--c-surface);
}
.page-passports .passport-group-head { background: var(--c-surface-2); }
.page-passports .passport-group.ungrouped .passport-group-head { background: #243042; }
.page-passports .passport-group-actions .button { border-color: var(--c-line); }
.page-passports .passport-member { border-bottom-color: var(--c-line); }
.page-passports .member-position {
  background: var(--c-surface-2);
  color: var(--c-ink);
}
/* veri alanlari monospace (imza) */
.page-passports .member-detail strong {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.page-passports .passport-group-notes {
  border-top-color: var(--c-line);
  background: #1f2417;
  color: #c9c7a8;
}
.page-passports .passport-empty,
.page-passports .passport-filter-empty,
.page-passports .passport-member-empty {
  border-color: var(--c-line);
  background: var(--c-surface);
  color: var(--c-muted);
}
.page-passports .status-error { color: #f08a98; }

/* ── Kullanıcı düzenleme modalı ──────────────────────────────────────────
   Satırdaki "Düzenle" butonuyla açılan native <dialog>. Panelin koyu teması,
   aksan rengi ve aksan-çubuklu bölüm başlıklarıyla aynı dili konuşur. */
.user-dialog {
  width: min(540px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: 0;
  border: 1px solid var(--c-line, #28303f);
  border-radius: 18px;
  background: var(--c-surface, #151a22);
  color: var(--c-ink, #e7ecf3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.user-dialog::backdrop {
  background: rgba(7, 10, 15, 0.62);
  backdrop-filter: blur(4px);
}
.user-dialog__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--c-line, #28303f);
  background: linear-gradient(180deg, rgba(91, 141, 239, 0.10), transparent);
}
.user-dialog__avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-accent, #5b8def);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
.user-dialog__id {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.user-dialog__id strong { font-size: 17px; letter-spacing: -0.01em; }
.user-dialog__id small { color: var(--c-muted, #8a97a8); font-size: 12.5px; }
.user-dialog__close { margin: 0 0 0 auto; }
.user-dialog__close button {
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  border-radius: 9px;
  color: var(--c-muted, #8a97a8);
}
.user-dialog__sec {
  padding: 18px 24px;
  border-bottom: 1px solid var(--c-line, #28303f);
}
.user-dialog__sec:last-child { border-bottom: 0; }
.user-dialog__sec h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.user-dialog__sec h4::before {
  content: "";
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--c-accent, #5b8def);
}
.user-dialog__sec--danger h4::before { background: #e0566a; }
.user-dialog__hint {
  margin: 0 0 12px;
  color: var(--c-muted, #8a97a8);
  font-size: 12.5px;
  line-height: 1.5;
}
.user-dialog__form { display: grid; gap: 13px; }
.user-dialog__form label { display: grid; gap: 6px; }
.user-dialog__form input,
.user-dialog__form select { width: 100%; }
.user-dialog__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}
@media (max-width: 560px) {
  .user-dialog__head,
  .user-dialog__sec { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .user-dialog[open] { animation: userDialogIn 180ms cubic-bezier(0.16, 1, 0.3, 1); }
  @keyframes userDialogIn {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: none; }
  }
}

/* ── Giriş sayfası — mavi glassmorphism ──────────────────────────────────
   Yalnizca <body class="public login"> kapsaminda; diger public sayfalari
   (kayit / dogrulama) ETKILENMEZ. Kendi kendine yeten, harici varlik yok. */
.public.login {
  padding: 0;
  background: #1c2c58;
}
.login-scene {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 14% 8%, #6389d8 0%, #3c5faa 40%, #263a72 72%, #1a2650 100%);
}
.login-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  pointer-events: none;
}
.login-blob--1 {
  width: 440px;
  height: 440px;
  left: -90px;
  top: -70px;
  background: radial-gradient(circle at 32% 30%, #a6c4f8, #5885dd);
  opacity: 0.55;
}
.login-blob--2 {
  width: 560px;
  height: 560px;
  right: -140px;
  bottom: -160px;
  background: radial-gradient(circle at 40% 40%, #83aaf0, #3d62b6);
  opacity: 0.5;
}
.login-blob--3 {
  width: 320px;
  height: 320px;
  right: 20%;
  top: 10%;
  background: radial-gradient(circle at 50% 50%, #c3d7fb, #7099e8);
  opacity: 0.32;
}
.login-glass {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 15px;
  width: min(400px, 100%);
  padding: 40px 34px 34px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(23, 39, 82, 0.42);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 30px 70px rgba(10, 18, 40, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #eaf1ff;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.login-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #9dc0ff, #4f7fe0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 6px 16px rgba(52, 92, 180, 0.5);
}
.login-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translate(-62%, -50%) rotate(45deg);
  border-top: 2.5px solid rgba(255, 255, 255, 0.92);
  border-right: 2.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 1px;
}
.login-brand__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226, 236, 255, 0.75);
}
.login-title {
  margin: 4px 0 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.login-subtitle {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(214, 226, 250, 0.72);
}
.login-field {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(214, 226, 250, 0.85);
}
.login-field input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.login-field input::placeholder { color: rgba(255, 255, 255, 0.5); }
.login-field input:focus {
  outline: none;
  border-color: rgba(157, 192, 255, 0.9);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 3px rgba(120, 160, 240, 0.25);
}
.login-submit {
  margin-top: 8px;
  padding: 13px;
  border: 0;
  border-radius: 12px;
  background: #0f1830;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
}
.login-submit:hover { background: #18294a; box-shadow: 0 12px 26px rgba(8, 14, 30, 0.5); }
.login-submit:active { transform: translateY(1px); }
.login-glass .alert.error {
  border: 1px solid rgba(255, 138, 152, 0.4);
  border-radius: 12px;
  background: rgba(120, 30, 42, 0.4);
  color: #ffd7dc;
}
@media (prefers-reduced-motion: no-preference) {
  .login-glass { animation: loginIn 260ms cubic-bezier(0.16, 1, 0.3, 1); }
  @keyframes loginIn {
    from { opacity: 0; transform: translateY(12px) scale(0.99); }
    to { opacity: 1; transform: none; }
  }
}
