/* =========================================================
   Gecric Integrity W3CSS Theme (for DRIVE NDT)
   Primary: Gecric Orange
   Accent/Action: Gecric Green
   Deep/Navy: Charcoal / Dark Graphite
   ========================================================= */

:root{
  /* Brand */
  --gi-gecric-orange: #F05A28; /* Gecric primary orange */
  --gi-gecric-green:  #8CC63F; /* Gecric green */
  --gi-charcoal:      #1F1F1F; /* dark charcoal from website appearance */
  --gi-graphite:      #2B2B2B; /* deep dark neutral */
  --gi-red:           #E53935; /* Gecric red */
  --gi-white:         #FFFFFF; /* white */

  /* Theme mapping */
  --gi-theme:         var(--gi-gecric-orange);
  --gi-action:        var(--gi-gecric-green);

  /* Neutrals */
  --gi-border-muted:  #BDBDBD;
  --gi-bg-soft:       #F6F6F6;
}

/* ----------------- W3CSS THEME SHADES (based on --gi-theme) ----------------- */
/* Light shades */
.w3-theme-l5 {color:#000 !important; background-color:#FFF6F2 !important;}
.w3-theme-l4 {color:#000 !important; background-color:#FEE6DC !important;}
.w3-theme-l3 {color:#000 !important; background-color:#FBC7B4 !important;}
.w3-theme-l2 {color:#000 !important; background-color:#F7A07F !important;}
.w3-theme-l1 {color:#fff !important; background-color:#F27A4A !important;}

/* Dark shades */
.w3-theme-d1 {color:#fff !important; background-color:#D94F22 !important;}
.w3-theme-d2 {color:#fff !important; background-color:#BF451D !important;}
.w3-theme-d3 {color:#fff !important; background-color:#A53B19 !important;}
.w3-theme-d4 {color:#fff !important; background-color:#8A3115 !important;}
.w3-theme-d5 {color:#fff !important; background-color:#702711 !important;}

/* W3 standard hooks */
.w3-theme       {color:#fff !important; background-color:var(--gi-theme) !important;}
.w3-text-theme  {color:var(--gi-theme) !important;}
.w3-border-theme{border-color:var(--gi-theme) !important;}

.w3-theme-light {color:#000 !important; background-color:var(--gi-bg-soft) !important;}
.w3-theme-dark  {color:#fff !important; background-color:var(--gi-charcoal) !important;}

/* “Action” = Gecric Green for CTAs */
.w3-theme-action {color:#fff !important; background-color:var(--gi-action) !important;}

/* Hover behavior */
.w3-hover-theme:hover       {color:#fff !important; background-color:var(--gi-theme) !important;}
.w3-hover-text-theme:hover  {color:var(--gi-theme) !important;}
.w3-hover-border-theme:hover{border-color:var(--gi-theme) !important;}

/* ----------------- CUSTOM EXTENSION (DRIVE NDT style) ----------------- */

.w3-theme-breadcrumb {
  color:#fff !important;
  background-color: var(--gi-graphite) !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(--gi-action) !important;
}

.w3-text-theme-light {color:var(--gi-bg-soft) !important;}
.w3-text-theme-dark  {color:var(--gi-charcoal) !important;}

.w3-hover-theme-light:hover      {color:#000 !important; background-color:var(--gi-bg-soft) !important;}
.w3-hover-text-theme-light:hover {color:var(--gi-bg-soft) !important;}
.w3-hover-text-theme-dark:hover  {color:var(--gi-charcoal) !important;}

/* dirty fix on django-admin many-to-many selector widget */
.selector-chosen h2 {
  color:#fff !important;
  background-color: var(--gi-theme) !important;
}

/* Links: keep admin readable; highlight on hover */
a { color: var(--body-fg) !important; }
a:hover { color: var(--gi-theme) !important; }

/* FullCalendar buttons */
.fc .fc-button-primary {
  color:#fff !important;
  background-color: var(--gi-charcoal) !important;
  border-color: var(--gi-charcoal) !important;
}
.fc .fc-button-primary.fc-button-active {
  color:#fff !important;
  background-color: var(--gi-action) !important;
  border-color: var(--gi-action) !important;
}
.fc-button:hover {
  color:#fff !important;
  background-color: var(--gi-action) !important;
  border-color: var(--gi-action) !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(--gi-border-muted);
}