/* Tema Natal & Tahun Baru SIRAM (App\Support\FestiveSeason). Hanya tampilan. */

#srSnow, #srFireworks {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 1039; /* di atas sidebar (1038), di bawah backdrop modal (1040) */
}
#srFireworks { z-index: 1060; }

/* Lampu hias di bawah navbar */
.main-header { position: relative; }
.sr-garland {
  position: absolute; left: 0; right: 0; bottom: -13px; height: 18px;
  pointer-events: none; overflow: visible; z-index: 2;
}
.sr-garland svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sr-garland .sr-bulb {
  position: absolute; top: 0; width: 7px; height: 11px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform-origin: 50% 0; animation: srTwinkle 2.4s ease-in-out infinite;
}
.sr-garland .sr-bulb::before {
  content: ""; position: absolute; top: -3px; left: 1.5px; width: 4px; height: 4px; border-radius: 1px; background: #5b6770;
}
.sr-bulb.c0 { background: #e53935; box-shadow: 0 0 6px 1px rgba(229,57,53,.7); }
.sr-bulb.c1 { background: #fbc02d; box-shadow: 0 0 6px 1px rgba(251,192,45,.7); }
.sr-bulb.c2 { background: #43a047; box-shadow: 0 0 6px 1px rgba(67,160,71,.7); }
.sr-bulb.c3 { background: #1e88e5; box-shadow: 0 0 6px 1px rgba(30,136,229,.7); }
@keyframes srTwinkle {
  0%, 100% { opacity: 1; filter: brightness(1.1); }
  50% { opacity: .35; filter: brightness(.7); box-shadow: none; }
}

/* Topi Santa di logo */
.main-sidebar .brand-link { position: relative; }
.sr-santa-hat {
  position: absolute; width: 26px; height: 22px; pointer-events: none;
  transform: rotate(-18deg); z-index: 3;
}
.sr-login-brand .sr-logo { position: relative; }
.sr-login-brand .sr-santa-hat { width: 34px; height: 30px; }

/* Toggle di menu user */
#srFestiveToggle .custom-switch { padding-left: 2.25rem; }

@media (prefers-reduced-motion: reduce) {
  .sr-garland .sr-bulb { animation: none; }
}
