/* ══════════════════════════════════════════════════
   checkout-combo.css — v5 (Webflow-aware)
   Precision overrides of eduhubspot-staging.webflow.css?v=APP_VERSION
   and global.css?v=APP_VERSION conflicts. Mobile-first.
   ══════════════════════════════════════════════════ */

/* ── 1. KILL WEBFLOW'S FLEX ON .container INSIDE OUR SECTION ──
   Webflow sets .container { display:flex; justify-content:space-between }
   at a media query, which puts .cards-grid and .payment-section side-by-side.
   We force it back to block so children stack vertically.
─────────────────────────────────────────────────────────────── */
.checkout-section .container {
  display: block !important;
  flex-direction: unset !important;
  justify-content: unset !important;
  align-items: unset !important;
  flex-wrap: unset !important;
  width: 100% !important;
  max-width: 1060px !important;
  padding: 0 16px !important;
  margin: 0 auto !important;
  position: static !important;
  z-index: auto !important;
}

/* ── 2. SECTION ── */
.checkout-section {
  display: block !important;
  padding: 36px 0 72px !important;
  background: #f7f9fc !important;
  min-height: 80vh;
  width: 100%;
  overflow-x: hidden;
}

/* ── 3. HEADING — reset Webflow h2 (2.5rem, heading font) ── */
.checkout-heading {
  display: block !important;
  font-family: "Opensans Variablefont Wdth Wght", Arial, sans-serif !important;
  text-align: center !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #1a2b4a !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
}

/* ══════════════════════════════════════════════════
   CARDS GRID
   Mobile: single column stack
   ≥ 640px: two columns side by side
   ══════════════════════════════════════════════════ */
.cards-grid {
  /* override global.css?v=APP_VERSION .cards-grid { grid-template-columns: 1fr } */
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: unset !important;
  margin: 0 0 28px !important;
}

/* ── 4. PRODUCT CARD ──
   Reset Webflow .card animation + any inherited flex children
── */
.product-card {
  display: block !important;
  flex: unset !important;
  width: 100% !important;
  background: #fff !important;
  border: 2px solid #e0e7ef !important;
  border-radius: 12px !important;
  padding: 18px 16px 16px !important;
  margin: 0 !important;
  cursor: pointer;
  position: relative !important;
  transition: border-color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
  /* reset Webflow's .card { animation: up ... } from global.css?v=APP_VERSION */
  animation: none !important;
  overflow: visible !important;
  box-shadow: none;
}

.product-card:active { opacity: .95; }

.product-card.selected-card {
  border-color: #00b4d8 !important;
  background: linear-gradient(135deg, #e8f7fb 0%, #f0fafe 100%) !important;
  box-shadow: 0 4px 20px rgba(0,180,216,.15) !important;
}

/* ✓ Selected badge — ::after so list ::before stays free */
.product-card.selected-card::after {
  content: '\2713 Selected' !important;
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  background: #00b4d8 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  letter-spacing: .4px !important;
  white-space: nowrap !important;
  pointer-events: none;
  z-index: 1;
  line-height: 1.4 !important;
}

/* Webflow adds ::after clearfix to .w-checkbox — make sure ours wins */
.product-card:not(.selected-card)::after {
  content: none !important;
  display: none !important;
}

/* ── 5. CARD TITLE — Webflow sets h4 { font-size: 2rem; font-family: heading } ── */
.card-title {
  font-family: "Opensans Variablefont Wdth Wght", Arial, sans-serif !important;
  font-size: .97rem !important;
  font-weight: 700 !important;
  color: #1a2b4a !important;
  margin: 0 0 10px !important;
  line-height: 1.35 !important;
  padding-right: 88px !important; /* keep clear of badge */
  letter-spacing: normal !important;
}

/* ── 6. PRICING ── */
.price-row {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 4px 8px !important;
  margin-bottom: 2px !important;
}
.original-price {
  color: #999 !important;
  font-size: .87rem !important;
  text-decoration: line-through !important;
  font-family: "Opensans Variablefont Wdth Wght", Arial, sans-serif !important;
}
.discount-price {
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: #f5a623 !important;
  line-height: 1 !important;
  font-family: "Opensans Variablefont Wdth Wght", Arial, sans-serif !important;
}
.save-badge {
  background: #e6f4ea !important;
  color: #2e7d32 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  white-space: nowrap;
  align-self: center;
  display: inline-block !important;
}

/* Webflow: p { letter-spacing: -.02em; margin-bottom: 0 } */
.tax-note {
  font-size: 11px !important;
  color: #888 !important;
  margin: 3px 0 12px !important;
  letter-spacing: normal !important;
  display: block !important;
}

/* ── 7. INCLUDES LIST ──
   Webflow: ul { padding-left:1.25rem; margin: 1rem 0 }
   Webflow: li { margin: .25rem 0; padding-left: .5rem }
   These add extra space and shift bullets.
── */
.includes-title {
  display: block !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  color: #1a2b4a !important;
  margin: 0 0 7px !important;
  letter-spacing: normal !important;
}

.includes-list {
  list-style: none !important;
  padding: 0 !important;          /* kill Webflow padding-left:1.25rem */
  margin: 0 !important;           /* kill Webflow margin:1rem 0 */
  max-height: 210px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  display: block !important;
}
.includes-list::-webkit-scrollbar { width: 3px; }
.includes-list::-webkit-scrollbar-thumb { background: #c8d3e0; border-radius: 4px; }

.includes-list li {
  list-style: none !important;
  font-size: 12px !important;
  color: #444 !important;
  padding: 3px 0 3px 20px !important;  /* kill Webflow li padding-left:.5rem */
  margin: 0 !important;                /* kill Webflow li margin:.25rem 0 */
  position: relative !important;
  line-height: 1.45 !important;
  display: block !important;
}

/* Bullet icon — this is THE ::before for list items */
.includes-list li::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 6px !important;
  width: 13px !important;
  height: 13px !important;
  background: #00457c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.5 11.5l-3-3 1-1 2 2 5-5 1 1z'/%3E%3C/svg%3E") center/cover !important;
  border-radius: 50% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.includes-list li.sub-item {
  padding-left: 36px !important;
}
.includes-list li.sub-item::before {
  left: 18px !important;
  top: 7px !important;
  width: 12px !important;
  height: 12px !important;
  background-color: #0077b6 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.5 11.5l-3-3 1-1 2 2 5-5 1 1z'/%3E%3C/svg%3E") !important;
  background-position: center !important;
  background-size: cover !important;
}

.highlighted { color: #00457c !important; font-weight: 700 !important; }

/* ── 8. PAYMENT SECTION ── */
.payment-section {
  display: block !important;
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  float: none !important;
}

/* ── 9. CURRENCY SWITCHER ── */
#currency-section {
  text-align: center;
  margin-bottom: 12px;
  display: none;
}
.currency-btn {
  border: 1px solid #6c757d;
  background: #fff;
  color: #00457c;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin: 0 3px;
  border-radius: 6px;
  touch-action: manipulation;
  transition: background .2s, color .2s;
}
.currency-btn.active { background: #6c757d; color: #fff; }

/* ── 10. EMAIL FIELD ──
   Webflow: label { font-weight:500; margin-bottom:.25rem }
── */
#email-field-wrapper { margin-bottom: 12px !important; }
.email-label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #444 !important;
  margin-bottom: 5px !important;
}
.email-input {
  display: block !important;
  width: 100% !important;
  padding: 13px 16px !important;
  font-size: 16px !important;   /* 16px = no iOS zoom */
  font-family: "Opensans Variablefont Wdth Wght", Arial, sans-serif !important;
  border: 1.5px solid #d1d5db !important;
  border-radius: 8px !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  transition: border-color .2s;
  background: #fff !important;
  color: #1a2b4a !important;
  line-height: normal !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
.email-input:focus { border-color: #00457c !important; }
#checkout-email-error {
  color: #e53e3e;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

/* ══════════════════════════════════════════════════
   PAY BUTTONS
   ══════════════════════════════════════════════════ */
#payment-buttons { margin-top: 4px !important; display: block !important; }

.pay-btn {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  padding: 14px 16px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  font-family: "Opensans Variablefont Wdth Wght", Arial, sans-serif !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  margin: 0 0 10px !important;
  min-height: 52px !important;
  transition: opacity .2s, transform .1s;
  touch-action: manipulation;
  position: relative !important;
  overflow: hidden !important;
  -webkit-tap-highlight-color: transparent;
  text-align: left !important;
  gap: 10px;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  /* reset global.css?v=APP_VERSION animation on .card */
  animation: none !important;
}
.pay-btn:hover { opacity: .92; transform: translateY(-1px); }
.pay-btn:active { transform: scale(.98) !important; opacity: .9; }
.pay-btn--primary   { background: #00457c !important; color: #fff !important; }
.pay-btn--secondary { background: #1a2b4a !important; color: #fff !important; }

.btn-label {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  flex: 1 !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
.btn-label-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pay-icon { flex-shrink: 0; display: flex; align-items: center; }
.pay-amount {
  flex-shrink: 0;
  margin-left: 6px;
  background: rgba(255,255,255,.18);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

/* ── Button loading ── */
.pay-btn.is-loading { pointer-events: none !important; opacity: .75 !important; }
.pay-btn.is-loading .btn-label,
.pay-btn.is-loading .pay-amount { visibility: hidden; }
.pay-btn.is-loading .btn-spinner { display: flex !important; }

.btn-spinner {
  display: none;
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  gap: 10px;
  font-size: 14px; font-weight: 700; color: #fff;
  background: inherit; border-radius: inherit;
}
.btn-spinner svg { animation: cco-spin .75s linear infinite; flex-shrink: 0; }

/* ══════════════════════════════════════════════════
   FULL-SCREEN PAYMENT OVERLAY
   ══════════════════════════════════════════════════ */
#payment-loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(16, 30, 60, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#payment-loading-overlay.visible { display: flex !important; }

.overlay-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  max-width: 300px;
  width: 88%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: none !important;
}
.overlay-spinner {
  width: 48px; height: 48px;
  border: 4px solid #e0e7ef;
  border-top-color: #00b4d8;
  border-radius: 50%;
  animation: cco-spin .8s linear infinite;
}
.overlay-title {
  font-size: 1rem; font-weight: 700; color: #1a2b4a; line-height: 1.3;
  font-family: "Opensans Variablefont Wdth Wght", Arial, sans-serif;
  margin: 0;
}
.overlay-subtitle {
  font-size: .82rem; color: #888; line-height: 1.5;
  font-family: "Opensans Variablefont Wdth Wght", Arial, sans-serif;
  margin: 0; letter-spacing: normal;
}

/* ── Status + Skeleton ── */
#status-message { text-align: center; min-height: 18px; margin-top: 8px; font-size: 13px; color: #555; }

.skeleton {
  display: inline-block;
  background: linear-gradient(90deg, #e0e7ef 25%, #f0f4f8 50%, #e0e7ef 75%);
  background-size: 200% 100%;
  animation: cco-shimmer 1.4s infinite;
  border-radius: 6px; height: 1em; min-width: 120px;
}

/* ── Keyframes — prefixed to avoid global.css?v=APP_VERSION .card animation conflict ── */
@keyframes cco-spin    { to { transform: rotate(360deg); } }
@keyframes cco-shimmer { to { background-position: -200% 0; } }

/* ══════════════════════════════════════════════════
   TABLET ≥ 640px — two cards side by side
   ══════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .checkout-section .container {
    padding: 0 24px !important;
  }
  .checkout-heading {
    font-size: 1.65rem !important;
    margin-bottom: 28px !important;
  }
  .cards-grid {
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 18px !important;
    grid-template-columns: unset !important;
  }
  .product-card {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 22px 20px 20px !important;
  }
  .card-title { font-size: 1.05rem !important; }
  .discount-price { font-size: 1.5rem !important; }
  .includes-list { max-height: 240px !important; }
  .payment-section { max-width: 580px !important; }
}

/* ══════════════════════════════════════════════════
   DESKTOP ≥ 1024px
   ══════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .checkout-section {
    padding: 60px 0 100px !important;
  }
  .checkout-section .container {
    max-width: 1060px !important;
    padding: 0 32px !important;
  }
  .checkout-heading {
    font-size: 2rem !important;
    margin-bottom: 36px !important;
  }
  .cards-grid { gap: 24px !important; margin-bottom: 40px !important; }
  .product-card { padding: 26px 24px 22px !important; }
  .card-title { font-size: 1.1rem !important; }
  .includes-list { max-height: 280px !important; }
  .payment-section { max-width: 640px !important; }
  .pay-btn { padding: 15px 20px !important; font-size: 15px !important; }
}

/* ══════════════════════════════════════════════════
   SMALL PHONES < 360px
   ══════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .checkout-section .container { padding: 0 12px !important; }
  .checkout-heading { font-size: 1.2rem !important; }
  .card-title { font-size: .9rem !important; padding-right: 76px !important; }
  .discount-price { font-size: 1.3rem !important; }
  .pay-btn { padding: 13px 14px !important; font-size: 13px !important; }
  .pay-amount { padding: 2px 8px; font-size: 12px; }
  .product-card.selected-card::after {
    font-size: 9px !important;
    padding: 2px 7px !important;
    right: 10px !important;
    top: 10px !important;
  }
}


 .toggle-container {
      text-align: center;
      margin: 2rem 0 1.5rem;
    }
    .switch {
      position: relative;
      display: inline-block;
      width: 60px;
      height: 34px;
      margin: 0 12px;
      vertical-align: middle;
    }
    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc;
      transition: 0.4s;
      border-radius: 34px;
    }
    .slider:before {
      position: absolute;
      content: "";
      height: 26px;
      width: 26px;
      left: 4px;
      bottom: 4px;
      background-color: white;
      transition: 0.4s;
      border-radius: 50%;
    }
    input:checked + .slider {
      background-color: #2196F3;
    }
    input:checked + .slider:before {
      transform: translateX(26px);
    }
    .font-weight-bold {
      font-weight: bold;
    }
    .installment-details {
      margin-top: 1rem;
      border-top: 1px solid #e0e7ef;
      padding-top: 1rem;
    }
    .emi-plan-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 0.5rem;
      font-size: 14px;
    }
    .total-payable {
      font-weight: bold;
      margin-top: 1rem;
      padding-top: 0.5rem;
      border-top: 1px dashed #ccc;
      font-size: 14px;
    }
    .installment-email-box {
      margin: 1rem 0;
    }
    .installment-email-box input {
      width: 100%;
      padding: 12px 16px;
      font-size: 16px;
      border: 1.5px solid #d1d5db;
      border-radius: 8px;
      font-family: inherit;
    }
    .btn__disabled {
      opacity: 0.6;
      pointer-events: none;
    }
    .error-message {
      color: #e53e3e;
      font-size: 12px;
      margin-top: 4px;
    }
    .w-100 {
      width: 100%;
    }
   
    #email-field-wrapper {
      display: none; 
    }



  /* Base container – Card style with depth */
.installment-plan-container {
  max-width: 1200px;
  margin: 2rem auto;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.02);
  padding: 2rem;
  transition: all 0.2s ease;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', 'Opensans Variablefont Wdth Wght', sans-serif;
}

/* Meta header (PAID / date) */
.job__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #eef2f6;
}

.job__inprogress {
  background: #eef2ff;
  color: #1e40af;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 1rem;
  border-radius: 40px;
  letter-spacing: 0.3px;
}

.pruchased-product-date {
  font-size: 0.8rem;
  color: #5b6e8c;
  background: #f8fafc;
  padding: 0.25rem 0.9rem;
  border-radius: 30px;
}

/* Product title */
.job__title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #0a2540;
  margin: 0.5rem 0 0.25rem;
  letter-spacing: -0.3px;
  text-align: center;
}

.job__desc {
  color: #3a546d;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 2rem;
  background: #f9fbfd;
  padding: 0.8rem 1rem;
  border-radius: 20px;
  border-left: 4px solid #00b4d8;
  text-align: center;
}

/* ========= MODERN TABLE – CENTERED ========= */
.installment-plan-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.8rem 0 1.5rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.installment-plan-table thead tr {
  background: #f1f5f9;
}

.installment-plan-table th {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1e2f44;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  text-align: center;
}

.installment-plan-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle;
  background-color: #ffffff;
  font-size: 0.95rem;
  color: #1e2f44;
  text-align: center;
}

.installment-plan-table tr:last-child td {
  border-bottom: none;
}

.installment-plan-table tbody tr:hover td {
  background-color: #fefce8;
  transition: background 0.2s;
}

/* ========= SVG ICONS FOR STATUS (no Font Awesome) ========= */
/* Hide any existing font icons */
.action-cell i,
.action-cell .fa-solid,
.action-cell .fa-circle-minus,
.action-cell .fa-circle-check {
  display: none !important;
}

/* "Not Started" status – gray circle SVG */
.action-cell span:has(> span) {
  /* fallback for older browsers */
}
.action-cell span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f3f5;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b6a8b;
}

/* Add SVG circle for "Not Started" */
.action-cell span::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 4px;
}

/* "Paid" status – green checkmark SVG */
.action-cell i.fa-circle-check,
.action-cell .fa-circle-check {
  display: none !important;
}
.action-cell:has(i.fa-circle-check) span::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'%3E%3C/path%3E%3C/svg%3E") !important;
  width: 16px;
  height: 16px;
}

/* When text contains "Paid on", style differently */
.action-cell:has(span:contains("Paid on")) span {
  background: #e0f2e7;
  color: #15803d;
}

/* "PAST DUE" indicator – red exclamation SVG */
.installment-plan-table td span[style*="color:red"] {
  background: #fee2e2;
  color: #b91c1c !important;
  padding: 3px 10px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}
.installment-plan-table td span[style*="color:red"]::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b91c1c' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
  background-size: contain;
}

/* ========= PAY NOW BUTTON (centered) ========= */
.pay-now-btn {
  background: linear-gradient(105deg, #0f2b3d 0%, #00457c 100%);
  color: white;
  border: none;
  padding: 8px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  letter-spacing: 0.3px;
  display: inline-block;
  text-align: center;
}

.pay-now-btn:hover {
  background: #00335c;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,69,124,0.2);
}

/* ========= ACCEPT PLAN SECTION (centered) ========= */
.stripe-setup, .razorpay-setup {
  background: #fefdf8;
  border: 1px solid #e9edf2;
  border-radius: 24px;
  padding: 1.5rem;
  margin: 1.2rem 0 1rem;
  text-align: center;
}

.accept-plan-btn {
  background: #0f2b3d;
  border: none;
  color: white;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 48px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.accept-plan-btn:hover {
  background: #002b4a;
  transform: scale(1.01);
  box-shadow: 0 8px 20px rgba(0,69,124,0.2);
}

/* Stripe elements container */
.stripe-elements {
  margin-top: 1.5rem;
  padding: 1rem;
  background: white;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  text-align: left; /* keep form left-aligned */
}

/* ========= TERMS & CONDITIONS ========= */
.terms {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px dashed #e2edf7;
  background: #fafcff;
  border-radius: 24px;
  padding: 1.4rem 1.8rem;
  text-align: left;
}

.terms h6 {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0a2b3e;
  margin-bottom: 0.75rem;
  letter-spacing: -0.2px;
}

.terms ol {
  padding-left: 1.2rem;
  margin: 0;
  color: #2c3e50;
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ========= LOADER ========= */
.loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

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

/* Error / success messages */
.error-message {
  background: #fff5f5;
  color: #c2410c;
  padding: 0.8rem 1rem;
  border-radius: 20px;
  border-left: 4px solid #e53e3e;
  font-size: 0.85rem;
  margin: 1rem 0;
  text-align: center;
}

.success-message {
  background: #e6fffa;
  color: #0e6b5e;
  padding: 0.8rem 1rem;
  border-radius: 20px;
  border-left: 4px solid #2c7a4b;
  text-align: center;
}

/* ========= RESPONSIVE (Mobile centered) ========= */
@media (max-width: 768px) {
  .installment-plan-container {
    padding: 1.2rem;
    margin: 1rem;
    border-radius: 24px;
  }

  .job__title {
    font-size: 1.3rem;
  }

  /* Table becomes block – keep centered */
  .installment-plan-table,
  .installment-plan-table tbody,
  .installment-plan-table tr,
  .installment-plan-table td {
    display: block;
    width: 100%;
  }

  .installment-plan-table thead {
    display: none;
  }

  .installment-plan-table tr {
    margin-bottom: 1rem;
    border: 1px solid #eef2f8;
    border-radius: 24px;
    overflow: hidden;
    background: white;
  }

  .installment-plan-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #f0f3f9;
    text-align: right;
  }

  .installment-plan-table td:before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #4b6a8b;
    background: #f9fbfe;
    padding: 4px 8px;
    border-radius: 20px;
    margin-right: 12px;
  }

  .pay-now-btn {
    width: 100%;
    text-align: center;
  }

  .action-cell span {
    justify-content: center;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .job__meta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .accept-plan-btn {
    width: 100%;
    justify-content: center;
  }

  .installment-plan-table td {
    font-size: 0.85rem;
  }
}




/* ===== PRODUCT DESCRIPTION SECTION ===== */

.tab-bordered-block {
  background: #ffffff;
  border: 1px solid #e6ecf3;
  border-radius: 14px;
  padding: 20px 18px;
  margin-top: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.tab-bordered-block:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* Title */
.tab-content-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  border-left: 4px solid #00b4d8;
  padding-left: 10px;
}

/* Description */
.tab-content-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Section Heading */
.what-get {
  font-size: 15px;
  font-weight: 700;
  color: #00b4d8;
  margin-bottom: 12px;
}

/* ===== CARD ITEMS ===== */

.tab-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fbff;
  border: 1px solid #e3edf7;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  transition: all 0.25s ease;
  cursor: default;
}

.tab-card:hover {
  background: #eef7ff;
  transform: translateY(-2px);
  border-color: #cde6ff;
}

/* Icon */
.tab-card svg {
  min-width: 20px;
  height: 20px;
  fill: #00b4d8;
}

/* Text */
.tab-card p {
  margin: 0;
  font-size: 13.5px;
  color: #1e293b;
}

.tab-card b {
  color: #f59e0b;
  font-weight: 700;
}
#installment-email-error {
  display: none;
}

#btn-razorpay {
  display: none !important;
}