/* ==========================================================================
   VICE LAYER — qbcore_vi_conflicts (conflict scanner + in-world editor)
   GTA VI design system. Loaded after the compiled bundle CSS.
   Type: GTA Art Deco 400 / 500 only.
   ========================================================================== */
@font-face { font-family: "GTAArtDeco"; src: url("fonts/GTAArtDeco-Regular.ttf") format("truetype"); font-weight: 400; font-display: block; }
@font-face { font-family: "GTAArtDeco"; src: url("fonts/GTAArtDeco-Medium.ttf") format("truetype"); font-weight: 500 900; font-display: block; }

:root, :root * {
  /* bundle tokens → Vice */
  --kp-canvas: #0c0d1b;
  --kp-panel: #151628;
  --kp-raised: rgba(229, 221, 255, 0.06);
  --kp-raised-2: rgba(229, 221, 255, 0.10);
  --kp-input: rgba(229, 221, 255, 0.06);
  --kp-line: rgba(229, 221, 255, 0.09);
  --kp-line-soft: rgba(229, 221, 255, 0.06);
  --kp-text: #ffffff;
  --kp-text-2: #e5ddff;
  --kp-text-3: #ccc2f5;
  --kp-brass: #ffb2c6;
  --kp-brass-hi: #fed1df;
  --kp-brass-dim: rgba(255, 178, 198, 0.22);
  --kp-on-brass: #603a55;
  --kp-accent-soft: rgba(255, 178, 198, 0.14);
  --kp-accent-faint: rgba(255, 178, 198, 0.06);
  --kp-ok: #e6ffa3;
  --kp-ok-soft: rgba(230, 255, 163, 0.14);
  --kp-warn: #ffdf80;
  --kp-warn-soft: rgba(255, 223, 128, 0.14);
  --kp-bad: #f4717c;
  --kp-bad-soft: rgba(244, 113, 124, 0.15);
  --kp-info: #ccc2f5;
  --kp-info-soft: rgba(204, 194, 245, 0.14);
  --kp-r-sm: 10px;
  --kp-r-md: 12px;
  --kp-r-lg: 24px;
  --kp-shadow-sm: none;
  --kp-shadow-md: 0 12px 30px rgba(7, 7, 15, 0.45);
  --kp-shadow-lg: 0 24px 60px rgba(7, 7, 15, 0.55);
  --kp-shadow-modal: 0 40px 90px rgba(7, 7, 15, 0.6);
  --kp-edge: none;
  --kp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --kp-font: "GTAArtDeco", Arial, sans-serif;
  --kp-mono: "GTAArtDeco", Arial, sans-serif;
}

html, body, #root, #root *, [class*="_toasts_"] * { font-family: "GTAArtDeco", Arial, sans-serif !important; }
#root { letter-spacing: -0.01em; }

/* --------------------------------------------- frame: floating night plate */
#root [class*="_overlay_"] { background: rgba(7, 7, 15, 0.55); padding: 24px; }
#root [class*="_frame_"] {
  position: relative; border-radius: 24px;
  background: radial-gradient(70% 240px at 50% 0%, rgba(255, 223, 128, 0.09), rgba(244, 113, 124, 0.06) 50%, transparent 100%),
              linear-gradient(189deg, #1f1f38 0.55%, #18182d 30.38%, #111222 65.19%, #0c0d1b 100%);
  box-shadow: 0 40px 90px rgba(7, 7, 15, 0.55);
}
#root [class*="_frame_"]::before { content: ""; position: absolute; left: 32px; top: 0; width: 64px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #ffdf80 0%, #f4717c 50%, #e963c7 100%); z-index: 5; }

/* top bar */
#root [class*="_topbar_"] { background: transparent; border-bottom: 1px solid rgba(229, 221, 255, 0.08); padding: 18px 24px 16px; gap: 12px; row-gap: 12px; }
#root [class*="_brand_"] { gap: 14px; padding-right: 18px; }
#root [class*="_brandMark_"] { width: 46px; height: 46px; border-radius: 50%; background: rgba(229, 221, 255, 0.06); overflow: hidden; }
#root [class*="_brandName_"] { font-size: 24px; font-weight: 500; line-height: 0.92; color: #fff9cb; text-transform: uppercase; letter-spacing: 0; }
#root .vc-brand-sub { margin-top: 6px; font-size: 12px; line-height: 1.3; color: #e5ddff; opacity: 0.9; }
#root [class*="_brandVer_"] { margin-top: 4px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #ffd4a8; }

/* status chips */
#root [class*="_scanPill_"], #root [class*="_count_"]:not([class*="_countN_"]):not([class*="_countL_"]), #root [class*="_totalBadge_"] { border: 0; border-radius: 1000px; background: rgba(229, 221, 255, 0.06); }
#root [class*="_countN_"] { color: #fff9cb; }

/* buttons: all pills */
#root button[class*="_btn"], #root [class*="_btnGhost_"], #root [class*="_btnFix_"], #root [class*="_btnPrimary_"], #root [class*="_btnPreview_"], #root [class*="Btn_"], #root [class*="_sortBtn_"] { border-radius: 1000px !important; }
#root [class*="_btnGhost_"] { background: transparent; border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); color: #fff; }
#root [class*="_btnGhost_"]:hover { background: rgba(229, 221, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36); }
#root [class*="_btnFix_"] { background: #ffd4a8; color: #0f0c1a; border: 0; }
#root [class*="_btnFix_"]:hover:not(:disabled) { background: #ffe1c4; }
#root [class*="_btnFix_"]:disabled { background: rgba(229, 221, 255, 0.06); color: rgba(229, 221, 255, 0.4); opacity: 1; }
#root [class*="_btnPrimary_"] { font-weight: 500; }
#root [class*="_overview_"] [class*="_btnPrimary_"], #root [class*="_modal_"] [class*="_btnPrimary_"] { background: #fed1df; color: #603a55; border: 0; box-shadow: 0 2px 30px rgba(255, 178, 199, 0.28); }
#root [class*="_btnClose_"] { border: 0; border-radius: 50%; width: 40px; height: 40px; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); color: #fff; }
#root [class*="_btnClose_"]:hover { background: rgba(229, 221, 255, 0.09); }

/* body: sidebar becomes an inset rail */
#root [class*="_body_"] { gap: 18px; padding: 18px; }
#root [class*="_sidebar_"] { border: 0; border-radius: 24px; background: linear-gradient(189deg, #2f2e52 0.55%, #252644 30.38%, #1f1f38 65.19%, #18182d 100%); overflow: hidden; }
#root [class*="_searchWrap_"] input, #root input[class*="_search_"] { border-radius: 1000px !important; border: 1px solid transparent; background: rgba(12, 13, 27, 0.5); }
#root [class*="_tabs_"] { border: 0; border-radius: 1000px; background: rgba(12, 13, 27, 0.45); padding: 4px; gap: 2px; }
#root [class*="_tab_"] { border-radius: 1000px; color: #ccc2f5; font-weight: 500; }
#root [class*="_tabActive_"] { background: #fff9cb !important; color: #0f0c1a !important; box-shadow: none !important; }
#root [class*="_overview_"] { border-radius: 24px; background: rgba(229, 221, 255, 0.03); }
#root [class*="_overview_"] h2 { color: #fff9cb; font-weight: 500; text-transform: uppercase; font-size: 30px; line-height: 0.95; letter-spacing: 0; }
#root [class*="_overview_"] p { color: #e5ddff; }
#root [class*="_overviewIcon_"] { border-radius: 50%; border: 0; background: rgba(229, 221, 255, 0.06); color: #ffb2c6; }
#root code { border-radius: 6px; background: rgba(229, 221, 255, 0.08); color: #ffd4a8; }

/* modals */
#root [class*="_modal_"] { border: 0; border-radius: 24px; background: radial-gradient(70% 180px at 50% 0%, rgba(255, 223, 128, 0.10), rgba(244, 113, 124, 0.07) 50%, transparent 100%), linear-gradient(189deg, #1f1f38 0.55%, #18182d 30.38%, #111222 65.19%, #0c0d1b 100%); }
#root [class*="_modalTitle_"] { color: #fff9cb; font-weight: 500; text-transform: uppercase; font-size: 20px; letter-spacing: 0; }

/* scrollbars */
#root ::-webkit-scrollbar { width: 6px; height: 6px; }
#root ::-webkit-scrollbar-thumb { background: rgba(229, 221, 255, 0.16); border-radius: 1000px; }
#root ::-webkit-scrollbar-track { background: transparent; }

/* toasts */
[class*="_toast_"] { border-radius: 16px !important; border: 0 !important; background: #1b1b30 !important; }
#root [class*="_searchWrap_"] { border: 0 !important; border-radius: 1000px !important; background: rgba(12, 13, 27, 0.5) !important; }
#root [class*="_searchWrap_"] input, #root input[class*="_search_"] { background: transparent !important; border: 0 !important; }

/* resolution scaling: 1080p proportions everywhere (--vs from vice-scale.js),
   and a capped, centred panel so ultrawide never stretches the layout */
#root [class*="_overlay_"], [class*="_toasts_"], [class*="_modalWrap_"], [class*="_edRoot_"], [class*="_previewOverlay_"] { zoom: var(--vs, 1); }
#root [class*="_overlay_"] { display: flex; justify-content: center; align-items: stretch; }
#root [class*="_frame_"] { width: 100%; max-width: 1880px; }
