/**
 * ViewCash - Universal Promotions & Notifications Styling
 * Theme: ViewCash (#4e249c, #7F6EF2), Dark/Light mode, Responsive
 */

/* ==========================================================================
   1. Notification Bell & Ring Animation
   ========================================================================== */

@keyframes bell-ring {
  0% { transform: scale(1) rotate(0deg); }
  20% { transform: scale(1.2) rotate(-18deg); }
  40% { transform: scale(1.2) rotate(18deg); }
  60% { transform: scale(1.15) rotate(-12deg); }
  80% { transform: scale(1.1) rotate(8deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.animate-bell-ring {
  animation: bell-ring 1.2s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
  transform-origin: center;
  display: inline-block;
}

.vc-bell-btn {
  position: relative;
  background: transparent;
  border: none;
  outline: none !important;
  cursor: pointer;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #555b6d;
  transition: color 0.2s ease, transform 0.15s ease;
  border-radius: 8px;
}

.vc-bell-btn:hover {
  color: #4e249c;
  background: rgba(78, 36, 156, 0.08);
}

.vc-bell-btn:active {
  transform: scale(0.95);
}

body.dark .vc-bell-btn,
body.dark-theme .vc-bell-btn {
  color: #b0b7c7;
}

body.dark .vc-bell-btn:hover,
body.dark-theme .vc-bell-btn:hover {
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.12);
}

.vc-bell-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: #ffffff;
  background: #ef4444;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4);
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vc-bell-badge.badge-pop {
  transform: scale(1.25);
}

@media (max-width: 576px) {
  #profileImage {
    width: 2.3rem !important;
    height: 2.3rem !important;
    line-height: 2.3rem !important;
    font-size: 1.15rem !important;
  }
}

/* ==========================================================================
   2. Notification Drawer & Backdrop
   ========================================================================== */

.vc-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 10, 35, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vc-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.vc-notification-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1055;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.vc-notification-drawer.active {
  right: 0;
}

/* Dark mode drawer surface */
body.dark .vc-notification-drawer,
body.dark-theme .vc-notification-drawer {
  background: #15112c;
  color: #f1f3f9;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.45);
}

/* Mobile Pull Bar & Bottom Sheet transformation */
.vc-drawer-pullbar {
  display: none;
  width: 40px;
  height: 4px;
  background: #d1d5db;
  border-radius: 2px;
  margin: 10px auto 4px;
}


/* Drawer Header */
.vc-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid #edf0f7;
  background: #fafbfe;
}

.vc-drawer-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

body.dark .vc-drawer-header,
body.dark-theme .vc-drawer-header {
  background: #1b1638;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.vc-drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vc-drawer-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: #2c0e66;
}

body.dark .vc-drawer-title,
body.dark-theme .vc-drawer-title {
  color: #ffffff;
}

.vc-unread-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(78, 36, 156, 0.12);
  color: #4e249c;
}

body.dark .vc-unread-pill,
body.dark-theme .vc-unread-pill {
  background: rgba(167, 139, 250, 0.2);
  color: #c4b5fd;
}

.vc-drawer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vc-mark-all-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid #d1d5db;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vc-mark-all-btn:hover:not(:disabled) {
  background: #4e249c;
  color: #ffffff;
  border-color: #4e249c;
}

body.dark .vc-mark-all-btn,
body.dark-theme .vc-mark-all-btn {
  border-color: rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
}

body.dark .vc-mark-all-btn:hover:not(:disabled),
body.dark-theme .vc-mark-all-btn:hover:not(:disabled) {
  background: #7F6EF2;
  border-color: #7F6EF2;
  color: #ffffff;
}

.vc-drawer-close-btn {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.15s ease;
}

.vc-drawer-close-btn:hover {
  color: #111827;
}

body.dark .vc-drawer-close-btn:hover,
body.dark-theme .vc-drawer-close-btn:hover {
  color: #ffffff;
}

/* Tabs Navigation */
.vc-drawer-tabs {
  display: flex;
  padding: 10px 16px;
  background: #ffffff;
  border-bottom: 1px solid #f1f3f9;
  gap: 8px;
}

body.dark .vc-drawer-tabs,
body.dark-theme .vc-drawer-tabs {
  background: #15112c;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.vc-tab-btn {
  flex: 1;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  border: none;
  background: #f3f4f8;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vc-tab-btn.active {
  background: #4e249c;
  color: #ffffff;
}

body.dark .vc-tab-btn,
body.dark-theme .vc-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
}

body.dark .vc-tab-btn.active,
body.dark-theme .vc-tab-btn.active {
  background: #7F6EF2;
  color: #ffffff;
}

.vc-tab-pill-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 12px;
  background: #ef4444;
  color: #ffffff;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1.3;
}

.vc-tab-btn.active .vc-tab-pill-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Drawer Body & List */
.vc-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   3. Notification Cards
   ========================================================================== */

.vc-notif-card {
  background: #ffffff;
  border: 1px solid #edf0f7;
  border-left: 4px solid #4e249c;
  border-radius: 10px;
  padding: 14px 16px;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.vc-notif-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

body.dark .vc-notif-card,
body.dark-theme .vc-notif-card {
  background: #1b1638;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Card Type Border Accents */
.vc-notif-card.type-payment,
.vc-notif-card.type-success {
  border-left-color: #10b981;
}

.vc-notif-card.type-security,
.vc-notif-card.type-critical,
.vc-notif-card.type-error {
  border-left-color: #ef4444;
}

.vc-notif-card.type-warning,
.vc-notif-card.type-compliance {
  border-left-color: #f59e0b;
}

.vc-notif-card.type-maintenance {
  border-left-color: #6366f1;
}

.vc-notif-card.type-promotion {
  border-left-color: #d946ef;
}

.vc-notif-card.type-information,
.vc-notif-card.type-broadcast {
  border-left-color: #4e249c;
}

body.dark .vc-notif-card.type-information,
body.dark-theme .vc-notif-card.type-information {
  border-left-color: #7F6EF2;
}

/* Unread Dot */
.vc-notif-card.unread::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
}

.vc-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding-right: 14px;
}

.vc-notif-meta-tags {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vc-notif-type-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(78, 36, 156, 0.1);
  color: #4e249c;
}

body.dark .vc-notif-type-tag,
body.dark-theme .vc-notif-type-tag {
  background: rgba(167, 139, 250, 0.15);
  color: #c4b5fd;
}

.vc-notif-pin-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: #fef3c7;
  color: #b45309;
}

body.dark .vc-notif-pin-tag,
body.dark-theme .vc-notif-pin-tag {
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
}

.vc-notif-time {
  font-size: 11px;
  color: #9ca3af;
}

.vc-notif-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #1f2937;
  line-height: 1.35;
}

body.dark .vc-notif-title,
body.dark-theme .vc-notif-title {
  color: #f3f4f6;
}

.vc-notif-body {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
  margin: 0 0 10px 0;
  word-break: break-word;
}

body.dark .vc-notif-body,
body.dark-theme .vc-notif-body {
  color: #cbd5e1;
}

/* Card Buttons & Actions */
.vc-notif-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #edf0f7;
}

body.dark .vc-notif-actions,
body.dark-theme .vc-notif-actions {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.vc-notif-primary-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vc-notif-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vc-notif-btn-primary {
  background: #4e249c;
  color: #ffffff !important;
  border: none;
}

.vc-notif-btn-primary:hover {
  background: #3c1980;
}

body.dark .vc-notif-btn-primary,
body.dark-theme .vc-notif-btn-primary {
  background: #7F6EF2;
}

body.dark .vc-notif-btn-primary:hover,
body.dark-theme .vc-notif-btn-primary:hover {
  background: #6c5bd6;
}

.vc-notif-btn-ack {
  background: rgba(16, 185, 129, 0.12);
  color: #059669 !important;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.vc-notif-btn-ack:hover {
  background: #10b981;
  color: #ffffff !important;
}

.vc-notif-btn-ghost {
  background: transparent;
  border: none;
  color: #6b7280;
  padding: 4px 6px;
}

.vc-notif-btn-ghost:hover {
  color: #111827;
}

body.dark .vc-notif-btn-ghost,
body.dark-theme .vc-notif-btn-ghost {
  color: #9ca3af;
}

body.dark .vc-notif-btn-ghost:hover,
body.dark-theme .vc-notif-btn-ghost:hover {
  color: #ffffff;
}

/* Empty State */
.vc-notif-empty {
  text-align: center;
  padding: 50px 20px;
  color: #9ca3af;
}

.vc-notif-empty-icon {
  font-size: 42px;
  margin-bottom: 12px;
  color: #d1d5db;
}

body.dark .vc-notif-empty-icon,
body.dark-theme .vc-notif-empty-icon {
  color: rgba(255, 255, 255, 0.2);
}

.vc-notif-empty-title {
  font-size: 15px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 6px;
}

body.dark .vc-notif-empty-title,
body.dark-theme .vc-notif-empty-title {
  color: #e5e7eb;
}

.vc-notif-empty-desc {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

/* ==========================================================================
   Mobile Bottom Sheet & Theme Design (<= 576px)
   ========================================================================== */

@media (max-width: 576px) {
  .vc-notification-drawer {
    top: auto !important;
    bottom: -95vh !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    max-height: 88vh !important;
    border-radius: 24px 24px 0 0 !important;
    transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: #f7f8fd !important;
    box-shadow: 0 -10px 40px rgba(78, 36, 156, 0.3) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
    overflow-x: hidden !important;
  }

  .vc-notification-drawer.active {
    bottom: 0 !important;
  }

  .vc-drawer-pullbar {
    display: block !important;
    width: 44px !important;
    height: 5px !important;
    background: rgba(255, 255, 255, 0.55) !important;
    border-radius: 3px !important;
    margin: 8px auto 6px !important;
  }

  /* ViewCash Theme Gradient Header on Mobile */
  .vc-drawer-header {
    background: linear-gradient(135deg, #4e249c 0%, #7367f0 100%) !important;
    padding: 10px 16px 14px !important;
    border-bottom: none !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
  }

  .vc-drawer-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-top: 6px !important;
    gap: 8px !important;
  }

  .vc-drawer-title-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  .vc-drawer-title {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  .vc-drawer-title i {
    color: #ffd166 !important;
  }

  .vc-unread-pill {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(4px) !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  .vc-drawer-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .vc-mark-all-btn {
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    border-radius: 16px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }

  .vc-mark-all-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.32) !important;
    color: #ffffff !important;
  }

  .vc-drawer-close-btn {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
  }

  /* Segmented pill bar on mobile */
  .vc-drawer-tabs {
    background: #e9ecf7 !important;
    border-radius: 14px !important;
    margin: 12px 14px 4px !important;
    padding: 4px !important;
    border-bottom: none !important;
    gap: 4px !important;
    box-sizing: border-box !important;
  }

  body.dark .vc-drawer-tabs,
  body.dark-theme .vc-drawer-tabs {
    background: #1e193d !important;
  }

  .vc-tab-btn {
    border-radius: 10px !important;
    padding: 7px 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    background: transparent !important;
    color: #555b6d !important;
    transition: all 0.2s ease !important;
  }

  body.dark .vc-tab-btn,
  body.dark-theme .vc-tab-btn {
    color: #a0aec0 !important;
  }

  .vc-tab-btn.active {
    background: linear-gradient(135deg, #4e249c 0%, #7367f0 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(115, 103, 240, 0.35) !important;
    font-weight: 700 !important;
  }

  .vc-drawer-body {
    padding: 10px 14px 24px !important;
    box-sizing: border-box !important;
  }

  .vc-notif-card {
    border-radius: 14px !important;
    border: 1px solid rgba(115, 103, 240, 0.15) !important;
    box-shadow: 0 3px 12px rgba(78, 36, 156, 0.05) !important;
    box-sizing: border-box !important;
  }

  body.dark .vc-notif-card,
  body.dark-theme .vc-notif-card {
    border-color: rgba(115, 103, 240, 0.25) !important;
    background: #1a163a !important;
  }

  .vc-notif-btn-primary {
    background: linear-gradient(135deg, #4e249c 0%, #7367f0 100%) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(115, 103, 240, 0.3) !important;
  }
}

/* ==========================================================================
   4. Promotions System (Banner, Popup, Footer Strip, Native Card)
   ========================================================================== */

/* Overlaid Ad Badge & Close Button */
.vc-ad-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  pointer-events: none;
  z-index: 10;
}

.vc-ad-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  border: none;
  z-index: 11;
  transition: background 0.15s ease, transform 0.15s ease;
  line-height: 1;
}

.vc-ad-close:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.1);
}

/* Promotion: Banner (Dual Column on Desktop, Carousel on Mobile) */
.vc-promo-banner-container {
  margin: 20px 0;
  position: relative;
}

.vc-promo-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .vc-promo-banner-grid {
    grid-template-columns: 1fr;
  }
}

.vc-promo-banner-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vc-promo-banner-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.vc-promo-banner-item a {
  display: block;
}

.vc-promo-banner-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Promotion: Native Card */
.vc-promo-native-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  transition: transform 0.2s ease;
}

.vc-promo-native-card:hover {
  transform: translateY(-2px);
}

.vc-promo-native-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Promotion: Footer Strip */
.vc-promo-footer-strip {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 728px;
  z-index: 1040;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border: 1px solid rgba(127, 110, 242, 0.2);
  animation: vc-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes vc-slide-up {
  from {
    transform: translate(-50%, 100px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@media (max-width: 576px) {
  .vc-promo-footer-strip {
    width: calc(100% - 24px);
    left: 12px;
    transform: none;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

.vc-promo-footer-strip a {
  display: block;
}

.vc-promo-footer-strip img {
  width: 100%;
  height: auto;
  display: block;
}

/* Promotion: Popup Modal */
.vc-promo-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 5, 25, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 16px;
}

.vc-promo-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.vc-promo-popup-content {
  position: relative;
  max-width: 520px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  background: #ffffff;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vc-promo-popup-overlay.active .vc-promo-popup-content {
  transform: scale(1);
}

.vc-promo-popup-content a {
  display: block;
}

.vc-promo-popup-content img {
  width: 100%;
  height: auto;
  display: block;
}

.vc-promo-popup-content .vc-ad-badge {
  top: 12px;
  left: 12px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.vc-promo-popup-content .vc-ad-close {
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  font-size: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Ensure mobile sidebar app drawer is always layered above all promotions and ad badges */
@media (max-width: 991px) {
  body .sidebar,
  .sidebar,
  .horizontal-menu .sidebar,
  .boxed.horizontal-menu .sidebar {
    z-index: 1055 !important;
  }
}
