  :root {
    --secondary: #00c4b3;
    --secondary-dark: #00a99c;
    --bg: #eef1f6;
    --surface: #ffffff;
    --surface-2: #f7f9fc;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e5e7eb;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
    --radius: 16px;
    --radius-md: 4px;
    --radius-sm: 12px;
    --focus: 0 0 0 4px #00c4b36e;
    --danger: #ef4444;
    --success: #16a34a;
  }

  * {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    color: var(--text);
    background:
      radial-gradient(1000px 500px at 70% -10%, rgba(0, 196, 179, 0.16), transparent 60%),
      radial-gradient(900px 450px at 10% 0%, rgba(59, 130, 246, 0.1), transparent 55%),
      var(--bg);
  }

  .main-area-bg:not(.pagelayout-login) div[role="main"] {
    padding: 16px !important;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .stripecheckout-page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0;
  }

  .stripecheckout-title-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .stripecheckout-title-lock {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid rgba(229, 231, 235, 0.95);
    background: rgba(15, 23, 42, 0.03);
    color: rgba(15, 23, 42, 0.85);
    flex: 0 0 auto;
  }

  .stripecheckout-title-text {
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(15, 23, 42, 0.78);
  }
  
 /* .stripecheckout-title-stripe {
    text-decoration: none;
    color: #ffffff;
    background: #343a55;
    border-radius: 8px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  }*/

  .stripecheckout-title-badge{
    width: 250px;
    height: 50px;
    object-fit: cover;
    object-position: center;
    margin-left: -0.5rem;
  }
  .stripecheckout-title-stripe:hover{
	  text-decoration:none !important;
	  color:#fff;
  }
  .stripecheckout-title-stripe:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.22), 0 6px 18px rgba(15, 23, 42, 0.12);
  }

  .stripecheckout-title-powered {
    font-size: 16px;
    font-weight: 800;
    opacity: 0.9;
  }

  .stripecheckout-title-logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: lowercase;
  }

  @media (max-width: 768px) {
    .stripecheckout-title-text {
      font-size: 18px;
    }
    .stripecheckout-title-powered {
      font-size: 14px;
    }
    .stripecheckout-title-logo {
      font-size: 22px;
    }
  }
  @media (max-width: 491px) {
    .stripecheckout-title-text {
      font-size: 18px;
    }
    .stripecheckout-title-badge {
       width: 150px;
       height: 32px;
    }
  }
  @media (max-width: 392px) {
    .stripecheckout-title-text {
      font-size: 14px;
    }
    .stripecheckout-title-badge {
       width: 130px;
       height: 28px;
    }
  }
  .panel {
    background: rgba(255, 255, 255, 0.92);
    overflow: hidden;
    backdrop-filter: blur(10px);
  }

  .grid {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
  }

  @media (min-width: 980px) {
    .grid {
      grid-template-columns: 1fr 1fr;
    }

    .col+.col {
      border-left: 1px solid rgba(229, 231, 235, 0.9);
    }
  }

  .col {
    padding: clamp(16px, 2.4vw, 28px);
    min-width: 0;
  }

  h2 {
    margin: 0 0 14px 0;
    font-size: 20px;
    letter-spacing: -0.02em;
  }

  .course-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 252, 0.9));
    box-shadow: var(--shadow-sm);
  }

  .thumb {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.95);
    background: #dbeafe;
  }

  .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .course-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .course-desc {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.4;
  }

  .price-box {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.8);
  }

  .coupon {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 12px;
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
  }

  .coupon input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--text);
  }

  .coupon input::placeholder {
    color: rgba(100, 116, 139, 0.9);
  }

  .btn-apply {
    border: 1px solid rgba(0, 196, 179, 0.35);
    background: #00c4b3;
    color: #ffffff;
    font-weight: 800;
    border-radius: 2rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .btn-apply:hover {
    transform: translateY(-1px);
    filter: saturate(1.05);
  }

  .btn-apply:active {
    transform: translateY(0);
  }

  .checks {
    margin-top: 14px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    color: #0b1b2a;
    font-size: 14px;
  }

  .checks li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  .check {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #00c4b3;
    border: 1px solid rgba(0, 196, 179, 0.35);
    display: grid;
    place-items: center;
    margin-top: 1px;
    flex: 0 0 auto;
  }

  .check svg {
    width: 12px;
    height: 12px;
    fill: #fff;
  }

  .divider {
    height: 1px;
    background: rgba(229, 231, 235, 0.9);
    margin: 18px 0;
  }

  .badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
  }

  .badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--text);
    font-weight: 700;
    font-size: 13px;
  }

  .badge .ico {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(229, 231, 235, 0.9);
  }

  .back {
    margin-top: 14px;
    color: #2563eb;
    font-weight: 700;
    display: inline-flex;
    gap: 8px;
    align-items: center;
  }
  @media (max-width:975px){
     .back{
       position:absolute;
       top:-18px;
      }
      aside h2{
	      margin-top:1rem;
      }

  }
  .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    font-size: 15px;
  }

  .row .value {
    font-weight: 600;
  }

  .row.total {
    border-top: 1px solid rgba(229, 231, 235, 0.95);
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 800;
  }

  .row.discount {
    color: #0f766e;
  }

  .tax-loading {
    position: relative;
    padding-right: 18px;
  }

  .tax-loading::after {
    content: '';
    width: 12px;
    height: 12px;
    border: 2px solid rgba(37, 99, 235, 0.25);
    border-top-color: #2563eb;
    border-radius: 50%;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    animation: taxspin 0.8s linear infinite;
  }

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

  form {
    display: grid;
    gap: 14px;
    margin-top: 6px;
  }

  /*label {
    display: block;
    font-size: 12.5px;
    color: var(--text);
    font-weight: 800;
    margin-bottom: 8px;
  }*/
  label,.label{
	  color : #4c5a73;
  }

  .field {
    display: grid;
    gap: 8px;
  }

  /*.input,
  .stripe-slot,
  select {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid rgba(229, 231, 235, 0.95);
    background: rgba(247, 249, 252, 0.9);
    padding: 12px 12px;
    font-size: 14px;
    outline: none;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
  }*/

  .input:focus,
  .stripe-slot:focus,
  select:focus {
    border-color:#00c4b3 !important;
    box-shadow: var(--focus) !important;
    background: rgba(255, 255, 255, 0.95) !important;
  }

  .grid-2 {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
  }

  @media (min-width: 560px) {
    .grid-2 {
      grid-template-columns: 1fr 1fr;
    }
  }

  .stripe-wrap {
    border:1px solid #ced4da;
    border-radius: var(--radius-md);
    background: rgba(247, 249, 252, 0.9);
    overflow: hidden;
  }

  .stripe-head {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(229, 231, 235, 0.95);
    background: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
  }

 /* .stripe-slot {
    border: none;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    min-height: 48px;
  }*/

  .stripe-slot {
  border: none;
  border-radius: 0;
  display: flex;
  background:#fff;
  align-items: center;
  gap: 12px;
  padding: 12px;
  min-height: 48px;
}
/* New card UI helpers (from checkoutui.html) */
.stripe-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  margin-left: auto;
}
.fake-dots {
  color: rgba(100, 116, 139, 0.85);
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 12px;
  user-select: none;
}
.stripe-ico {
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 6px;
  padding: 4px 6px;
  background: #fff;
}  

  /* Stripe mounts a private wrapper + iframe; force full width */
  #stripe-element .__PrivateStripeElement {
    width: 100% !important;
  }

  #stripe-element iframe {
    width: 100% !important;
  }

  #stripe-element .StripeElement {
    width: 100% !important;
  }
  #stripecheckout-country{
	  margin-bottom:1rem;
  }
  .cta {
    margin-top: 1.5rem;
    width: 100%;
    border: 1px solid rgba(0, 196, 179, 0.45);
    background: #00c4b3;
    color: #ffffff;
    font-weight: 900;
    font-size: 15px;
    border-radius: 2rem;
    cursor: pointer;
  }

  .cta[disabled] {
    opacity: 0.75;
    cursor: not-allowed;
  }

  .banner {
    display: none;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(229, 231, 235, 0.95);
    background: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 800;
  }

  .banner.show {
    display: block;
  }

  .banner.error {
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.08);
    color: #7f1d1d;
  }
  .banner.success {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.10);
    color: #14532d;
  }
  .invalid {
    border-color: rgba(239, 68, 68, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
  }

  .spinner {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid rgba(5, 48, 44, 0.35);
    border-top-color: rgba(5, 48, 44, 0.95);
    animation: spin 0.8s linear infinite;
    display: none;
  }

  .loading .spinner {
    display: inline-block;
  }

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

  /* Mobile fixes: prevent horizontal overflow/cutoff */
  @media (max-width: 560px) {
    .col {
      padding: 14px;
    }

    .course-card {
      grid-template-columns: 1fr;
    }

    .thumb {
      max-width: 100%;
    }

    .coupon {
      gap: 8px;
    }

    .coupon input {
      min-width: 0;
      width: 100%;
    }

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

    .badge {
      width: 100%;
    }

    .badges {
      gap: 8px;
    }
  }
@media (min-width:980px){
   .back{
      bottom: 0;
      position: absolute;
      margin-bottom: 0.5rem;
  }

}

/* Success Page UI */
#page-local-stripecheckout-success .stripecheckout-success-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 18px;
}

#page-local-stripecheckout-success .stripecheckout-success-card {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
}

#page-local-stripecheckout-success .stripecheckout-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: #047857;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.14);
}

#page-local-stripecheckout-success .stripecheckout-success-title {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 12px;
}

#page-local-stripecheckout-success .stripecheckout-success-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 16px;
  max-width: 520px;
  text-align: left;
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
}

#page-local-stripecheckout-success .stripecheckout-success-list li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
}

#page-local-stripecheckout-success .stripecheckout-success-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 196, 179, 0.95);
  box-shadow: 0 0 0 3px rgba(0, 196, 179, 0.18);
}

#page-local-stripecheckout-success .stripecheckout-redirecting {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #0f172a;
  font-weight: 800;
  margin-top: 6px;
}

#page-local-stripecheckout-success .stripecheckout-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(2, 132, 199, 0.25);
  border-top-color: #0284c7;
  border-radius: 50%;
  animation: stripecheckoutSpin 0.8s linear infinite;
}

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

#page-local-stripecheckout-success .stripecheckout-fallback-btn {
  margin-top: 14px;
  background: #00c4b3;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 560px) {
  #page-local-stripecheckout-success .stripecheckout-success-card { padding: 18px 14px; }
  #page-local-stripecheckout-success .stripecheckout-success-title { font-size: 16px; }
}

.btn--primary{
  padding-right:2rem !important;
  padding-left:2rem !important;
}
.btn--primary:hover{
	color: #4C5A73 !important;
}
#page-local-stripecheckout-checkout #page-content .btn , #page-local-stripecheckout-success #page-content .btn{
	padding: 20px 3rem;
}
#page-local-stripecheckout-checkout .eupopup-container,
#page-local-stripecheckout-checkout .eupopup-container-bottom,
#page-local-stripecheckout-success .eupopup-container,
#page-local-stripecheckout-success .eupopup-container-bottom {
  display: none !important;
}
