/* =========================================================
   Lisnave W3CSS Theme (for DRIVE NDT)
   Primary: Lisnave Blue
   Accent/Action: Action Blue
   Deep/Navy: Lisnave Navy
   ========================================================= */

:root{
  /* Brand */
  --lis-lisnave-blue: #004A8F; /* Lisnave primary blue */
  --lis-action:       #005AAE; /* brighter action blue */
  --lis-navy:         #00013C; /* deep navy from website */
  --lis-marine:       #081E3E; /* dark marine section tone */

  /* Theme mapping */
  --lis-theme:        var(--lis-lisnave-blue);
  --lis-action-map:   var(--lis-action);

  /* Neutrals */
  --lis-border-muted: #A9B7C8;
  --lis-bg-soft:      #EAF1F8;
}

/* ----------------- W3CSS THEME SHADES (based on --lis-theme) ----------------- */
/* Light shades */
.w3-theme-l5 {color:#000 !important; background-color:#F5F8FC !important;}
.w3-theme-l4 {color:#000 !important; background-color:#DCE8F4 !important;}
.w3-theme-l3 {color:#000 !important; background-color:#B8D0E8 !important;}
.w3-theme-l2 {color:#000 !important; background-color:#7EA9D0 !important;}
.w3-theme-l1 {color:#fff !important; background-color:#3A78AF !important;}

/* Dark shades */
.w3-theme-d1 {color:#fff !important; background-color:#00427F !important;}
.w3-theme-d2 {color:#fff !important; background-color:#003A70 !important;}
.w3-theme-d3 {color:#fff !important; background-color:#002F5B !important;}
.w3-theme-d4 {color:#fff !important; background-color:#001F4A !important;}
.w3-theme-d5 {color:#fff !important; background-color:#00013C !important;}

/* W3 standard hooks */
.w3-theme       {color:#fff !important; background-color:var(--lis-theme) !important;}
.w3-text-theme  {color:var(--lis-theme) !important;}
.w3-border-theme{border-color:var(--lis-theme) !important;}

.w3-theme-light {color:#000 !important; background-color:var(--lis-bg-soft) !important;}
.w3-theme-dark  {color:#fff !important; background-color:var(--lis-navy) !important;}

/* “Action” = brighter Lisnave blue for CTAs */
.w3-theme-action {color:#fff !important; background-color:var(--lis-action-map) !important;}

/* Hover behavior */
.w3-hover-theme:hover       {color:#fff !important; background-color:var(--lis-theme) !important;}
.w3-hover-text-theme:hover  {color:var(--lis-theme) !important;}
.w3-hover-border-theme:hover{border-color:var(--lis-theme) !important;}

/* ----------------- CUSTOM EXTENSION (DRIVE NDT style) ----------------- */

.w3-theme-breadcrumb {
  color:#fff !important;
  background-color: var(--lis-navy) !important;
}
.w3-theme-breadcrumb a:visited,
.w3-theme-breadcrumb a:link {
  color:#fff !important;
}
.w3-theme-breadcrumb a:hover{
  color:#fff !important;
  background-color: var(--lis-action-map) !important;
}

.w3-text-theme-light {color:var(--lis-bg-soft) !important;}
.w3-text-theme-dark  {color:var(--lis-navy) !important;}

.w3-hover-theme-light:hover      {color:#000 !important; background-color:var(--lis-bg-soft) !important;}
.w3-hover-text-theme-light:hover {color:var(--lis-bg-soft) !important;}
.w3-hover-text-theme-dark:hover  {color:var(--lis-navy) !important;}

/* dirty fix on django-admin many-to-many selector widget */
.selector-chosen h2 {
  color:#fff !important;
  background-color: var(--lis-theme) !important;
}

/* Links: keep admin readable; highlight on hover */
a { color: var(--body-fg) !important; }
a:hover { color: var(--lis-theme) !important; }

/* FullCalendar buttons */
.fc .fc-button-primary {
  color:#fff !important;
  background-color: var(--lis-navy) !important;
  border-color: var(--lis-navy) !important;
}
.fc .fc-button-primary.fc-button-active {
  color:#fff !important;
  background-color: var(--lis-action-map) !important;
  border-color: var(--lis-action-map) !important;
}
.fc-button:hover {
  color:#fff !important;
  background-color: var(--lis-action-map) !important;
  border-color: var(--lis-action-map) !important;
}

/* Your existing date separators */
th[data-date$="00:00:00"],
td[data-date$="00:00:00"],
th[data-date$="-01"],
td[data-date$="-01"] {
  border-left: 2px solid var(--lis-border-muted);
}