/**
 * Ad2Click - Universal Promotions & Notifications Styling
 * Theme: Ad2Click Navy (#142D6F), Electric Blue (#1355ff, #2563eb), Responsive Mobile Sheet
 * Follows specs/architecture.md and docs/tenant-promotions-notifications-guide.md
 */

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

@keyframes bell-ring {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(14deg); }
  30% { transform: rotate(-14deg); }
  45% { transform: rotate(10deg); }
  60% { transform: rotate(-10deg); }
  75% { transform: rotate(6deg); }
  85% { transform: rotate(-6deg); }
  100% { transform: rotate(0deg); }
}

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

.ac-bell-btn,
.vc-bell-btn {
  position: relative;
  background: transparent;
  border: none;
  outline: none !important;
  cursor: pointer;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--heading-color, #142D6F);
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  border-radius: 10px;
  line-height: 1;
}

.ac-bell-btn:hover,
.vc-bell-btn:hover {
  color: #1355ff;
  background: rgba(19, 85, 255, 0.08);
}

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

.ac-bell-badge,
.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 6px rgba(239, 68, 68, 0.4);
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

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

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

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

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

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

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

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

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

.ac-drawer-title,
.vc-drawer-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--heading-color, #142D6F);
  display: flex;
  align-items: center;
}

.ac-unread-pill,
.vc-unread-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(19, 85, 255, 0.12);
  color: #1355ff;
}

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

.ac-mark-all-btn,
.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;
}

.ac-mark-all-btn:hover:not(:disabled),
.vc-mark-all-btn:hover:not(:disabled) {
  background: var(--heading-color, #142D6F);
  color: #ffffff;
  border-color: var(--heading-color, #142D6F);
}

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

.ac-drawer-close-btn:hover,
.vc-drawer-close-btn:hover {
  color: var(--heading-color, #142D6F);
}

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

.ac-tab-btn,
.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;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ac-tab-btn.active,
.vc-tab-btn.active {
  background: var(--heading-color, #142D6F);
  color: #ffffff;
}

.ac-tab-pill-badge,
.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;
}

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

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

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

.ac-notif-card,
.vc-notif-card {
  background: #ffffff;
  border: 1px solid #edf0f7;
  border-left: 4px solid var(--heading-color, #142D6F);
  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(20, 45, 111, 0.04);
}

.ac-notif-card:hover,
.vc-notif-card:hover {
  box-shadow: 0 4px 14px rgba(20, 45, 111, 0.09);
}

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

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

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

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

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

.ac-notif-card.type-information,
.vc-notif-card.type-information,
.ac-notif-card.type-broadcast,
.vc-notif-card.type-broadcast {
  border-left-color: #1355ff;
}

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

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

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

.ac-notif-type-tag,
.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(19, 85, 255, 0.1);
  color: #1355ff;
}

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

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

.ac-notif-title,
.vc-notif-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--heading-color, #142D6F);
  line-height: 1.35;
}

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

/* Card Buttons & Actions */
.ac-notif-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;
}

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

.ac-notif-btn,
.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;
}

.ac-notif-btn-primary,
.vc-notif-btn-primary {
  background: var(--heading-color, #142D6F);
  color: #ffffff !important;
  border: none;
}

.ac-notif-btn-primary:hover,
.vc-notif-btn-primary:hover {
  background: #1355ff;
}

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

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

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

.ac-notif-btn-ghost:hover,
.vc-notif-btn-ghost:hover {
  color: var(--heading-color, #142D6F);
}

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

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

.ac-notif-empty-title,
.vc-notif-empty-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading-color, #142D6F);
  margin-bottom: 6px;
}

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

/* ==========================================================================
   4. Mobile Bottom Sheet (<= 576px)
   ========================================================================== */

@media (max-width: 576px) {
  .ac-notification-drawer,
  .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(20, 45, 111, 0.25) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.6) !important;
    overflow-x: hidden !important;
  }

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

  .ac-drawer-pullbar,
  .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;
  }

  /* Ad2Click Theme Gradient Header on Mobile */
  .ac-drawer-header,
  .vc-drawer-header {
    background: linear-gradient(135deg, #142D6F 0%, #1355ff 100%) !important;
    padding: 10px 16px 14px !important;
    border-bottom: none !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
  }

  .ac-drawer-header-row,
  .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;
  }

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

  .ac-drawer-title,
  .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;
  }

  .ac-unread-pill,
  .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;
  }

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

  .ac-mark-all-btn,
  .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;
  }

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

  .ac-drawer-close-btn,
  .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 */
  .ac-drawer-tabs,
  .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;
  }

  .ac-tab-btn,
  .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;
  }

  .ac-tab-btn.active,
  .vc-tab-btn.active {
    background: linear-gradient(135deg, #142D6F 0%, #1355ff 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(19, 85, 255, 0.35) !important;
    font-weight: 700 !important;
  }

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

  .ac-notif-card,
  .vc-notif-card {
    border-radius: 14px !important;
    border: 1px solid rgba(19, 85, 255, 0.15) !important;
    box-shadow: 0 3px 12px rgba(20, 45, 111, 0.05) !important;
    box-sizing: border-box !important;
  }

  .ac-notif-btn-primary,
  .vc-notif-btn-primary {
    background: linear-gradient(135deg, #142D6F 0%, #1355ff 100%) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(19, 85, 255, 0.3) !important;
  }
}

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

/* Overlaid Ad Badge & Close Button */
.ac-ad-badge,
.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;
}

.ac-ad-close,
.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;
}

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

/* Promotion: Banner (Desktop: 1x2 Dual Column Grid, Mobile: 1 banner) */
.ac-promo-banner-container,
.vc-promo-banner-container {
  margin: 10px auto 16px;
  position: relative;
  width: 100%;
}

.ac-promo-banner-grid,
.vc-promo-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
}

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

.ac-promo-banner-item,
.vc-promo-banner-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(20, 45, 111, 0.08);
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 130px;
  max-height: 130px;
  width: 100%;
}

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

.ac-promo-banner-item a,
.vc-promo-banner-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.ac-promo-banner-item img,
.vc-promo-banner-item img {
  width: 100%;
  height: 100%;
  max-height: 130px;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .ac-promo-banner-item,
  .vc-promo-banner-item {
    height: 90px;
    max-height: 90px;
  }

  .ac-promo-banner-item img,
  .vc-promo-banner-item img {
    max-height: 90px;
  }
}

/* Promotion: Native Card */
.ac-promo-native-card,
.vc-promo-native-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(20, 45, 111, 0.08);
  background: #ffffff;
  transition: transform 0.2s ease;
  width: 100%;
  margin: 16px auto;
  height: 150px;
  max-height: 150px;
}

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

.ac-promo-native-card a,
.vc-promo-native-card a {
  display: block;
  width: 100%;
  height: 100%;
}

.ac-promo-native-card img,
.vc-promo-native-card img {
  width: 100%;
  height: 100%;
  max-height: 150px;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .ac-promo-native-card,
  .vc-promo-native-card {
    height: 100px;
    max-height: 100px;
  }

  .ac-promo-native-card img,
  .vc-promo-native-card img {
    max-height: 100px;
  }
}

/* Promotion: Footer Strip */
.ac-promo-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(20, 45, 111, 0.22);
  overflow: hidden;
  border: 1px solid rgba(19, 85, 255, 0.2);
  animation: ac-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

.ac-promo-footer-strip img,
.vc-promo-footer-strip img {
  width: 100%;
  height: 90px;
  max-height: 90px;
  display: block;
  object-fit: cover;
  object-position: center;
}

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

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

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

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

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

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

.ac-promo-popup-content .ac-ad-badge,
.ac-promo-popup-content .vc-ad-badge,
.vc-promo-popup-content .ac-ad-badge,
.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);
}

.ac-promo-popup-content .ac-ad-close,
.ac-promo-popup-content .vc-ad-close,
.vc-promo-popup-content .ac-ad-close,
.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);
}
