body {
  font-family: "Inter", sans-serif;
}

.font-script {
  font-family: "Dancing Script", cursive;
}

/* Shadow Utilities */
.pixel-shadow {
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
}

.pixel-shadow-md {
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
}

.pixel-shadow-lg {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.12);
}

/* Tab Styles */
.pixel-tab-active {
  background: #a259c6;
  color: #fff;
}

.pixel-tab-inactive {
  background: #f3f4f6;
  color: #222;
}

/* FAQ Styles */
.pixel-faq-arrow {
  transition: transform 0.2s;
}

.pixel-faq-arrow.open {
  transform: rotate(180deg);
}

.pixel-faq-card {
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  border-radius: 16px;
}

/* Button Styles */
.pixel-btn {
  box-shadow: 0 2px 8px 0 rgba(236, 72, 153, 0.15);
}

/* Hero Section Styles */
.pixel-banner {
  box-shadow: 0 8px 32px 0 rgba(162, 89, 198, 0.18);
}

.pixel-search {
  box-shadow: 0 2px 8px 0 rgba(162, 89, 198, 0.1);
  font-size: 18px;
}

.pixel-hero-btn {
  font-size: 18px;
  font-weight: 700;
  border-radius: 9999px;
  padding: 12px 40px;
}

.pixel-hero-btn.selected {
  background: #fff;
  color: #a259c6;
}

.pixel-hero-btn.unselected {
  background: #fff;
  color: #a259c6;
  opacity: 0.5;
}

/* Card and Country Styles */
.pixel-card {
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
}

.pixel-country {
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
}

/* Section Title */
.pixel-section-title {
  font-size: 32px;
  font-weight: 700;
  color: #a259c6;
}

/* Help and App Button Styles */
.pixel-help-btn {
  background: #ec4899;
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 17px;
  padding: 14px 40px;
}

.pixel-help-btn svg {
  margin-right: 8px;
}

.pixel-app-btn {
  background: #000;
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 17px;
  padding: 14px 32px;
}

.pixel-app-btn svg {
  margin-right: 8px;
}

/* Footer Styles */
.pixel-footer {
  background: linear-gradient(90deg, #7b2ff2 0%, #f357a8 100%);
}

.pixel-footer-link {
  color: #d1b3f7;
}

.pixel-footer-link:hover {
  color: #fff;
}

.pixel-footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.pixel-footer-social {
  color: #d1b3f7;
  margin-right: 12px;
}

.pixel-footer-social:hover {
  color: #fff;
}

.pixel-footer-copyright {
  color: #d1b3f7;
  font-size: 15px;
  margin-top: 32px;
}

.pixel-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  margin: 0 3px;
  display: inline-block;
}

.pixel-dot.active {
  background: #fff;
}

.pixel-dot.inactive {
  background: rgba(255, 255, 255, 0.5);
}

#toggleBtn {
  background-color: #a259c6;
  padding: 10px 26px;
  color: white;
  border-radius: 24px;
  margin-top: 55px;
}

#toggleBtn:hover {
  background: darkblue;
  transition: 2s;
}

.btn-container {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  #toggleBtn {
    font-size: 15px;
    padding: 10px 24px;
  }
}

@media (max-width: 480px) {
  #toggleBtn {
    font-size: 14px;
    padding: 8px 20px;
  }
}

div#countries {
    max-height: 350px;
    overflow: scroll;
}

@media (max-width: 767px) {
    div#countries {
        max-height: 520px;
    }
}

/* Navbar Styles */
button.pixel-navbar-btn,
.pixel-navbar-btn {
  background: #ec4899 !important;
  color: #fff !important;
  border-radius: 9999px !important;
  font-weight: 600 !important;
  padding: 6px 20px !important;
  font-size: 15px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  outline: none !important;
  box-shadow: none !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.5 !important;
}

button.pixel-navbar-signin,
.pixel-navbar-signin {
  background: #fff !important;
  color: #ec4899 !important;
  border: 2px solid #ec4899 !important;
  border-radius: 9999px !important;
  font-weight: 600 !important;
  padding: 6px 20px !important;
  font-size: 15px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  outline: none !important;
  box-shadow: none !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.5 !important;
}

button.pixel-navbar-signin:hover,
.pixel-navbar-signin:hover {
  background: #ec4899 !important;
  color: #fff !important;
  border-color: #ec4899 !important;
}

[x-cloak] {
  display: none !important;
}

/* Ensure search dropdown appears above all content */
#countryDropdown {
  position: absolute !important;
  z-index: 99999 !important; /* Extremely high to beat the banner */
  top: 100% !important;      /* Position it exactly below the input */
  left: 0 !important;
  width: 100% !important;
  margin-top: 8px !important;
  display: block !important; /* Ensure it's not hidden */
  background: white !important; /* Ensure it's not transparent */
}

/* Fix the Parent Container (Crucial for Desktop) */
.search-container-parent {
  position: relative !important;
  z-index: 50 !important;    /* Must be higher than the banner's z-index */
  overflow: visible !important;
}

@media (max-width: 767px) {
  #countryDropdown {
    position: absolute !important;
    z-index: 99999 !important;
    width: calc(100vw - 32px) !important;
    max-width: 100% !important;
  }
  
  /* Ensure hero section doesn't clip dropdown */
  section.relative {
    overflow: visible !important;
  }
}

@media (min-width: 768px) {
  #countryDropdown {
    position: absolute !important;
    z-index: 99999 !important;
    width: 100% !important;
  }
  
  /* Ensure hero section doesn't clip dropdown on desktop */
  section.relative {
    overflow: visible !important;
  }
}

/* Plan description - 2 lines on mobile */
.plan-description-index {
  max-width: 520px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .plan-type-title {
    font-size: 1.5rem !important;
    line-height: 1.2;
  }
  .plan-description-index {
    font-size: 0.85rem;
    max-width: 400px;
    line-height: 1.4;
  }
  .mobile-break-index {
    display: block;
  }
}

@media (min-width: 768px) {
  .mobile-break-index {
    display: none;
  }
}
