/* Site-wide sale banner (Black Friday). Injected after <body> by
   app/Services/PromotionBanner.js while Billing Point has a live sale. */
.wsPromoBar {
  position: relative;
  z-index: 1001;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(100deg, #081831 0%, #102d60 45%, #124995 100%);
  border-bottom: 1px solid rgba(114, 213, 255, 0.35);
  font-family: inherit;
}
.wsPromoBar[hidden] { display: none; }
.wsPromoBarGlow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(114, 213, 255, 0.18) 45%, rgba(0, 102, 255, 0.16) 55%, transparent 70%);
  background-size: 250% 100%;
  animation: wsPromoSweep 5s linear infinite;
}
.wsPromoBarInner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px 56px 9px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
  line-height: 1.35;
}
.wsPromoBarBadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #72d5ff;
  color: #081831;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: wsPromoPulse 2s ease-in-out infinite;
}
.wsPromoBarText { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.wsPromoBarText strong { font-weight: 800; color: #fff; }
.wsPromoBarMessage { color: rgba(255, 255, 255, 0.78); font-size: 13px; }
.wsPromoBarTimer { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.wsPromoBarTimerLabel { color: rgba(255, 255, 255, 0.7); font-size: 12.5px; margin-right: 2px; }
.wsPromoBarUnit {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}
.wsPromoBarUnit b { font-size: 14px; color: #72d5ff; font-weight: 800; min-width: 1.2em; text-align: right; }
.wsPromoBarUnit b.isTick { animation: wsPromoTick 0.35s ease-out; }
.wsPromoBarCta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #72d5ff, #38bdf8);
  color: #081831;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(114, 213, 255, 0.6);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.wsPromoBarCta:hover, .wsPromoBarCta:focus-visible { transform: translateY(-1px); box-shadow: 0 6px 18px -6px rgba(114, 213, 255, 0.8); color: #081831; }
.wsPromoBarCta:focus-visible, .wsPromoBarClose:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wsPromoBarCta .fa-arrow-right { transition: transform 0.2s ease; }
.wsPromoBarCta:hover .fa-arrow-right { transform: translateX(3px); }
.wsPromoBarClose {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}
.wsPromoBarClose:hover { background: rgba(255, 255, 255, 0.24); }
.wsPromoBar.isClosing { animation: wsPromoCollapse 0.35s ease forwards; }

@keyframes wsPromoSweep { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@keyframes wsPromoPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(114, 213, 255, 0.55); } 50% { box-shadow: 0 0 0 6px rgba(114, 213, 255, 0); } }
@keyframes wsPromoTick { from { transform: translateY(-40%); opacity: 0.2; } to { transform: none; opacity: 1; } }
@keyframes wsPromoCollapse { to { max-height: 0; opacity: 0; padding: 0; } }

@media (max-width: 1680px) {
  .wsPromoBarMessage { display: none; }
}
@media (max-width: 760px) {
  .wsPromoBarInner { justify-content: flex-start; padding: 9px 48px 9px 14px; font-size: 13px; }
  .wsPromoBarMessage { display: none; }
  .wsPromoBarTimerLabel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wsPromoBarGlow, .wsPromoBarBadge, .wsPromoBarUnit b.isTick, .wsPromoBar.isClosing { animation: none; }
}
