﻿/* ============================================================
   DGT — Booking Count Badge + Urgency Messages
   ============================================================ */

.pack-booked {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 100px;
  background: rgba(220, 38, 38, .92);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .03em;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, .35);
  animation: bookedPulse 2.6s ease-in-out infinite;
  white-space: nowrap;
}
.pack-booked i { font-size: .62rem; color: #FFD966; }
@keyframes bookedPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(220,38,38,.35); }
  50%      { transform: scale(1.05); box-shadow: 0 12px 32px rgba(220,38,38,.55); }
}

.pack-urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(220,38,38,.15), rgba(220,38,38,.05));
  border: 1px solid rgba(220,38,38,.35);
  color: #FFB4B4;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .02em;
  align-self: flex-start;
}
.pack-urgency i { color: #FF6B6B; font-size: .72rem; animation: urgencyFlash 1.6s ease-in-out infinite; }
@keyframes urgencyFlash { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

@media (max-width: 480px) {
  .pack-booked { font-size: .62rem; padding: 5px 10px; bottom: 12px; right: 12px; }
  .pack-booked i { font-size: .56rem; }
  .pack-urgency { font-size: .68rem; padding: 6px 11px; margin-bottom: 10px; }
}

/* ===== Recent Booking Toast ===== */
.dgt-booking-toast {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9500;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #161B26, #0F131C);
  border: 1px solid rgba(200,164,92,.25);
  box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(200,164,92,.08);
  max-width: 380px;
  opacity: 0;
  transform: translateX(-120%) scale(.95);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.dgt-booking-toast.show {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.dbt-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10B981, #059669);
  display: grid; place-items: center;
  color: #fff; font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(16,185,129,.4);
}
.dbt-body { flex: 1; min-width: 0; }
.dbt-body strong {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.dbt-body strong span { color: #9AA3B2; font-weight: 400; }
.dbt-body p {
  font-size: .78rem;
  color: #C8CDD6;
  margin: 0 0 4px;
  line-height: 1.4;
}
.dbt-body p em { color: #EBD3A0; font-style: italic; }
.dbt-body small {
  font-size: .68rem;
  color: #6C7686;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dbt-body small i { color: #C8A45C; }
.dbt-close {
  position: absolute;
  top: 8px; right: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #9AA3B2;
  font-size: .65rem;
  cursor: pointer;
  display: grid; place-items: center;
  transition: all .3s;
}
.dbt-close:hover { background: rgba(220,38,38,.25); color: #fff; border-color: transparent; }

@media (max-width: 600px) {
  .dgt-booking-toast {
    left: 12px; right: 12px; bottom: 80px;
    max-width: none;
    padding: 12px 14px;
  }
  .dbt-icon { width: 36px; height: 36px; font-size: .9rem; }
  .dbt-body strong { font-size: .76rem; }
  .dbt-body p { font-size: .72rem; }
}

/* ===== Live Visitor Counter ===== */
.dgt-live-viewers {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 100px;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.35);
  color: #6EE7B7;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}
.dgt-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16,185,129,.7);
  animation: dgtLivePulse 1.8s ease-in-out infinite;
}
@keyframes dgtLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,.7); }
  70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
