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

/* 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);
}

.pixel-navbar-btn {
  background: #ec4899;
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  padding: 6px 20px;
  font-size: 15px;
}

.pixel-navbar-signin {
  background: #fff;
  color: #ec4899;
  border: 2px solid #ec4899;
  border-radius: 9999px;
  font-weight: 600;
  padding: 6px 20px;
  font-size: 15px;
}

.pixel-navbar-signin:hover {
  background: #ec4899;
  color: #fff;
}

/* 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);
}

.country-stepper {
  position: relative;
}

#germany-plans,
#countries-list {
  scroll-margin-top: 120px;
  /* max-height: 800px;
  overflow: scroll; */
}

#germany-plans:target {
  display: block;

  animation: stepFade 0.3s ease forwards;
}

@keyframes stepFade {
  from {
    opacity: 0;

    transform: translateY(16px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

.plan-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 32px;
  justify-items: center;
  padding: 10px;
}

@media (min-width: 768px) {
  .plan-grid {
    max-height: 65vh;
    overflow-y: auto;
  }
}

.plan-grid::-webkit-scrollbar {
  width: 6px;
}

.plan-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
}

.plan-grid::-webkit-scrollbar-thumb {
  background: #ec4899;
  border-radius: 9999px;
}

.plan-card {
  background: linear-gradient(180deg, #e383cf 0%, #e383cf 15%, #911a78 100%);

  border-radius: 12px;

  padding: 15px 15px 20px;

  width: 350px;

  max-width: 100%;

  color: #fff;

  display: flex;

  flex-direction: column;

  gap: 2px;
}

.plan-card .plan-title {
  font-size: 22px;

  font-weight: 700;
}

.plan-card .plan-subtitle {
  display: none;
}

.plan-details {
  display: flex;

  flex-direction: column;

  gap: 3px;
}

.plan-details li {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 6px 0 12px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.plan-details li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 12px;
}

.plan-details li:last-child {
  border-bottom: none;

  padding-bottom: 0;
}

.plan-details .label {
  font-size: 11px;

  letter-spacing: 0.18em;

  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.75);

  font-weight: 600;
}

.plan-details .value {
  font-size: 15px;

  font-weight: 700;

  color: #fff;
}

.plan-icon {
  width: 20px;

  height: 20px;

  color: rgba(255, 255, 255, 0.9);
}

.plan-actions {
    margin-top: auto;
    display: flex;
    gap: 24px;
    margin-top: 10px;
}

.plan-actions a {
  flex: 1;

  text-align: center;

  font-size: 15px;

  font-weight: 600;

  border-radius: 9999px;

  padding: 12px 0;

  text-decoration: none;

  transition: transform 0.2s ease, filter 0.2s ease;
}

.plan-actions .details-btn {
  background: #fff;
  color: #f04786;
  box-shadow: 0 10px 20px rgba(240, 71, 134, 0.25);
  padding: 10px 20px;
  width: 50%;
  border-radius: 70px;
  font-weight: 700;
}

.plan-actions .buy-btn {
  background: linear-gradient(135deg, #ffe985 0%, #ffb347 100%);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(255, 163, 67, 0.28);
  padding: 10px 20px;
  width: 50%;
  border-radius: 70px;
  font-weight: 700;
}

.plan-actions a:hover {
  transform: translateY(-1px);

  filter: brightness(1.05);
}

.show-more-btn {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  background: #fff;

  color: #a259c6;

  font-weight: 600;

  border-radius: 9999px;

  padding: 12px 30px;

  text-decoration: none;

  box-shadow: 0 14px 30px rgba(162, 89, 198, 0.22);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.show-more-btn:hover {
  transform: translateY(-2px);

  box-shadow: 0 18px 36px rgba(162, 89, 198, 0.28);
}

.country-option {
  text-decoration: none;
}

.plan-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2000;
}

.plan-modal:target {
  display: flex;
}

.plan-modal-content {
  position: relative; /* important */

  display: flex;
  flex-direction: column;
  /* ✅ Stack top + rest */
  background: #fff;
  border-radius: 12px;
  max-width: 720px;
  width: min(96vw, 720px);
  max-height: 90vh;
  overflow-y: auto;
  /* ✅ Scroll enabled */
}

.plan-modal-content-details {
  position: relative; /* important */
  display: flex;
  flex-direction: column;
  /* ✅ Stack top + rest */
  background: #fff;
  border-radius: 12px;
  max-width: 720px;
  width: min(96vw, 720px);
  max-height: 90vh;
  overflow-y: auto;
  /* ✅ Scroll enabled */
  gap: 10px;
  padding: 30px;
}

.plan-modal-content-bottom {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 28px 68px rgba(31, 41, 55, 0.18);
    max-width: 708px;
    width: min(96vw, 708px);
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 45px;
    padding: 48px 30px;
}

/* Scrollbar Styling */
.plan-modal-content::-webkit-scrollbar {
  width: 8px;
}

.plan-modal-content::-webkit-scrollbar-thumb {
  background: #a259c6;
  border-radius: 4px;
}

.plan-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.16);
  color: #ffffff;
  font-size: 30px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.plan-modal-close:hover {
  background: rgba(148, 163, 184, 0.28);
  transform: scale(1.05);
}

.modal-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: #545454;
}

.modal-plan-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-plan-card {
  background: linear-gradient(180deg, #751c98 0%, #7f19a8 15%, #ca2045 100%);
  border-radius: 12px;
  padding: 22px;
  color: #ffffff;
  box-shadow: 0 22px 36px rgba(162, 89, 198, 0.32);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.modal-plan-card h5 {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.modal-plan-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  /* gap: 12px; */
}

.modal-plan-details li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 0 12px;
}

.modal-plan-details li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-plan-details li span:first-child {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.modal-plan-details li span:last-child {
  font-size: 14px;
  font-weight: 700;
}

.modal-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-badge {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f0f0f0;
  border-radius: 18px;
  padding: 14px 20px;
  font-weight: 600;
  color: #7c3aed;
  align-self: flex-start;
}

.modal-badge span {
  color: #475569;
}

.modal-badge span:first-of-type {
  color: #7c3aed;
}

.modal-badge strong {
  color: #f97316;
  font-weight: 700;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #4a4a4a;
}

.modal-description {
  font-size: 14px;
  color: #6b7280;
}

.modal-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-input {
  flex: 1 1 200px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  color: #111827;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.modal-input::placeholder {
  color: #cbd5f5;
  opacity: 0.85;
}

.modal-apply-btn {
  border: none;
  border-radius: 14px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  background: #e5e7eb;
  color: #111827;
  cursor: pointer;
}

.modal-apply-btn:hover {
  background: #d1d5db;
}

.modal-note {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.modal-summary {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 24px;
  min-height: 220px;
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.9) 0%,
    rgba(248, 250, 252, 0.65) 100%
  );
  box-shadow: inset 0 2px 8px rgba(148, 163, 184, 0.15);
  flex: 1 1 auto;
}

.modal-primary-btn {
  margin-left: auto;
  margin-top: auto;
  border: none;
  border-radius: 16px;
  padding: 16px 48px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(120deg, #c236d8 0%, #7b2ff2 100%);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(124, 58, 237, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(124, 58, 237, 0.36);
}

/* Responsive adjustments for the plan modal */
@media (max-width: 1024px) {
  /* Stack the modal sections vertically instead of side‑by‑side */
  .plan-modal-content-bottom {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 24px;
  }
  /* Make the primary action button full width */
  .modal-primary-btn {
    width: 100%;
    margin-left: 0;
  }
  /* Stretch the cashback badge across the container on mobile */
  .modal-badge {
    align-self: stretch;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  /* Reduce outer padding on the modal wrapper */
  .plan-modal {
    padding: 16px;
  }
  /* Allow the modal to take the full width of the viewport */
  .plan-modal-content {
    width: 100%;
    max-width: none;
    border-radius: 20px;
  }
  /* Tighten spacing for the bottom section */
  .plan-modal-content-bottom {
    width: 100%;
    padding: 32px 16px;
    gap: 24px;
  }
  /* Stack promo code fields and buttons */
  .modal-form {
    flex-direction: column;
  }
  .modal-apply-btn {
    width: 100%;
    text-align: center;
  }
}

/* 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;
}

/* Pagination Dots */
.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);
}
p.plan-detail-title {
  font-size: 16px;
  font-weight: 600;
}
.list-gap-4 {
  padding: 10px;
}
p.plan-detail-title {
  font-size: 16px;
  font-weight: 600;
}
p#promocode-message {
  font-size: 12px;
}

span.success-message {
  color: green;
}

span.error-message {
  color: red;
}

h3#final-amount {
    font-size: 22px;
    font-weight: 900;
    color: green;
}

.plan-detail-data-max-scroll {
    max-height: 150px;
    overflow: scroll;
}
.space-between {
    justify-content: space-between;
    display: flex;
}

.location-provider {
    border-bottom: 1px solid #e7e7e7;
}