/* OMAP — "Neon glass" theme (user decision 2026-11-03). GENERATED by tools/build_theme_glass.py — edit that.
   Loaded AFTER style.css and overrides it; remove this file's <link> to get the old navy/gold HUD theme back. */

:root {
  color-scheme: dark;
  --bg:         #000000;
  --surface:    #0a0e1a;
  --surface-2:  #10162a;
  --text:       #f2f7ff;
  --text-muted: rgba(190, 205, 235, 0.8);
  --border:     rgba(120, 160, 255, 0.3);

  --navy:       #0a1424;
  --blue:       #2f6bff;
  --sky:        #5b8cff;
  /* the old gold accents become neon blue / white */
  --gold:       #6f9bff;
  --gold-hi:    #9db9ff;
  --gold-pale:  #e3f1ff;

  --danger:     #ff7b7b;
  --success:    #4ade80;
  --warning:    #ffc85c;
  --purple:     #c4b2ff;

  --hud:        #6f9bff;
  --hud-soft:   rgba(111, 155, 255, 0.6);
  --hud-line:   rgba(120, 160, 255, 0.28);
  --hud-grid:   transparent;
  --hud-panel:  rgba(12, 16, 30, 0.6);
  --hud-glow:   0 0 12px rgba(47, 107, 255, 0.6);
  --gold-glow:  0 0 12px rgba(47, 107, 255, 0.6);
  --hud-font:   'Inter', 'Segoe UI', system-ui, sans-serif;
  --chamfer:    0px;

  --panel:        rgba(22, 34, 66, 0.58);    /* dark glass */
  --panel-2:      rgba(32, 48, 88, 0.45);    /* glass inside glass (boxes) */
  --panel-strong: rgba(12, 22, 48, 0.86);    /* modals, sticky bars, menus */
  --edge:         rgba(125, 165, 255, 0.42); /* thin cool edge */
  --edge-soft:    rgba(125, 165, 255, 0.24);
  --neon:         inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 0 1px rgba(110, 150, 255, 0.12), 0 0 26px rgba(47, 107, 255, 0.1);
  --shadow:       0 20px 44px rgba(0, 0, 0, 0.6), 0 6px 14px rgba(0, 0, 0, 0.45);
  --accent:       #2f6bff;
  --accent-hi:    #5b8cff;
  --radius:       16px;
  --frz-bg:       #111d3f;                   /* frozen table columns: solid, matches the glass on navy */
  --btn-glow:     0 0 0 1px #3d7bff, 0 0 14px rgba(47, 107, 255, 0.7), 0 0 30px rgba(47, 107, 255, 0.3), inset 0 0 14px rgba(80, 140, 255, 0.35);
}

/* No chamfered HUD corners anywhere */
*, *::before { clip-path: none !important; }

body {
  background:
    radial-gradient(1000px 620px at 85% -10%, rgba(50, 110, 255, 0.32), transparent 60%),
    radial-gradient(900px 650px at 5% 105%, rgba(40, 90, 240, 0.28), transparent 60%),
    radial-gradient(700px 500px at 45% 45%, rgba(30, 70, 200, 0.14), transparent 70%),
    linear-gradient(160deg, #071131 0%, #0a1940 50%, #0e2358 100%);
  background-attachment: fixed;
}
body::after { display: none; }
::placeholder { color: rgba(170, 195, 230, 0.5); }
::-webkit-scrollbar-thumb { background: rgba(120, 190, 255, 0.3); border-radius: 8px; }

/* ── Glass panels: dark, see-through, glowing blue edge, black shadow ─────── */
.card, .login-card, .table-wrap, .stat, .alert, .fn-chip, .funnel-item {
  background: var(--panel) !important;
  border: 1px solid var(--edge) !important;
  border-radius: var(--radius);
  box-shadow: var(--neon), var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
          backdrop-filter: blur(18px) saturate(130%);
}
.pf-box, .stage-box, .sop-guide, .rd-box, .vf-row, .fe-card, .ro-card {
  background: var(--panel-2) !important;
  border: 1px solid var(--edge-soft) !important;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}
.vf-row, .fe-card { border-radius: 12px; box-shadow: none; }
.table-wrap { overflow: auto; }
.fn-chip { border-top: 3px solid currentColor !important; border-radius: 14px; }
.fn-chip.on { box-shadow: 0 0 0 1px #3d7bff, 0 0 16px rgba(47, 107, 255, 0.55), var(--shadow); }
.fn-chip .n, .stat-value { color: #fff; text-shadow: none; }
.alert-danger { background: rgba(120, 20, 30, 0.35) !important; border-color: rgba(255, 120, 120, 0.6) !important; }
.alert-warn { background: rgba(120, 80, 10, 0.32) !important; border-color: rgba(255, 200, 100, 0.6) !important; }
.stage-box { border-color: var(--edge) !important; }

/* Modals / profile drawer: darker glass, neon edge, deep black shadow */
.modal-overlay { background: rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-overlay.drawer-overlay { background: rgba(0, 0, 0, 0.5) !important; }
.modal {
  background: var(--panel-strong) !important;
  border: 1px solid var(--edge) !important;
  border-radius: 22px;
  box-shadow: var(--neon), 0 30px 80px rgba(0, 0, 0, 0.85) !important;
  -webkit-backdrop-filter: blur(28px) saturate(130%);
          backdrop-filter: blur(28px) saturate(130%);
  overflow: hidden;
}
.modal-head, .modal-foot { border-color: var(--edge-soft); }
.pf-sticky { background: rgba(7, 14, 28, 0.6) !important; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }

/* Top bar + sliding menu */
.admin-topbar, .topbar, #topbar {
  background: rgba(5, 10, 20, 0.6) !important;
  border-bottom: 1px solid var(--edge-soft) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.sidebar {
  background: rgba(7, 14, 28, 0.85) !important;
  border-right: 1px solid var(--edge) !important;
  box-shadow: 0 0 18px rgba(70, 150, 255, 0.3), 18px 0 50px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
}
.nav-group > .nav-parent { color: var(--accent-hi); }
.nav-item { border-radius: 12px; margin: 2px 12px; width: calc(100% - 24px); border-left: none !important; }
#sidebar { width: 264px; }   /* every menu item on one line */
.nav-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-item:hover { background: rgba(120, 190, 255, 0.1); }
.nav-item.active { background: rgba(47, 107, 255, 0.16) !important; color: #fff; box-shadow: 0 0 0 1px #3d7bff, 0 0 14px rgba(47, 107, 255, 0.5); }

/* ── Buttons: pills ───────────────────────────────────────────────────── */
.btn { border-radius: 10px; font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; letter-spacing: 0.02em; }
.btn-primary, .btn-blue {
  background: linear-gradient(180deg, #1c43b8, #0f2a86) !important;
  color: #fff !important;
  border: 1px solid #3d7bff !important;
  box-shadow: var(--btn-glow);
  text-shadow: 0 0 8px rgba(120, 170, 255, 0.6);
}
.btn-primary:hover:not(:disabled), .btn-blue:hover:not(:disabled) { background: linear-gradient(180deg, #2453d6, #143497) !important; }
.btn-ghost, .btn-secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(110, 150, 255, 0.24) !important;
  color: #dfe7ff;
}
.btn-ghost:hover:not(:disabled), .btn-secondary:hover:not(:disabled) { background: rgba(110, 150, 255, 0.1) !important; border-color: rgba(110, 150, 255, 0.45) !important; }
.btn-icon { border-radius: 12px; }

/* ── Inputs ───────────────────────────────────────────────────────────── */
input[type=text], input[type=email], input[type=password], input[type=date], input[type=datetime-local],
input[type=number], input[type=tel], input[type=search], input[type=time], input[type=url], select, textarea, .file-pick, .fe-fake {
  background: rgba(4, 10, 22, 0.6) !important;
  border: 1px solid rgba(120, 185, 255, 0.32) !important;
  border-radius: 12px;
  color: #f2f7ff;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent-hi) !important; box-shadow: 0 0 0 3px rgba(76, 157, 255, 0.3), 0 0 14px rgba(76, 157, 255, 0.35) !important; }
select option, select optgroup { background: #0a1424; color: #fff; }
.cf-inline { border-radius: 8px; }

/* ── Tables ───────────────────────────────────────────────────────────── */
.tbl th { color: rgba(200, 222, 250, 0.9); }
.tbl td { border-bottom: 1px solid rgba(120, 185, 255, 0.1) !important; }
.tbl tr.click:hover td { background: rgba(120, 190, 255, 0.07); }
.tbl tr.sel td { background: rgba(120, 190, 255, 0.12); }

/* ── Small parts ──────────────────────────────────────────────────────── */
.badge, .pill, .chip, .fp-btn, .vf-mbtn { border-radius: 999px; }
.pill { background: rgba(120, 190, 255, 0.1); border-color: var(--edge-soft); }
.tabs { border-bottom-color: var(--edge-soft); }
.tab.active { color: #fff; border-bottom-color: #3d7bff; text-shadow: 0 0 10px rgba(47, 107, 255, 0.8); }
.seg { border-radius: 10px; overflow: hidden; border-color: var(--edge); background: rgba(4, 10, 22, 0.5); }
.seg button.on { background: linear-gradient(180deg, #1c43b8, #0f2a86); color: #fff; box-shadow: var(--btn-glow); }
.card-title, .section-title, .modal-title, .pf-section-head h3, .page-header h2 { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; letter-spacing: 0.03em; }
.progress { border-radius: 999px; overflow: hidden; background: rgba(120, 190, 255, 0.15); }
#toast { border-radius: 16px; background: rgba(7, 14, 28, 0.9) !important; border: 1px solid var(--edge) !important; box-shadow: var(--neon), var(--shadow); }
#acct-menu, .acct-menu { border-radius: 16px; background: rgba(7, 14, 28, 0.92) !important; border: 1px solid var(--edge) !important; box-shadow: var(--neon), var(--shadow); }
.tbl tr.row-cancel td { background: rgba(255, 90, 90, 0.16); color: #ffd6d6; }
.tbl tr.row-passed td { background: rgba(80, 230, 170, 0.1); }
.nav-badge { background: #ff9d47; color: #111; }
/* profile: section titles stand apart from the field values (accent colour, plain bar on the left) */
.dt-section-title { color: #8fb0ff !important; font-size: 12.5px; letter-spacing: 0.14em; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.dt-section-title::before { content: ''; width: 3px; height: 14px; border-radius: 2px; background: #3d7bff; }
/* field labels in the OMNA logo's dark gold */
.dt-cell .k { color: #c9a227 !important; }

/* ── Generated from style.css: every panel that had a dark navy background becomes glass ── */
.cc-btn,
.cf-chip,
.chipbtn,
.day-box,
.decision-btns button,
.dsel-btn,
.fe-card.fe-off,
.fe-fake,
.fe-frame,
.file-pick,
.fn-chip,
.funnel-item,
.gtable,
.le-card,
.le-section,
.mention-list,
.pf-box,
.progress,
.pub-topbar,
.q-card,
.rd-box,
.ro-box,
.switch,
.tv-crit,
.tv-cv summary,
.tv-cv-panel,
.tv-dd-btn,
.tv-dd-panel,
.tv-list,
.vf-row,
::-webkit-scrollbar-thumb,
input[type=date],
input[type=datetime-local],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
select,
textarea {
  background-color: var(--panel-2) !important;
  background-image: none !important;
  border-color: var(--edge-soft) !important;
}
#sidebar,
#toast,
#topbar,
.acct-menu,
.admin-topbar,
.cc-menu,
.dsel-menu,
.dt-head,
.fe-side,
.grow-h,
.le-bulk,
.list-sticky-head,
.notif-menu,
.pf-sticky,
.tbl th {
  background-color: var(--panel-strong) !important;
  background-image: none !important;
  border-color: var(--edge-soft) !important;
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
}
.tv-cv-panel { background: var(--panel-strong) !important; -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border-radius: 12px; }
.tv-dd-panel, .dsel-menu, .cc-menu, .notif-menu, .acct-menu, #acct-menu, .cf-dd[open] > .cf-multi { background: #0c1630 !important; border-color: var(--edge) !important; box-shadow: var(--shadow) !important; }
