/* Light/Dark Adaptive Glassmorphism */
    .glass-panel {
      background: rgba(255, 255, 255, 0.75);
      backdrop-filter: blur(20px) saturate(180%);
      border: 1px solid rgba(0, 0, 0, 0.08);
    }
    .dark .glass-panel {
      background: rgba(24, 24, 27, 0.75);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .glass-card {
      background: rgba(255, 255, 255, 0.85);
      border: 1px solid rgba(0, 0, 0, 0.06);
      box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    }
    .dark .glass-card {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    }

    /* Hide Scrollbars for Sliders */
    .no-scrollbar::-webkit-scrollbar { display: none; }
    .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }


/* Prevent CLS (Layout Jump) in Featured Slider Ads */
#featured-slider .ad-slot-wrapper {
  height: 12rem !important; /* 192px matching h-48 */
  max-height: 12rem !important;
  contain: layout size; /* Reserves layout space prior to script execution */
}

/* Force AdSense to respect pre-reserved dimensions */
#featured-slider .adsense-container {
  height: 160px !important;
  max-height: 160px !important;
  overflow: hidden !important;
}

#featured-slider ins.adsbygoogle {
  display: inline-block !important;
  width: 100% !important;
  height: 150px !important;
  max-height: 150px !important;
}

#featured-slider ins.adsbygoogle iframe {
  max-height: 150px !important;
  height: 150px !important;
  object-fit: cover !important;
}

@keyframes heartBurst {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-15deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.3) rotate(0deg);
  }
  75% {
    opacity: 0.9;
    transform: scale(1.05) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(1.4) translateY(-20px);
  }
}

.animate-heart-burst {
  animation: heartBurst 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}



/* Custom styling for Select2 to fit Tailwind Glassmorphism */
    .select2-container--default .select2-selection--single {
      background-color: transparent !important;
      border: 1px solid rgba(0, 0, 0, 0.08) !important;
      border-radius: 1rem !important;
      height: 46px !important;
      padding: 8px 12px !important;
    }
    .dark .select2-container--default .select2-selection--single {
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      background-color: rgba(39, 39, 42, 0.5) !important;
    }
    .select2-container--default .select2-selection--single .select2-selection__rendered {
      color: inherit !important;
      line-height: 28px !important;
      font-size: 12px !important;
      font-weight: 500 !important;
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow {
      height: 44px !important;
      right: 12px !important;
    }
    .select2-dropdown {
      background-color: #ffffff !important;
      border: 1px solid rgba(0, 0, 0, 0.1) !important;
      border-radius: 1rem !important;
      overflow: hidden;
      font-size: 12px;
    }
    .dark .select2-dropdown {
      background-color: #18181b !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      color: #f4f4f5 !important;
    }
    .select2-search--dropdown .select2-search__field {
      background-color: #f4f4f5 !important;
      border: 1px solid rgba(0, 0, 0, 0.1) !important;
      border-radius: 0.75rem !important;
      padding: 8px !important;
      font-size: 12px !important;
      color: #18181b !important;
    }
    .dark .select2-search--dropdown .select2-search__field {
      background-color: #27272a !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      color: #f4f4f5 !important;
    }