
/* J&S Logistics seasonal customer themes v3.0
   Built specifically for the current .premium-* customer dashboard.
   No page scaling: the layout reflows to the available viewport. */

:root{
  --season-accent:#ff3540;
  --season-accent-2:#e5162c;
}

#homeScreen .premium-hero{
  isolation:isolate;
  background-position:center !important;
  background-repeat:no-repeat !important;
  background-size:cover !important;
  min-height:clamp(280px,31vw,430px);
}

#homeScreen .premium-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(3,9,15,.94) 0%,rgba(3,9,15,.74) 28%,rgba(3,9,15,.18) 57%,rgba(3,9,15,.05) 100%);
}

#homeScreen .premium-hero-copy{
  position:relative;
  z-index:2;
  max-width:min(620px,48%);
}

#homeScreen .premium-hero h2 span,
#homeScreen .seasonal-kicker,
#homeScreen .seasonal-banner strong{
  color:var(--season-accent);
}

body.theme-halloween{--season-accent:#ff7417;--season-accent-2:#d94a00}
body.theme-halloween #homeScreen .premium-hero{
  background-image:url('halloween-actros-hero.jpg') !important;
}
body.theme-halloween #homeScreen .primary-action{
  background:linear-gradient(135deg,#ff7a18,#e94d00) !important;
  border-color:#ff8c2c !important;
}

body.theme-bonfire{--season-accent:#ff9a24;--season-accent-2:#ef3f16}
body.theme-bonfire #homeScreen .premium-hero{
  background-image:url('bonfire-actros-hero.jpg') !important;
}
body.theme-bonfire #homeScreen .primary-action{
  background:linear-gradient(135deg,#ff8a19,#ef3f16) !important;
  border-color:#ff9b35 !important;
}

body.theme-christmas{--season-accent:#ff3346;--season-accent-2:#bf1025}
body.theme-christmas #homeScreen .premium-hero{
  background-image:url('christmas-actros-hero.jpg') !important;
}
body.theme-christmas #homeScreen .primary-action{
  background:linear-gradient(135deg,#ef263d,#b90e25) !important;
  border-color:#ff3e53 !important;
}

.seasonal-banner{
  margin-top:22px;
  width:min(560px,100%);
  padding:14px 16px;
  border:1px solid color-mix(in srgb,var(--season-accent) 55%,transparent);
  border-radius:12px;
  background:rgba(5,13,20,.76);
  backdrop-filter:blur(7px);
  box-shadow:0 12px 28px rgba(0,0,0,.28);
}
.seasonal-banner[hidden]{display:none!important}
.seasonal-kicker{
  display:block;
  margin-bottom:3px;
  font-size:11px;
  font-weight:950;
  letter-spacing:1.5px;
  text-transform:uppercase;
}
.seasonal-banner strong{
  display:block;
  font-size:19px;
  line-height:1.15;
  margin-bottom:3px;
}
#seasonalMessage{
  display:block;
  color:#e6edf3;
  font-size:13px;
}

.christmas-countdown{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  margin-top:12px;
  font-variant-numeric:tabular-nums;
}
.christmas-countdown[hidden]{display:none!important}
.christmas-countdown .count-unit{
  min-width:0;
  padding:9px 7px;
  text-align:center;
  border-radius:9px;
  background:rgba(174,11,34,.78);
  border:1px solid rgba(255,255,255,.16);
}
.christmas-countdown b{
  display:block;
  color:#fff;
  font-size:21px;
  line-height:1;
}
.christmas-countdown small{
  display:block;
  margin-top:5px;
  color:#fff;
  opacity:.86;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.5px;
}

/* Keep every live dashboard section inside the viewport. */
#homeScreen .premium-home,
#homeScreen .premium-actions,
#homeScreen .premium-stats,
#homeScreen .premium-lower,
#homeScreen .premium-card,
#homeScreen .premium-side{
  width:100%;
  min-width:0;
  max-width:100%;
}

@media (min-width:761px){
  #homeScreen .premium-actions{
    grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr)) !important;
  }
  #homeScreen .premium-stats{
    grid-template-columns:repeat(auto-fit,minmax(min(135px,100%),1fr)) !important;
  }
  #homeScreen .premium-lower{
    grid-template-columns:minmax(0,2fr) minmax(280px,1fr) !important;
  }
}

@media (max-width:1100px){
  #homeScreen .premium-lower{grid-template-columns:1fr !important}
  #homeScreen .premium-hero-copy{max-width:58%}
}

@media (max-width:760px){
  #homeScreen .premium-hero{
    min-height:500px;
    background-position:center !important;
  }
  #homeScreen .premium-hero::before{
    background:linear-gradient(180deg,rgba(3,9,15,.94) 0%,rgba(3,9,15,.70) 52%,rgba(3,9,15,.28) 100%);
  }
  #homeScreen .premium-hero-copy{
    max-width:100%;
    padding:22px 18px;
  }
  #homeScreen .premium-hero h2{font-size:clamp(36px,11vw,48px)}
  #homeScreen .premium-actions,
  #homeScreen .premium-lower,
  #homeScreen .quick-links-grid{grid-template-columns:1fr !important}
  #homeScreen .premium-stats{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}

@media (max-width:390px){
  .christmas-countdown{grid-template-columns:repeat(2,1fr)}
}
