.gradient-grey {
  background: #0f2027;
  background: -webkit-linear-gradient(to right, #2c5364, #203a43, #0f2027);
  background: linear-gradient(to right, #2c5364, #203a43, #0f2027);
  color: #f5f5f5 !important;
  font-weight: bold;
  font-family: 'justsans' !important;
}

.btn-grad:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

@font-face {
  font-family: 'moonlander';
  src: url(e2cc9dba6ab39da4bb3b.woff);
}

@font-face {
  font-family: 'digital';
  src: url(0ef0e2249326c34137c8.TTF)
}

@font-face {
  font-family: UKnumberplate;
  src: url(22820c6fff93aa928195.ttf);
}

/* @font-face {
  font-family: 'poppins';
  src: url('../assets/fonts/Poppins.ttf');
}

@font-face {
  font-family: 'roboto';
  src: 
} */

@font-face {
  font-family: 'justsans';
  src: url(f2e1a951bbcd82edc996.woff);
  font-weight: normal;
}

@font-face {
  font-family: 'justsans';
  src: url(c4aa4fd1ae7a71a0c3fc.woff);
  font-weight: bold;
}

@font-face {
  font-family: 'justsans';
  src: url(7103f8aa731298fa5c99.woff);
  font-weight: lighter;
}

/* Imports */

/* Root App */
.App {
  font-family: Arial, Helvetica, sans-serif;
  /* 100% not 100vw: 100vw includes the vertical scrollbar gutter in browsers
     that use classic (space-taking) scrollbars, which forces a phantom
     horizontal scrollbar on the whole app. */
  width: 100%;
  min-height: 100vh;
  max-height: 100vh;
  box-sizing: border-box;
  overflow: auto;
}

/* Base HTML */
html,
body {
  margin: 0 !important;
  font-family: 'poppins';
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  /* Subtle default scrollbars, inherited by every scroller.
     These are the standard properties — honoured by Firefox, Chrome/Edge 121+
     and Safari 18.2+. We deliberately do NOT define a global
     ::-webkit-scrollbar block: any author styling of that pseudo-element
     opts the whole app out of the browser's native overlay scrollbars and
     into classic ones that reserve layout width on every scroller. */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

/* Fallback for engines without standard scrollbar properties (older Safari) */
@supports not (scrollbar-width: thin) {
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
  }

  ::-webkit-scrollbar-track {
    background: transparent;
  }
}

/* ========================================= */
/* SCROLLABLE CONTAINER (opt-in behaviour)   */
/* ========================================= */

/* Scrolls when it needs to, with a thumb that fades in on hover.
   The thumb changes COLOUR rather than WIDTH: toggling scrollbar width on
   hover reflows the content sideways in any browser whose scrollbars take up
   layout space (Edge, Chrome on Windows). scrollbar-gutter keeps the track's
   space reserved so content doesn't jump as it grows past the fold. */
.scrollable {
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  scrollbar-gutter: stable;
  transition: scrollbar-color 0.2s ease;
}

.scrollable:hover,
.scrollable:focus-within {
  scrollbar-color: rgba(0, 0, 0, 0.35) transparent;
}

@supports not (scrollbar-width: thin) {
  .scrollable::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  .scrollable::-webkit-scrollbar-track {
    background: transparent;
  }

  .scrollable::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 6px;
    transition: background 0.2s ease;
  }

  .scrollable:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.35);
  }
}

/* ========================================= */
/* Autofill Fixes (unchanged)               */
/* ========================================= */

input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  caret-color: black;
}

input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  caret-color: #000;
}

/* Float label when autofilled */
input:-webkit-autofill ~ .MuiInputLabel-root {
  transform: translate(14px, -9px) scale(0.75);
  transform-origin: top left;
  color: rgba(0, 0, 0, 0.6);
}

.logoText {
    font-family: moonlander;
    /* font-size: 2rem; */
    color: #3D4E50;
}
.sidebar_frame {
  background:
    linear-gradient(180deg, rgba(44, 177, 188, 0.12), transparent 170px),
    #202a38;
}

.sidebar_menu {
  padding-left: 10px;
  padding-right: 10px;
}

.sidebar_home_item {
  --section-accent-rgb: 44, 177, 188;
  padding: 5px 0 6px 7px;
  border-left: 2px solid rgba(var(--section-accent-rgb), 0.8);
  background:
    linear-gradient(
      90deg,
      rgba(var(--section-accent-rgb), 0.11),
      rgba(var(--section-accent-rgb), 0.03) 28px,
      transparent 78px
    ),
    transparent;
}

.sidebar_section {
  --section-accent-rgb: 44, 177, 188;
  position: relative;
  margin: 0;
  padding: 5px 0 6px 7px;
  border-left: 2px solid rgba(var(--section-accent-rgb), 0.8);
  border-radius: 0;
  background:
    linear-gradient(
      90deg,
      rgba(var(--section-accent-rgb), 0.11),
      rgba(var(--section-accent-rgb), 0.03) 28px,
      transparent 78px
    ),
    transparent;
  box-shadow: none;
}

.sidebar_section:empty {
  display: none;
}

.sidebar_section_start {
  --section-accent-rgb: 44, 177, 188;
}

.sidebar_section_work {
  --section-accent-rgb: 91, 141, 239;
}

.sidebar_section_workforce {
  --section-accent-rgb: 34, 197, 94;
}

.sidebar_section_command {
  --section-accent-rgb: 56, 189, 248;
}

.sidebar_section_events {
  --section-accent-rgb: 168, 85, 247;
}

.sidebar_section_transport {
  --section-accent-rgb: 245, 158, 11;
}

.sidebar_section_people {
  --section-accent-rgb: 236, 72, 153;
}

.sidebar_section_fleet {
  --section-accent-rgb: 16, 185, 129;
}

.sidebar_section_patient_records {
  --section-accent-rgb: 6, 182, 212;
}

.sidebar_section_governance,
.sidebar_section_clinical {
  --section-accent-rgb: 239, 68, 68;
}

.sidebar_section_customers {
  --section-accent-rgb: 14, 165, 233;
}

.sidebar_section_system {
  --section-accent-rgb: 148, 163, 184;
}

.sidebar_section_help {
  --section-accent-rgb: 129, 140, 248;
}

.sidebar_divider {
  padding: 0 8px 5px;
}

.sidebar_navitem {
  color: #bdc2c7;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 35px;
  margin: 1px 0;
  padding-left: 0;
  padding-right: 0;
  border-radius: 0 8px 8px 0;
  border-left: 0;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.sidebar_navitem:hover,
.sidebar_navitem.active {
  color: white;
  cursor: pointer;
}

.sidebar_navitem:hover {
  background: rgba(var(--section-accent-rgb), 0.1);
}

.sidebar_navitem.active {
  background: rgba(var(--section-accent-rgb), 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.sidebar_section .sidebar_navitem.active {
  margin-left: -7px;
  padding-left: 7px;
}

.sidebar_navitem svg {
  color: currentColor;
  font-size: 20px;
}

.editor-content {
  border: 1px solid rgba(0, 0, 0, 0.23);
  border-radius: 4px;
  padding: 10px;
  min-height: 200px;
  background-color: #fff;
  cursor: text;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.editor-content .ProseMirror {
  flex-grow: 1;
  min-height: 100%;
  cursor: text;
}

.editor-content .ProseMirror:focus {
  outline: none;
}

.ProseMirror mark {
  background-color: #ffeb3b;
  padding: 0 2px;
  border-radius: 2px;
}

.tiptap-reader {
  font-size: 1.05rem;
  color: #1a1a1a;
  /* margin: auto; */
  padding: 0 1rem;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

.tiptap-reader strong {
  font-weight: bold !important;
}

.tiptap-reader h1,
.tiptap-reader h2,
.tiptap-reader h3,
.tiptap-reader h4,
.tiptap-reader h5,
.tiptap-reader h6 {
  margin: 0.4em 0 0.2em; /* top, right/left, bottom */
}

/* Paragraphs can also be adjusted */
.tiptap-reader p {
  margin: 0.3em 0;
  line-height: 1.5;
}

/* Control container */
.maplibregl-ctrl-group {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.maplibregl-ctrl-group button {
  color: #e2e8f0;
}

/* Hover background */
.maplibregl-ctrl-group button:hover {
  background: rgba(96, 165, 250, 0.15);
}

/* Attribution */
/* .maplibregl-ctrl-attrib {
  background: rgba(15, 23, 42, 0.6) !important;
  color: rgba(226, 232, 240, 0.7);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
} */

.maplibregl-ctrl-attrib {
  font-size: 10px;
  opacity: 0.5;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 2px 6px;
}

.maplibregl-ctrl-attrib a {
  color: #60a5fa;
  text-decoration: none;
}

.maplibregl-ctrl-attrib a:hover {
  text-decoration: underline;
}

/* Reset icon base */
.maplibregl-ctrl-icon {
  background-size: 70% 70% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Zoom in */
.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M14 5v18M5 14h18%27 stroke=%27%23E2E8F0%27 stroke-width=%272%27 stroke-linecap=%27round%27/%3E%3C/svg%3E") !important;
}

/* Zoom out */
.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M5 14h18%27 stroke=%27%23E2E8F0%27 stroke-width=%272%27 stroke-linecap=%27round%27/%3E%3C/svg%3E") !important;
}

/* Hover zoom in */
.maplibregl-ctrl-zoom-in:hover .maplibregl-ctrl-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M14 5v18M5 14h18%27 stroke=%27%2360A5FA%27 stroke-width=%272%27 stroke-linecap=%27round%27/%3E%3C/svg%3E") !important;
}

/* Hover zoom out */
.maplibregl-ctrl-zoom-out:hover .maplibregl-ctrl-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 29 29%27%3E%3Cpath d=%27M5 14h18%27 stroke=%27%2360A5FA%27 stroke-width=%272%27 stroke-linecap=%27round%27/%3E%3C/svg%3E") !important;
}


/*# sourceMappingURL=app.b9daeb362b5545436056.css.map*/