/* ============================================================
   EthosMED — deployment colour theme.

   WHY THIS FILE EXISTS
     The previous 3.13 viewer carried these rules prepended to
     app.bundle.css. That file is regenerated by every OHIF build, so the
     theme silently disappeared on the 3.13.14 rebuild and the viewer came
     back in upstream dark blue. Keeping the rules in their own stylesheet,
     loaded after app.bundle.css, makes them survive a rebuild: copy this
     file into the new dist and add the <link> to index.html.

   WHAT IT DOES
     Replaces OHIF's dark blue chrome (the --popover / --primary / --muted
     backgrounds, 4,28,73 and 9,12,42) with maroon, forces foreground text
     and icons to white, and recolours borders and focus rings to match.

   CACHE
     The filename is not content-hashed, so it must revalidate. Its
     <location> entry is in the APPLICATION ROOT Web.config alongside the
     other post-build patched files.
   ============================================================ */

/* Change the inspected element specifically */
.flex.w-full.flex-row.items-center.justify-between {
    background-color: maroon !important;
}

/* Change all other elements that use the dark blue color (bg-popover) */
.bg-popover,
[style*="background-color: rgb(4, 28, 73)"],
[style*="background-color: #041c49"] {
    background-color: maroon !important;
}

/* Optional: If you also want to change the light blue highlight colors found on the page */
.bg-highlight,
.bg-primary {
    background-color: maroon !important;
}

.bg-muted,
[style*="background-color: rgb(9, 12, 42)"] {
    background-color: maroon !important;
}

/* Specifically target the inspected element just in case it's not using the global class */
.flex.w-full.items-center.gap-\[10px\] {
    background-color: maroon !important;
}

/* Change all text and icon colors to white */
* {
    color: white !important;

}

/* Specific override for utility classes that might set text colors */
[class*="text-"],
[class*="text-muted-foreground"] {
    color: white !important;
}

/* Change all primary border colors to maroon */
*,
::after,
::before {
    border-color: maroon !important;
}

/* Specifically target utility classes that define border colors */
.border,
.border-background,
.border-input,
.border-border {
    border-color: maroon !important;
}

/* Change the focus ring color to maroon to match */
.ring-offset-background,
.focus-visible\:ring-ring:focus-visible {
    --tw-ring-color: maroon !important;
    border-color: maroon !important;
}

div[id^="radix-:"] > .flex.items-center.gap-2:first-child {
    display: none;
}
