/* ============================================================
   notif_libur.css — Notifikasi Libur Lebaran SOWAN
   ============================================================ */

/* ── Notif Bar ─────────────────────────────────────────────── */
#notif-bar {
  background: linear-gradient(90deg, #07213D 0%, #0d2e52 55%, #07213D 100%);
  border-bottom: 1px solid rgba(238, 191, 99, .25);
  position: relative;
  z-index: 50;
  overflow: hidden;
}

#notif-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent 0%,
      transparent 48%,
      rgba(238, 191, 99, .06) 50%,
      transparent 52%,
      transparent 100%);
  animation: shimmerBar 8s linear infinite;
  pointer-events: none;
}

@keyframes shimmerBar {
  from { background-position: -200% 0; }
  to   { background-position:  200% 0; }
}

.notif-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 9px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.notif-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notif-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(238, 191, 99, .15);
  border: 1px solid rgba(238, 191, 99, .45);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: .68rem;
  font-weight: 700;
  color: #EEBF63;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.notif-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #EEBF63;
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(1.35); }
}

.notif-txt {
  font-size: .72rem;
  color: rgba(224, 226, 227, .85);
}

.notif-txt strong { color: #EEBF63; }

/* Countdown */
.notif-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cd-box {
  background: rgba(238, 191, 99, .12);
  border: 1px solid rgba(238, 191, 99, .3);
  border-radius: 7px;
  padding: 4px 10px;
  text-align: center;
  min-width: 46px;
}

.cd-box .cd-num {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #EEBF63;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cd-box .cd-lbl {
  display: block;
  font-size: .55rem;
  color: rgba(224, 226, 227, .6);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: 2px;
}

.cd-sep {
  font-size: .9rem;
  font-weight: 800;
  color: rgba(238, 191, 99, .5);
  margin-bottom: 8px;
}

/* SLA Card */
.notif-sla {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(7, 33, 61, .6);
  border: 1px solid rgba(238, 191, 99, .25);
  border-radius: 9px;
  padding: 5px 12px;
  font-size: .7rem;
  color: rgba(224, 226, 227, .8);
}

.sla-icon {
  font-size: .9rem;
  color: #EEBF63;
}

.sla-val {
  font-weight: 700;
  color: #EEBF63;
}

.notif-close {
  background: none;
  border: none;
  color: rgba(224, 226, 227, .4);
  cursor: pointer;
  font-size: .9rem;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color .2s;
  line-height: 1;
}

.notif-close:hover { color: #EEBF63; }

/* ── Pop-up ─────────────────────────────────────────────────── */
#popup-libur {
  position: fixed;
  inset: 0;
  background: rgba(3, 19, 38, .82);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(5px);
  animation: popOverIn .25s ease;
}

@keyframes popOverIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#popup-libur.hide {
  animation: popOverOut .3s ease forwards;
}

@keyframes popOverOut {
  to { opacity: 0; pointer-events: none; }
}

.popup-card {
  background: linear-gradient(155deg, #0d2e52 0%, #07213D 60%, #102540 100%);
  border: 1px solid rgba(238, 191, 99, .3);
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  padding: 32px 28px 26px;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(238, 191, 99, .12);
  animation: cardPop .35s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes cardPop {
  from { opacity: 0; transform: scale(.88) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.popup-deco {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #EEBF63, #f7dda0, #EEBF63, transparent);
  border-radius: 20px 20px 0 0;
}

.popup-ikon {
  font-size: 2.8rem;
  margin-bottom: 10px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(238, 191, 99, .35));
}

.popup-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #EEBF63;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}

.popup-sub {
  font-size: .72rem;
  color: rgba(224, 226, 227, .7);
  line-height: 1.6;
  margin-bottom: 18px;
}

.popup-sub strong { color: #f7dda0; }

.popup-info {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(238, 191, 99, .2);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  text-align: left;
}

.popup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: .73rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.popup-row:last-child { border-bottom: none; }
.popup-row .pr-lbl   { color: rgba(224, 226, 227, .6); }
.popup-row .pr-val   { font-weight: 700; color: #EEBF63; }
.popup-row .pr-val.ok { color: #6ee7b7; }

.popup-cd {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.popup-cd .cd-box      { min-width: 52px; padding: 6px 10px; }
.popup-cd .cd-box .cd-num { font-size: 1.2rem; }
.popup-cd-sep {
  font-size: .9rem;
  font-weight: 800;
  color: #EEBF63;
  margin-bottom: 12px;
}

.popup-btn {
  width: 100%;
  padding: 11px;
  background: #EEBF63;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: #07213D;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(238, 191, 99, .3);
}

.popup-btn:hover {
  background: #f7dda0;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(238, 191, 99, .4);
}

.popup-note {
  font-size: .62rem;
  color: rgba(224, 226, 227, .4);
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 640px) {
  .notif-countdown,
  .notif-sla { display: none; }
  .notif-inner { justify-content: space-between; }
}
