/* Vice MDT — GTA VI design-system layer, loaded after style.css.
   GTA Art Deco 400/500 only; night plates + sunset radial; cream titles;
   pink accent; CTA pill (#fed1df / #603a55) is the only bloom. */
@font-face { font-family: "GTAArtDeco"; src: url("../fonts/GTAArtDeco-Regular.ttf") format("truetype"); font-weight: 100 450; font-display: block; }
@font-face { font-family: "GTAArtDeco"; src: url("../fonts/GTAArtDeco-Medium.ttf") format("truetype"); font-weight: 451 950; font-display: block; }

:root {
  --v-font: "GTAArtDeco", Arial, sans-serif;
  --v-cream: #fff9cb; --v-pink: #ffb2c6; --v-lilac: #e5ddff; --v-lilac-soft: #ccc2f5;
  --v-peach: #ffd4a8; --v-lime: #e6ffa3; --v-cta: #fed1df; --v-cta-ink: #603a55; --v-ink: #0f0c1a;
  --v-sunset-line: linear-gradient(90deg, #ffdf80 0%, #f4717c 50%, #e963c7 100%);
  --v-glow-top: radial-gradient(70% 160px at 50% 0%, rgba(255, 223, 128, 0.10), rgba(244, 113, 124, 0.06) 50%, transparent 100%);
}

body, input, textarea, select, button { font-family: var(--v-font); letter-spacing: -0.015em; }
/* the face ships 400/500 only: heavy weights map to Medium */
h1, h2, h3, h4, b, strong { font-weight: 500 !important; }

/* ---------- tablet + screen ---------- */
.tablet { border-radius: 40px; }
.screen { border-radius: 26px; }

/* ---------- top bar: eyebrow strip, cream title, subtitle ---------- */
.topbar { position: relative; }
.topbar::before {
  content: ""; position: absolute; left: 22px; top: 0; width: 64px; height: 3px; z-index: 3;
  border-radius: 0 0 3px 3px; background: var(--v-sunset-line);
}
.tb-page-title { color: var(--v-cream); font-weight: 500; text-transform: uppercase; letter-spacing: 0; font-size: 17px; line-height: 1; }
.tb-page-sub { color: var(--v-lilac); opacity: .85; font-size: 12px; margin-top: 4px; }
.tb-search { border-radius: 1000px; background: rgba(229, 221, 255, 0.06); box-shadow: none; border: 1px solid transparent; }
.tb-search:focus-within { border-color: rgba(255, 249, 203, 0.45); background: rgba(229, 221, 255, 0.09); box-shadow: none; }
.tb-search kbd { background: var(--v-cream); color: var(--v-ink); border: 0; border-radius: 1000px; }
#clock { color: var(--v-cream); }

/* ---------- sidebar ---------- */
.agency-badge { background: var(--v-cream) !important; color: var(--v-ink) !important; border-radius: 50% !important; box-shadow: none !important; }
.agency-badge::after { border-radius: 50%; }
.agency-title { color: var(--v-cream); font-weight: 500; letter-spacing: .02em; }
.nav-section, .nav-group-title, .sidebar-nav .section-title { color: var(--v-peach) !important; letter-spacing: 0.15em; }
.nav-item { border-radius: 1000px; }
.nav-item:hover { background: rgba(229, 221, 255, 0.07); }
.nav-item.active { background: var(--v-cream); color: var(--v-ink); box-shadow: none; }
.nav-item.active .lbl { color: var(--v-ink); }
.nav-item.active .ico, .nav-item.active[class*="nav-"] .ico { color: var(--v-ink) !important; }
.nav-item.active::before { display: none; }

/* ---------- app headers: strip, cream poster title, subtitle ---------- */
.app-header { padding-top: 14px; border-bottom-color: rgba(229, 221, 255, 0.08); }
.app-header::before {
  content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 3px;
  border-radius: 0 0 3px 3px; background: var(--v-sunset-line);
}
.app-header::after { background: linear-gradient(90deg, rgba(255, 178, 198, 0.5) 0%, transparent 30%); }
.app-header h1 { color: var(--v-cream); text-transform: uppercase; letter-spacing: 0; line-height: .95; font-size: 30px; }
.app-header .muted, .app-header p { color: var(--v-lilac); opacity: .9; font-size: 13.5px; }
.dash-watermark { color: rgba(255, 249, 203, 0.03); }

/* ---------- cards ---------- */
.card { border-radius: 24px; background: var(--v-glow-top), var(--g-card); border-color: rgba(229, 221, 255, 0.08); }
.card-header { border-bottom-color: rgba(229, 221, 255, 0.07); }
.card-header h3 { color: var(--v-cream); letter-spacing: .04em; }
.card-header h3 i { color: var(--v-pink); }

/* ---------- buttons: pills; primary = CTA ---------- */
.btn { border-radius: 1000px; font-weight: 500; }
.btn-primary { color: var(--v-cta-ink) !important; box-shadow: 0 2px 30px rgba(255, 178, 199, 0.28) !important; border: 0 !important; }
.btn-primary:hover { box-shadow: 0 2px 71px rgba(255, 178, 199, 0.4) !important; }
.btn-success, .btn-warning, .dept-status { color: var(--v-ink) !important; }
.btn-danger { color: #fff !important; }
.channel-row.active { color: var(--v-ink) !important; background: var(--v-cream) !important; }
.channel-row.active i { color: var(--v-ink) !important; }

/* inputs */
input[type="text"], input[type="number"], input[type="search"], textarea, select { caret-color: var(--v-pink); }

/* scrollbars */
::-webkit-scrollbar-thumb { background: rgba(229, 221, 255, 0.16); border-radius: 1000px; }

/* header: subtitle always sits under the title */
.app-header > h1 + p, .app-header > h1 + .muted { flex-basis: 100%; margin-top: -8px; }

/* sidebar fits on 1080p and 768p */
.nav-item { padding-top: 9px; padding-bottom: 9px; }

/* plate scanner button = CTA pill */
.ps-scan-btn { background: #fed1df !important; color: #603a55 !important; border: 0 !important; border-radius: 1000px !important; box-shadow: 0 2px 30px rgba(255, 178, 199, 0.28) !important; font-weight: 500 !important; }

/* lock screen: night plate with a sunset horizon */
.lw-grad { background: radial-gradient(62.79% 60% at 50% 0%, rgba(255, 223, 128, 0.16) 0%, rgba(244, 113, 124, 0.10) 45%, transparent 100%), linear-gradient(189deg, #1f1f38 0.55%, #18182d 30.38%, #111222 65.19%, #0c0d1b 100%) !important; }
.ios-time { color: var(--v-cream); font-weight: 500; letter-spacing: -0.02em; text-shadow: 0 4px 28px rgba(7, 7, 15, 0.55); }
.ios-home-bar { background: var(--v-cream) !important; }
#root .ios-time { color: var(--v-cream); }

/* the tablet is a fixed 1620x980 frame: scale it down on smaller screens */
@media (max-height: 1030px), (max-width: 1680px) { .tablet { scale: .9; } }
@media (max-height: 930px),  (max-width: 1500px) { .tablet { scale: .8; } }
@media (max-height: 830px),  (max-width: 1340px) { .tablet { scale: .72; } }
@media (max-height: 740px),  (max-width: 1200px) { .tablet { scale: .64; } }

/* grow the tablet on 1440p and 4K so it keeps its 1080p proportions */
@media (min-height: 1300px) and (min-width: 2200px) { .tablet { scale: 1.3; } }
@media (min-height: 2000px) and (min-width: 3300px) { .tablet { scale: 2; } }

/* perf: transparent NUI + old CEF — no backdrop blur, no decorative idle loops */
*, *::before, *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.lw-spotlight, .lw-shield, .lw-particles span, .ios-home-bar, .lock-brand-badge::after,
.vh-radar-ring, .cit-radar-ring, .cit-id-stripe, .cit-search-fill { animation: none !important; }
.lw-particles { display: none !important; }
/* live demo: the website box is ~600px tall, and phones are portrait */
@media (max-height: 660px) { .tablet { scale: .56; } }
@media (max-width: 600px) { .tablet { scale: .235; } }
