/* Shop Tab Styles */
.shop-tab {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 35px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.payment-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  font-size: 16px;
  color: #333;
}

.payment-loader .spinner {
  border: 6px solid #eee;
  border-top: 6px solid #007bff;
  border-radius: 50%;
  width: 50px; height: 50px;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.shop-tab-item {
  margin: 0;
}

.shop-tab-item a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: bold;
  transition: color 0.3s, background-color 0.3s;
  display: block;
  padding: 8px 12px;
  border-radius: 35px;
}

.row-gap-1 {
  row-gap: 1rem;
}

.shop-tab-item a:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.shop-tab-item a.active {
  background-color: var(--color-primary);
  color: var(--color-primary-light);
}

.search-container {
  display: flex;
  align-items: start;
  border-radius: 35px;
  padding: 4px 10px;
  background-color: var(--light);
  max-width: max-content;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 500px;
  min-width: fit-content;
}

.search-container .search-form {
  flex-grow: 1;
  border: none !important;
  background-color: transparent;
}

.search-container .search-form::placeholder {
  color: #aaa;
}

.search-container span {
  display: flex;
  align-items: center;
  color: #777;
}

.search-container .bi-search {
  font-size: 18px;
}

.country-image {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: var(--shadow-inner);
  padding: 5px;
}

.esim-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.esim-card {
  background-color: var(--light);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: none !important;
  /* overflow: hidden; */
}

.esim-card-header {
  padding: 1rem !important;
  border-bottom: 0.5px solid var(--border);
}

.esim-card .esim-card-body {
  padding: 1rem;
}

.esim-card-footer {
  padding: 1rem !important;
  border-top: 0.5px solid var(--border);
}

.supported-countries {
  background-color: var(--color-primary-light);
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  border-radius: 4px;
}

.countries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* checkout page */
.checkout-container {
  background-color: var(--color-primary-light);
  border-radius: 10px;
  overflow: hidden;
}

.form-and-block-wrapper {
  background-color: var(--light);
  padding: 2rem;
  border-radius: 10px;
}
.form-and-block-wrapper .form-actions input {
  width: 100%;
  border-radius: 35px;
}

.total-summary {
  border-top: 1px solid var(--border);
}

.summary-title {
  border-bottom: 1px dashed var(--border);
  font-weight: bold;
  margin-bottom: 8px;
}

.pricing-summary,
.plan-details {
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.plan-details .total-summary {
  margin-top: 1rem;
}

.total-summary {
  padding: 10px;
}

:root {
  --avatar-size: 30px;
}

.avatar-group {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.avatar {
  border-radius: 50%;
  width: var(--avatar-size);
  height: var(--avatar-size);
  border: 2px solid #fff;
  margin-right: -10px;
  object-fit: cover;
}

.avatar-count {
  background-color: #6c757d;
  color: #fff;
  border-radius: 50%;
  width: var(--avatar-size);
  height: var(--avatar-size);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-right: -10px;
  z-index: 1;
}

.d-none {
  display: none !important;
}

.badge {
  background-color: var(--color-primary);
  color: var(--color-primary-light);
  border-radius: 4px;
  padding: 4px 8px;
}

.awesomplete ul {
  list-style: none;
}

.country-card {
  background: var(--light);
  padding: 10px;
  border-radius: 35px;
  box-shadow: var(--shadow);
}
/* Hide the desktop block on mobile devices */
@media (max-width: 768px) {
  .data-amount {
    max-height: 80px;
    min-height: 80px;
}
  .cus-sm-none {
    display: none !important;
  }
  .cus-sm-block {
    display: block !important;
  }
}

/* Hide the mobile block on larger screens (tablet and above) */
@media (min-width: 769px) {
  .cus-sm-none {
    display: block !important;
  }
  .cus-sm-block {
    display: none !important;
  }
}

.text-justify{
  text-align: justify;
}







/*  */

.checkout-wrapper {
  background: var(--color-primary-light);
  padding: 30px;
  border-radius: 12px;
}

.checkout-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
}

.checkout-desc {
  color: #555;
}

.checkout-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}

.checkout-left .form-control {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px 12px;
}

.btn--accent {
  background: #d91f1f;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 14px 20px;
  font-weight: 600;
  transition: all 0.3s;
}
.btn--accent:hover {
  background: #b81818;
}

.btn--apply {
  background: #f5f5f5;
  border: 1px solid #ddd;
  color: #333;
  border-radius: 8px;
  padding: 10px 16px;
}
.btn--apply:hover {
  background: var(--color-primary);
  color: #fff;
}

.checkout-summary {
  background: #fff;
  border-left: 3px solid var(--color-primary);
  min-height: 100%;
}

.info-text {
  font-weight: 900;
  font-size: 18px;
  color: #555;
}
.information-text {
  font-weight: 500;
  font-size: 18px;
  color: #555;
}




/*  */

.checkout-summary-new {
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.summary-header {
  margin-bottom: 20px;
}

.summary-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
}

.secure-text {
  font-size: 14px;
  color: #555;
}

.summary-section {
  margin-bottom: 20px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  padding-bottom: 4px;
  color: #222;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}

.total-section .summary-row {
  font-size: 16px;
}

.total-price {
  color: var(--color-primary);
  font-size: 18px;
}

.summary-features {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  font-size: 13px;
  color: #333;
}

.summary-footer {
  margin-top: 16px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.paypal-logo {
  width: 120px;
  height:auto;
  margin-bottom: 4px;
}


/*  */

@media (max-width: 768px) {
  .checkout-layout {
    flex-direction: column;
  }
  .checkout-card {
    width: 100%;
  }
}



.checkout-summary-modern {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  width: 90%;
  max-width: 340px;   /* 👈 narrower width, like Türkiye UI */
  margin-left: auto;
  margin-right: auto;
}

.summary-header {
  margin-bottom: 16px;
}

.summary-price {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}

.secure-text {
  font-size: 13px;
  color: #555;
  margin-top: 4px;
}

.section-title {
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
  margin-bottom: 10px;
  color: #222;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
}

.summary-row strong {
  color: #111;
}

.total-section {
  margin-top: 10px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.total-price {
  font-size: 18px;
  color: var(--color-primary);
}

.summary-features {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  font-size: 12.5px;
  color: #333;
  line-height: 1.4;
}

.summary-footer {
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-top: 12px;
  text-align: center;
}

.paypal-logo {
  width: 90px;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .checkout-summary-modern {
    width: 100%;
    max-width: none;
  }
}


/* === Balanced Checkout Layout === */

.checkout-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px; /* 👈 minimum 50px gap between the two boxes */
  flex-wrap: wrap;
}

.checkout-left,
.checkout-right {
  flex: 1 1 48%;
  max-width: 48%;
  background: #fff;
  border-radius: 14px;
  padding: 24px 26px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* Make left box slightly visually smaller */
.checkout-left {
  padding: 22px 20px;
  max-width: 45%;
}

/* Summary card (right box) */
.checkout-right {
  max-width: 45%;
}

/* Responsive behavior for mobile */
@media (max-width: 991px) {
  .checkout-layout {
    flex-direction: column;
    gap: 25px;
  }
  .checkout-left,
  .checkout-right {
    max-width: 100%;
    width: 100%;
  }
}

.checkout-left .form-control {
  font-size: 14px;
  padding: 10px 12px;
}

.checkout-left .btn--accent {
  font-size: 15px;
  padding: 12px 18px;
}




/* === Side-by-Side Checkout Layout === */

.checkout-layout {
  display: flex;
  flex-direction: row;       /* 👈 always left-right layout */
  justify-content: center;   /* centers both boxes on the page */
  align-items: flex-start;
  gap: 50px;                 /* 👈 consistent space between them */
  flex-wrap: nowrap;         /* prevent stacking unless forced by mobile */
  margin-top: 20px;
}

.checkout-left,
.checkout-right {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  padding: 24px 26px;
}

/* make left box narrower */
.checkout-left {
  flex: 0 0 45%;   /* 45% width, fixed proportion */
  max-width: 460px;
}

/* make right box same height and balanced visually */
.checkout-right {
  flex: 0 0 45%;
  max-width: 460px;
}

/* maintain equal height feel */
.checkout-left,
.checkout-right {
  align-self: stretch;
}

/* spacing & alignment for title and sections inside */
.checkout-left .form-control {
  font-size: 14px;
  padding: 10px 12px;
}

.checkout-right .summary-price {
  font-size: 32px;
  font-weight: 700;
}

/* Responsive behavior for tablets and smaller devices */
@media (max-width: 991px) {
  .checkout-layout {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 25px;
  }

  .checkout-left,
  .checkout-right {
    flex: 1 1 100%;
    max-width: 100%;
  }
}




/* === Modern Türkiye-style Checkout Layout === */

.checkout-wrapper {
  background: #f5f6f8; /* light neutral background, not peach */
  padding: 50px 0;
}

.checkout-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px; /* equal spacing between left and right boxes */
  flex-wrap: nowrap;
  margin-top: 20px;
}

.checkout-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 28px 32px;
  width: 380px;        /* fixed width for both cards */
  min-height: 500px;   /* equal card height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Form side */
.checkout-left {
  flex: 0 0 auto;
}

.checkout-left .info-text {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin-bottom: 15px;
}

.checkout-left .form-control {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}

.checkout-left .btn--accent {
  background-color: #d82c2c;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
  width: 100%;
  margin-top: 12px;
  transition: 0.3s ease-in-out;
}

.checkout-left .btn--accent:hover {
  background-color: #c32020;
}

/* Right card: summary */
.checkout-right {
  flex: 0 0 auto;
}

.checkout-summary-modern {
  width: 100%;
  text-align: left;
}

.summary-header {
  text-align: center;
  margin-bottom: 20px;
}

.summary-price {
  font-size: 30px;
  font-weight: 700;
  color: #d82c2c;
}

.secure-text {
  font-size: 13px;
  color: #555;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  margin-bottom: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 3px 0;
}

.total-section {
  margin-top: 12px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.total-price {
  color: #d82c2c;
  font-size: 18px;
  font-weight: 700;
}

.summary-features {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  font-size: 13px;
  color: #444;
}

.summary-footer {
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-top: 10px;
}

.paypal-logo {
  width: 90px;
  margin-bottom: 4px;
}

@media (max-width: 991px) {
  .checkout-layout {
    flex-direction: column;
    gap: 25px;
  }

  .checkout-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}


/* === FIXED SIDE-BY-SIDE CHECKOUT LAYOUT === */

.checkout-layout {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: nowrap;
  margin-top: 30px;
}

/* Both cards have same width and height */
.checkout-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  padding: 28px 32px;
  width: 400px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Form (left box) */
.checkout-left {
  flex: 0 0 auto;
}

/* Summary (right box) */
.checkout-right {
  flex: 0 0 auto;
}

/* Center everything horizontally */
.checkout-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #f5f6f8;
  padding: 50px 0;
}

/* Responsive behavior — stack on small screens */
@media (max-width: 991px) {
  .checkout-layout {
    flex-direction: column !important;
    align-items: center;
    gap: 25px;
  }

  .checkout-card {
    width: 90%;
    min-height: auto;
  }
}


/* === Checkout Layout Final === */

.checkout-layout {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  gap: 50px; /* space between cards */
  flex-wrap: nowrap;
  margin-top: 30px;
}

.checkout-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 28px 30px;
  width: 380px; /* ✅ equal width both sides */
  min-height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.checkout-left,
.checkout-right {
  flex: 0 0 auto;
}

.checkout-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #f5f6f8;
  padding: 40px 0;
}

@media (max-width: 991px) {
  .checkout-layout {
    flex-direction: column !important;
    align-items: center;
    gap: 25px;
  }
  .checkout-card {
    width: 95%;
    min-height: auto;
  }
}
.secure-text {
  color: #28a745; /* bright green */
  font-size: 14px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.secure-text i {
  color: #28a745;
  font-size: 16px;
  position: relative;
  top: 1px;
}

.paypal-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.pay-info {
  color: #666;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lock-icon {
  color: #666;
  font-size: 14px;
}

.checkout-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
}

.checkout-desc {
  text-align: center;
  font-size: 15px;
  color: #666;
}













.checkout-layout {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  gap: 10px; /* balanced space */
  flex-wrap: nowrap;
  margin-top: 30px;
}




/* === Final Türkiye-style Checkout Layout === */

/* Overall wrapper */
.checkout-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #f5f6f8;
  padding: 40px 0;
}

/* Left and right card container */
.checkout-layout {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 10px; /* ✅ tighter spacing */
  margin-top: 30px;
}

/* Cards */
.checkout-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 28px 30px;
  width: 380px; /* ✅ same width */
  min-height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.checkout-left,
.checkout-right {
  flex: 0 0 auto;
}

/* Center heading + subtitle */
.checkout-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
}

.checkout-desc {
  text-align: center;
  font-size: 15px;
  color: #666;
}

/* Info text (above email) */
.info-text {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin-bottom: 15px;
}

/* Inputs + button */
.checkout-left .form-control {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}

.checkout-left .btn--accent {
  background-color: #d82c2c;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
  width: 100%;
  margin-top: 12px;
  transition: 0.3s ease-in-out;
}

.checkout-left .btn--accent:hover {
  background-color: #c32020;
}

/* ✅ Secure PayPal line */
.secure-text {
  color: #28a745;
  font-size: 14px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.secure-text i {
  color: #28a745;
  font-size: 16px;
  position: relative;
  top: 1px;
}

/* Summary text + sections */
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 3px 0;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  margin-bottom: 12px;
}

.total-section {
  margin-top: 12px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.total-price {
  color: #d82c2c;
  font-size: 18px;
  font-weight: 700;
}

/* ✅ PayPal + lock row */
.paypal-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.paypal-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%) brightness(1.05);
}

.pay-info {
  color: #666;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lock-icon {
  color: #666;
  font-size: 14px;
}

/* ✅ Responsive for mobile */
@media (max-width: 991px) {
  .checkout-layout {
    flex-direction: column !important;
    align-items: center;
    gap: 25px;
  }

  .checkout-card {
    width: 95%;
    min-height: auto;
  }
}


/* === Final Türkiye-style Summary Card === */

.checkout-summary-final {
  /* background: #fff; */
  border-radius: 16px;
  /* box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); */
  padding: 28px 30px;
  width: 350px;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header (Price + Secure text) */
.summary-header {
  margin-bottom: 15px;
}

.summary-price {
  font-size: 32px;
  font-weight: 700;
  color: #d82c2c;
}

.secure-text {
  color: #28a745;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.secure-text i {
  font-size: 16px;
  color: #28a745;
}

/* Plan Section */
.section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}

.summary-row strong {
  font-weight: 600;
}

/* Total section */
.total-section {
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.total-price {
  font-size: 18px;
  color: #d82c2c;
}

.summary-features {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  color: #444;
  font-size: 14px;
}

.summary-features li {
  margin: 3px 0;
}

/* PayPal bottom row */
.paypal-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.paypal-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%) brightness(1.05);
}

.pay-info {
  color: #666;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lock-icon {
  color: #666;
  font-size: 14px;
}

.checkout-layout {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  gap: 10px; /* balanced space */
  flex-wrap: nowrap;
  margin-top: 30px;
}


.checkout-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f5f6f8;
  padding: 40px 0;
}

.checkout-header .flag-icon {
  height: 28px;
  margin-bottom: 8px;
}

.checkout-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.checkout-desc {
  color: #666;
  margin-bottom: 20px;
  font-size: 15px;
}

.checkout-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.checkout-card {
  background: #fff;
  border-radius: 16px;
   box-shadow: 0 4px 14px rgba(0,0,0,0.08); 
  padding: 30px;
  width: 380px;
  min-height: 530px;
}

/* Left card form */
.info-text {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.promo-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.btn--apply {
  background: #d82c2c;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  /* //nihar */
  margin-bottom: 6px;
  cursor: pointer;
}

.btn--accent {
  background: #d82c2c;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-weight: 600;
  width: 100%;
  margin-top: 18px;
  transition: 0.3s ease;
}

.btn--accent:hover {
  background: #b91f1f;
}

.secure-lines {
  margin-top: 15px;
  color: #444;
  font-size: 14px;
}

.secure-lines i {
  margin-right: 6px;
  color: #666;
}

/* Right summary */
.checkout-summary-final {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.summary-header {
  text-align: center;
}

.summary-price {
  font-size: 32px;
  font-weight: 700;
  color: #d82c2c;
}

.secure-text {
  color: #28a745;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.section-title {
  font-weight: 700;
  font-size: 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 3px 0;
}

.total-section {
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.total-price {
  font-weight: 700;
  color: #d82c2c;
}

.summary-features {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-size: 14px;
  color: #444;
}

.paypal-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.paypal-logo {
  height: 28px;
}

.pay-info {
  color: #666;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lock-icon {
  color: #666;
  font-size: 14px;
}




/* === Fix: Align left & right card tops and keep equal height === */

/* Ensure the container forces both cards to stretch to same height */
.checkout-layout {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;     /* <-- important: stretch children vertically */
  gap: 10px;
  flex-wrap: nowrap;
}

/* Force both card containers to take same height */
.checkout-left,
.checkout-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* keeps internal spacing stable */
  align-self: stretch;            /* ensure it stretches inside layout */
  box-sizing: border-box;
/* reset any stray margins */
  /* margin: auto;                        */
  padding: 0;                      /* left/right card wrapper padding is handled by .checkout-card */
}

/* Keep the card content block consistent */
.checkout-card {
  width: 380px;
  min-height: 530px;
  padding: 28px 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Remove unexpected top margins coming from headings or first children */
.checkout-card > *:first-child,
.checkout-card .summary-header,
.checkout-card .info-text,
.checkout-card h4,
.checkout-card .checkout-title {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* //here nihar */
/* If summary block has an extra top offset, remove it */
.checkout-summary-final
 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* //here too nihar */
.checkout-summary-final .summary-header{
  /* margin-left: 0 !important; */
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* If imported theme added top offsets, make them neutral */
.checkout-card .card-inner,
.checkout-card .card-content,
.checkout-card .card-body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Small responsive tweak to keep them side-by-side up to tablet,
   and stack only on smaller screens */
@media (max-width: 991px) {
  .checkout-layout {
    flex-direction: column !important;
    gap: 25px;
    align-items: center;
  }
  .checkout-card {
    width: 95%;
    min-height: auto;
  }
}

/* .checkout-summary-final { */
    /* margin-left: -30px; */
    /* margin-left: 0px; */
    /* padding: 0; */
/* } */
/* //nihar-new */
/* .checkout-summary-final .summary-header{
  /* margin-left: 0 !important; */
  /* margin-top: 0 !important;
  padding-top: 0 !important; */
/* } */

/*  */
/* Checkout Steps (1 - 2 - 3 Progress UI) */
.checkout-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 25px;
}

.checkout-steps .step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2d3748; /* dark gray */
  font-size: 15px;
  font-weight: 500;
}

.checkout-steps .step-number {
  background-color: #4a5568; /* neutral dark circle */
  color: #fff;
  font-weight: 600;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.checkout-steps .step-label {
  color: #2d3748;
}

@media (max-width: 768px) {
  .checkout-steps {
    gap: 16px;
    flex-wrap: wrap;
    text-align: center;
  }
}
/*  */
/* last css */

/* Checkout left-right layout */
.checkout-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: nowrap;
}

/* Cards styling */
.checkout-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 25px 30px;
  width: 390px;
  box-sizing: border-box;
}

/* Steps (1-2-3 row) */
.checkout-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 25px;
}
.checkout-steps .step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2d3748;
  font-size: 15px;
  font-weight: 500;
}
.checkout-steps .step-number {
  background-color: #4a5568;
  color: #fff;
  font-weight: 600;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Spacing & alignment inside left card */
.checkout-left .form-control,
.checkout-left .promo-row,
.checkout-left .form-actions,
.checkout-left .secure-lines {
  margin-bottom: 14px;
}

.checkout-left .secure-lines p {
  margin: 5px 0;
  font-size: 14px;
  color: #444;
}

.btn--accent {
  background-color: #e31b23;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px;
  border: none;
}
.btn--accent:hover {
  background-color: #c9161d;
}

/* Responsive layout */
@media (max-width: 991px) {
  .checkout-layout {
    flex-direction: column;
    align-items: center;
  }
  .checkout-card {
    width: 95%;
  }
}

/*  */

.btn--accent {
  background-color: #e31b23;
  color: #fff;
  font-weight: 600;
  border-radius: 35px; /* pill shape */
  padding: 12px 10px;
  border: none;
  transition: all 0.2s ease;
}
.btn--accent:hover {
  background-color: #c9161d;
}



/* CSS for monty-esim cards */
/* nihar comment */
/* .new-esim-card {
  width: 100%;
  background: linear-gradient(145deg, #f0e9ff, #d3e5ff);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: "Inter", sans-serif;
} */

/* Country Row */
/* /*  .country-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
} 

.country-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.country-flag {
  width: 28px;
  height: 20px;
  border-radius: 4px;
} */

/* SAVE Badge */
/* .discount-badge {
  background: #ffe2a3;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
} */

/* Data Amount */
/* .data-amount {
  font-size: 32px;
  font-weight: bold;
} */

/* Features */
/* .features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.features li {
  margin: 3px 0;
  font-size: 15px;
} */

/* Price */
/* .price {
  font-size: 26px;
  font-weight: bold;
  color: #e63939;
} */

/* Button */
/* .buy-button {
  width: 100%;
  background: #e63939;
  text-align: center;
  padding: 14px;
  border-radius: 52px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
} */

/* Payment icons */
/* .payments {
  display: flex;
  gap: 12px;
  align-items: center;
} */
/* 
.payments img {
  height: 20px;
  opacity: 0.7;
}


  
*/

.paypal-logo {
    width: 84px !important;
    height: auto !important;
    max-width: none !important;
    flex: none !important;
}

/* nihar css */



/* Force desktop layout to scale on mobile */
@media (max-width: 768px) {
  body {
    transform: scale(0.45);  /* scale the whole UI */
    transform-origin: top left;
    width: 220%;             /* expand width to avoid cut-off */
    overflow-x: hidden !important;
  }
}
@media (max-width: 600px) { 
  body { transform: scale(0.45); width: 230%; }
}

@media (max-width: 480px) {
  body { transform: scale(0.40); width: 250%; }
}

@media (max-width: 380px) {
  body { transform: scale(0.35); width: 280%; }
}



/* GLOBAL scaling behavior settings */
/* html, body {
  transform-origin: top left !important;
  overflow-x: hidden !important;
} */

/* Tablet range */
@media (max-width: 768px) {
  body {
        /* column */

    transform: scale(0.95);
    width: calc(100% / 0.9);  /* = 222% exact */
    /* row */
    transform: scale(0.80);
    width: calc(100% / 0.80);
  }
}

/* Large phones */
@media (max-width: 600px) { 
  body { 
        /* column */

    transform: scale(0.95);
    width: calc(100% / 0.95);  /* still 222% */
    /* row */
    transform: scale(0.65);
    width: calc(100% / 0.65); 
  }
   
}

/* Normal phones */
@media (max-width: 480px) {
  body { 
    /* column */
    transform: scale(0.85);
    width: calc(100% / 0.85);  /* = 250% exact */
    /* row
     */
     /* transform: scale(0.56);
    width: calc(100% / 0.45); */
  }
  



}

/* Small phones – MOST IMPORTANT */
@media (max-width: 380px) {
  body { 
    /* column */
    transform: scale(0.75);
    width: calc(100% / 0.75);  /* = 285% exact */
      /* row */
    /* transform: scale(0.45);
    width: calc(100% / 0.35); */
  }




}

@media (max-width: 768px) {
  .checkout-layout {
    display: flex;
    flex-direction: column !important;
  }

  .checkout-left {
    order: 1;   /* Form goes down */
  }

  .checkout-right {
    order: 2;   /* Summary goes up */
  }
}


.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1px;
}

.price-per-gb {
  font-size: 17px;
  font-weight: 500;
  color: #000;
      margin-top: 10px;
  
  /* color: #2B3A55; */
text-shadow: 0 0 0 currentColor;
  opacity: 0.8;
}





/* --- Plan Name Styling --- */
.data-amount .plan-name {
  font-size: 27px;
    font-weight: bold;
    color: #000000cf;
    line-height: 1.3;
}

/* --- Tagline Styling --- */
.data-amount .plan-tagline {
  font-size: 19px;
    font-weight: 400;
    color: #000;
    line-height: 1.3;
    margin-top: 6px;
     /* color: #1F2A44;    */
     margin-bottom: 17px;
}


.country-left{
  color: #1F2A44;
}
.new-esim-card .country-name {
  color: #1F2A44;
}

.new-esim-card .price .amount {
  color: #1F2A44;
}
.new-esim-card .plan-name {
  color: #1F2A44;
}
.new-esim-card {
  color: #1F2A44;
}
.new-esim-card .features li {
   font-size: 17px;
   margin: 0;
}

/* .footer-text {
  font-size: 12px;
  
  color: #1F2A44;
} */
 .new-esim-card .footer-text {
  /* color: #3A4A6B; */
  color: #1F2A44;
  font-size: 17px;
  text-shadow: 0 0 0 currentColor;
  /* opacity: 0.9; */
  margin-top: 6px;
}
.buy-button {
  /* margin-top: 5px; */
  margin-top: 8px;
    margin-bottom: 0px;
}
.data-amount {
    /* max-height: 80px; */
    min-height: 80px;
}
/* Allowance */
.esim-card .allowance {
  margin-top: 14px;
  font-size: 2px;

  /* font-size: 1390px; */
}

/* esim ajax centroxy nihar */
  body,
    .page-content,
    .main-container,
    .container {
      background: transparent !important;
    }

    .main-wrapper,
    .container,
    .main-container,
    .page-content,
    .region-content,
    .block-region,
    .block,
    .block-content {
      background: none !important;
      background-color: transparent !important;
    }

    .country-page-wrapper {
      width: 100% !important;
      max-width: 100% !important;
      /* override Drupal container */
      margin: 0 auto !important;
      padding: 50px 50px 30px 30px !important;
      background: linear-gradient(135deg, #e8d9ff, #d4e8ff, #ffd6e7) !important;


    }

    .page-content .container,
    .main-container .container {
      max-width: 100% !important;
      width: 100% !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
    }

    div.customClass {
      background-color: red !important;
    }

    .esim-card {
      background: linear-gradient(180deg, #ffffffaa, #eae6ff, #e6f0ff) !important;
      border-radius: 28px !important;
      padding: 25px 20px !important;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
      border: 1px solid rgba(255, 255, 255, 0.6);
      backdrop-filter: blur(6px);
      min-height: 520px;

    }

    .esim-card .country-row {
      margin-bottom: 18px !important;
    }

    .esim-card h2,
    .esim-card .bundle-data-amount {
      font-size: 42px !important;
      font-weight: 800 !important;
      margin-bottom: 18px !important;
    }

    /* Feature list spacing */
    .esim-card ul.features li {
      margin-bottom: 10px !important;
      font-size: 16px !important;
    }

    /* Price styling similar to Türkiye */
    .esim-card .bundle-price {
      margin-top: 18px !important;
      font-size: 32px !important;
      font-weight: 900 !important;
    }

    /* Checkout Button spacing */
    .esim-card .proceed-btn {
      margin-top: 26px !important;
      padding: 16px 10px !important;
      font-size: 18px !important;
      border-radius: 40px !important;
    }

    /* PayPal + Support text */
    .esim-card .paypal-logo {
      margin-top: 28px !important;
    }

    .esim-card .support-text {
      margin-top: 10px !important;
      font-size: 14px !important;
      opacity: 0.7;
    }

    /* new layout ends here */
    /* .esim-card {
  width: 10%;
  margin: 0 auto;
  min-height: 10%;
} */


    /* Shrink card visually without breaking grid */
    .esim-card-scale {
      transform: scale(0.90);
      transform-origin: top center;
    }

    /* Fix spacing so scaled cards don’t overlap */
    .esim-card-scale {
      margin-bottom: -20%;
      width: 200%;
      max-width: 250%;
    }


    /* Mobile: don’t shrink */
    @media (max-width: 768px) {
      .esim-card-scale {
        transform: scale(1);
        margin-bottom: 0;
        max-width: 125%;
      }
    }

    .feature-gap {
      margin-left: 40px !important;
    }

    /* esim card nihar centroxy */
    
  /* =========================
   MODAL OVERLAY
========================= */
  .esim-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  /* =========================
   MODAL BOX
========================= */


  .esim-modal {
    background: #fff;

    /* 👇 ONLY THESE LINES MATTER */
    width: 40vw;
    height: 80vh;
    transform: scale(0.7);
    /* transform-origin: top center; */
    transform-origin: center center;

    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow-y: auto;
    /* margin-top: 200px; */
  }


  @media (max-width: 768px) {
    .esim-modal {
      width: 90vw;
      height: auto;
      transform: scale(0.8);
    }
  }


  /* Title */
  .esim-modal h2 {
    font-size: 26px;
    margin-bottom: 12px;
  }

  

  /* Network list */
  .esim-modal ul {
    list-style: none;
    padding: 0;
  }

  .esim-modal li {
    font-size: 20px;
    padding: 6px 0;
  }

  .esim-card {
    position: relative;
    max-width: 360px;
    background: #f3f8ff;
    border-radius: 14px;
    padding: 18px;
    font-family: Inter, sans-serif;
    color: #0f172a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    margin-bottom: 24px;
    margin-top: 0px;

    /* scale: 0.9; */
    max-width: 420px;
    /* max-width: 111%; */
    margin-left: -7%;
  }

  @media (max-width: 1200px) {
    .esim-card {
      max-width: 360px;
      background: #f3f8ff;
      border-radius: 14px;
      padding: 18px;
      font-family: Inter, sans-serif;
      color: #0f172a;
      box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
      margin-bottom: 2px;

      /* scale: 0.8; */
      max-width: 420px;
      /* max-width: 125%; */
      margin-left: -12%;
    }
  }

  /* =========================
   TABLET (≤ 992px)
========================= */
  @media (max-width: 992px) {
    .esim-card {
      /* transform: none;      */
      margin-left: 0;
      margin-right: 0;
      /* max-width: 125%;  */
      /* scale: 0.88;   */
      margin-bottom: 1%;
    }
  }

  /* =========================
   MOBILE (≤ 576px)
========================= */
  @media (max-width: 576px) {
    .esim-card {
      /* transform: none; */
      margin: 0;
      /* scale: 0.8; */
      margin-left: -2%;
      margin-bottom: 16px;
      /* margin: 0 auto 16px;  */
      /* max-width: 125%; */
    }
  }

  /* Header */
  .esim-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .country {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
  }

  .country img {
    width: 28px;
    border-radius: 4px;
  }


  .badge {
    position: absolute;
    background: rgb(235, 0, 0);
    color: #fff;
    font-size: 14px !important;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
    line-height: 1.2;
    top: -10px;
    right: 23px;
  }


  @media (max-width: 992px) {
    .badge {
      font-size: 14px;
      padding: 3px 9px;
      border-radius: 11px;
    }
  }

  @media (max-width: 576px) {
    .badge {
      font-size: 12px;
      /* smaller text */
      padding: 3px 8px;
      /* tighter padding */
      border-radius: 10px;
      /* slightly softer */
      font-weight: 500;
    }
  }


  .esim-card .allowance .data {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.4px;
  }

  .allowance .data {
    font-size: 32px;
    font-weight: 800;
  }

  .allowance .days {
    font-size: 16px;
    margin-top: 2px;
  }

  /* Features */
  .features {
    list-style: none;
    padding: 0;
    margin: 4px 0;
  }

  .features li {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .features .os img {
    height: 16px;
    margin-right: 4px;
    vertical-align: middle;
    margin-top: -5px;
  }

  /* CTA */
  .choose-btn {
    display: block;
    /* background: #D0312D; */
    background: #D10000;
    /* background: #FF0000; */
    /* background: #1d4ed8; */
    color: #fff;
    padding: 5px;
    text-align: center;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 16px;
    font-size: 28px;
    max-height: 55px;
    max-width: 96%;
    min-height: 55px;
  }

  /* .view-details {
  margin-bottom: 0px;
  background: none;
  border: none;
  margin-top: 4px;
  color: blue;
  cursor: pointer;
  font-size: 22px;
      margin-left: 50px;
} */

  .view-details {
    display: block;
    margin: 4px auto 0;
    background: none;
    border: none;
    color: blue;
    cursor: pointer;
    font-size: 22px;
  }

  /* Price bar */
  .price-bar {
    display: flex;
    justify-content: space-between;
    /* justify-content: center; */
    padding: 14px;
    border-radius: 12px;
    margin-top: 14px;
    /* min-height: 120px; */
    /* max-height: 120px; */
  }

  .price strong,
  .per-gb strong {
    font-size: 42px;
  }

  .price span,
  .per-gb span {
    display: block;
    font-size: 22px;
    opacity: .9;
    color: #000000;
    margin-top: -6px;
  }

  /* Expand */
  .details {
    display: none;
    margin-top: 12px;
  }

  .details.open {
    display: block;
  }

  .details ul {
    list-style: none;
    padding: 0;
    /* margin: 0; */
  }

  .details li {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .details ul li {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 6px;
  }

  /* Country name styling (Turkey, Thailand etc.) */
  .esim-card .country span {
    font-weight: 600;
    font-size: 30px;
    letter-spacing: 0.3px;
    /* -webkit-font-smoothing: antialiased; */
  }

  /* Country image styling */
  .esim-card .country img {
    width: 44px;
    /* control size */
    height: auto;
    border-radius: 6px;
    /* soft corners */
    margin-right: 6px;
    margin-bottom: 2px;
  }

  .esim-card ul.features li {

    margin-bottom: 0px !important;
    margin-top: 0px !important;
    font-size: 24px !important;
    font-weight: 500;
  }

  .esim-card ul.features {
    margin-top: 12px;
    margin-bottom: 12px;
  }


  /* ================================
   PayPal + Secure Checkout Section
================================ */

  .paypal-row {
    display: flex;
    flex-direction: column;
    align-items: self-start;
    justify-content: center;
    gap: 10px;

    margin-top: 6px;
  }


  .esim-card .paypal-logo {
    margin-top: 0px !important;
  }

  .trust-text {
    font-size: 22px;
    font-weight: 500;
    -webkit-text-stroke: 0.1px currentColor;
  }


  /* modal */

  .modal-plan-summary p {
    font-size: 18px;
    margin: 6px 0;
  }

  .modal-features {
    list-style: none;
    padding: 0;
  }

  .modal-features li {
    font-size: 18px;
    margin-bottom: 6px;
  }

  /* modal */

  .price-per-gb {
    display: block;
    min-height: 28px;
    /* EXACT height of "$x per GB" */
    font-size: 22px;
    line-height: 28px;
    opacity: 0.9;
    color: #44c072 !important;
  }





  .details {
    max-height: 0;
    /* overflow: hidden; */
    transition: max-height 0.4s ease;
  }

  .details.open {
    max-height: 1200px;
    /* large enough */
  }


  .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .feature-list li {
    position: relative;
    padding-left: 28px;
    /* space for tick */
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 6px;
  }

  .feature-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 18px;
    font-weight: 700;
  }

  @media (max-width: 992px) {
    .feature-list li {
      font-size: 18px;
      padding-left: 26px;
    }

    .feature-list li::before {
      font-size: 16px;
    }
  }

  @media (max-width: 576px) {
    .feature-list li {
      font-size: 16px;
      padding-left: 24px;
    }

    .feature-list li::before {
      font-size: 15px;
    }
  }

  /* ===== TICK FOR COLLAPSED FEATURES ===== */
  .esim-card ul.features {
    list-style: none;
    padding: 0;
    margin: 12px 0;
  }

  .esim-card ul.features li {
    position: relative;
    padding-left: 30px;
    /* SPACE FOR TICK */
    line-height: 1.4;
  }

  /* The tick itself */
  .esim-card ul.features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.15em;
    color: black;
    font-weight: 700;
    font-size: 20px;
  }

  .allowance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
   /* 🔥 swap sides: data goes right, sms/call goes left */
  /* flex-direction: row-reverse; */
}

.allowance-left {
  display: flex;
  flex-direction: column;
}

.allowance-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0px;
  font-size: 18px;
  font-weight: 600;
}

.allowance-right div {
  padding: 0px 6px;
  border-radius: 14px;
  white-space: nowrap;
}

/* Mobile tweak */
@media (max-width: 576px) {
  .allowance-right {
    font-size: 16px;
  }
}

.call{
  font-size: 22px !important;
  font-weight: bolder;
}
.sms{
  font-size: 22px !important;
  font-weight: bolder;
}

/* supported countries css */
.esim-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;              /* JS will set flex */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.esim-modal {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 720px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  position: relative;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { transform: translateY(10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}


#countries-modal-title {
  padding: 20px 24px 10px;
  font-size: 22px;
  font-weight: 600;
}

.countries-list-wrapper {
  padding: 10px 24px 24px;
  overflow-y: auto;
  max-height: 60vh;
}

#countries-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px 18px;
}

#countries-modal-list li {
  font-size: 15px;
  padding: 6px 0;
  white-space: nowrap;
}

.view-countries-btn {
  background: transparent;
  border: none;
  color: #e60000;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
}

.view-countries-btn:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .esim-modal {
    max-height: 90vh;
  }

  #countries-modal-title {
    font-size: 18px;
  }

  #countries-modal-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   SUPPORTED COUNTRIES MODAL
========================= */

.esim-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;              /* JS will set flex */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.esim-modal {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 700px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  position: relative;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { transform: translateY(10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Close button */
/* .modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: #f1f1f1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 30px;
  cursor: pointer;
} */

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: rgb(200, 0, 0);

    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 14px;
    cursor: pointer;
    padding: 1px;
}

.modal-close:hover {
  background: #e5e5e5;
}

/* Title */
#countries-modal-title {
  padding: 18px 22px 8px;
  font-size: 20px;
  font-weight: 600;
}

/* Scroll area */
.countries-list-wrapper {
  padding: 8px 22px 22px;
  overflow-y: auto;
  flex: 1;
}

/* Countries grid */
#countries-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px 16px;
}

#countries-modal-list li {
  font-size: 14px;
  padding: 4px 0;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 576px) {
  .esim-modal {
    max-height: 90vh;
  }

  #countries-modal-title {
    font-size: 18px;
  }

  #countries-modal-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Button on card */
.view-countries-btn {
  background: transparent;
  border: none;
  color: #e60000;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
}

.view-countries-btn:hover {
  text-decoration: underline;
}


/* =========================
   VIEW SUPPORTED COUNTRIES
========================= */

.view-countries-btn {
  background: none;
  border: none;
  color: #e60000;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-left: auto;          /* push to right */
  white-space: nowrap;        /* never break line */
  line-height: 1;
}

.view-countries-btn:hover {
  text-decoration: underline;
}

/* Align with title nicely */
.esim-header .country {
  display: flex;
  align-items: center;
  gap: 8px;
}

.esim-header {
  align-items: flex-start;
}

/* Wrap title + button nicely */
.esim-header .country {
  flex-wrap: wrap;
}

.esim-header .country span {
  font-size: 30px;
  font-weight: 600;
}

/* Put button always under title on small screens */
@media (max-width: 576px) {
  .view-countries-btn {
    width: 100%;
    text-align: left;
    margin-top: 2px;
    font-size: 12px;
  }
}
/* 
.view-countries-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #e60000;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
} */
/* ===== AVAILABLE COUNTRIES INFO ===== */

.view-countries-btn {
  background: #eef2ff;
  border: 1px dashed #c7d2fe;
  border-radius: 10px;
  padding: 6px 10px;
  margin: 10px 0 6px;
  width: 100%;

  color: #1e3a8a;
  font-size: 13px;
  font-weight: 600;
  text-align: left;

  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.view-countries-btn:hover {
  background: #e0e7ff;
}

/* small hint text */
.view-countries-btn .view-hint {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
}
#countries-modal-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

#countries-modal-list img.country-flag {
  max-width: 25%;
  /* width: 2px; */
  height: auto;
  /* height: auto; */
  border-radius: 1px;
}
img, picture, svg {
    max-width: 20%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: middle;
}
#countries-modal-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ✅ FLAG */
#countries-modal-list li img {
  max-width: 25%;
  height: auto;
  flex-shrink: 0;
}

/* TEXT takes rest */
#countries-modal-list li span {
  flex: 1;
}
