/* ===== WebHostLB — Checkout page ===== */

/* Container */
.wblb-co { max-width: 760px; margin: 32px auto; padding: 0 20px 60px; }
.wblb-co__inner { display: flex; flex-direction: column; gap: 0; }

/* Hero header */
.wblb-co__hero { text-align: center; margin-bottom: 36px; }
.wblb-co__hero h1 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; margin: 0 0 10px; }
.wblb-co__hero p  { font-size: 16px; color: #555; margin: 0; }

/* Step sections */
.wblb-co__step { margin-bottom: 36px; }
.wblb-co__step-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #888; margin: 0 0 14px; }

/* Plan selector */
.wblb-co__plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wblb-co__plan  { position: relative; cursor: pointer; display: block; }
.wblb-co__plan input[type="radio"] { position: absolute; inset-inline-start: 14px; top: 18px; accent-color: #0f3a2a; width: 18px; height: 18px; }
.wblb-co__plan-body {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 16px 16px 40px;
  border: 2px solid #e5e7eb; border-radius: 14px;
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
html[dir="rtl"] .wblb-co__plan-body { padding: 16px 40px 16px 16px; }
.wblb-co__plan input:checked ~ .wblb-co__plan-body {
  border-color: #0f3a2a; box-shadow: 0 0 0 3px rgba(15,58,42,.1);
}
.wblb-co__plan-title { font-weight: 700; font-size: 15px; color: #111; }
.wblb-co__plan-price { font-size: 26px; font-weight: 900; letter-spacing: -.02em; color: #0f3a2a; line-height: 1.1; }
.wblb-co__plan-desc  { font-size: 13px; color: #6b7280; line-height: 1.4; }
.wblb-co__plan-note  { font-size: 12px; color: #9ca3af; }

/* Payment method tabs */
.wblb-co__method-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.wblb-co__tab {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1.5px solid #d1d5db; background: #fff; cursor: pointer; color: #374151;
  transition: border-color .13s ease, background .13s ease, color .13s ease;
}
.wblb-co__tab:hover { border-color: #0f3a2a; color: #0f3a2a; }
.wblb-co__tab--active { background: #0f3a2a; border-color: #0f3a2a; color: #fff !important; }

/* Payment instruction panels */
.wblb-co__panels { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px; }
.wblb-co__panel[hidden] { display: none; }
.wblb-co__detail-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #e5e7eb; font-size: 14px; gap: 12px; }
.wblb-co__detail-row:last-of-type { border-bottom: none; }
.wblb-co__detail-row span  { color: #6b7280; }
.wblb-co__detail-row strong { font-weight: 700; color: #111; word-break: break-all; }
.wblb-co__note { font-size: 13.5px; color: #374151; line-height: 1.55; margin: 12px 0 0; }

/* Form */
.wblb-co__required-note { font-size: 12px; color: #9ca3af; margin: 0 0 14px; }
.wblb-co__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.wblb-co__field { display: flex; flex-direction: column; gap: 5px; }
.wblb-co__field--full { grid-column: 1 / -1; }
.wblb-co__field label { font-size: 13.5px; font-weight: 600; color: #374151; }
.wblb-co__field input,
.wblb-co__field textarea {
  padding: 10px 14px; border: 1.5px solid #d1d5db; border-radius: 10px;
  font-size: 15px; background: #fff; width: 100%; box-sizing: border-box;
  transition: border-color .13s ease, box-shadow .13s ease;
  font-family: inherit;
}
.wblb-co__field input:focus,
.wblb-co__field textarea:focus {
  outline: none; border-color: #0f3a2a; box-shadow: 0 0 0 3px rgba(15,58,42,.1);
}
.wblb-co__field textarea { resize: vertical; min-height: 90px; }

/* Submit button */
.wblb-co__submit {
  width: 100%; padding: 15px 28px;
  background: linear-gradient(180deg, #0f3a2a, #0b2e21); color: #fff;
  border: none; border-radius: 12px; font-size: 16px; font-weight: 700;
  cursor: pointer; letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 14px rgba(15,58,42,.3);
}
.wblb-co__submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(15,58,42,.35); }
.wblb-co__submit:active { transform: translateY(0); }

/* Error */
.wblb-co-error { color: #dc2626; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }

/* Success state */
.wblb-co-success { text-align: center; padding: 48px 20px; }
.wblb-co-success svg { display: block; margin: 0 auto 20px; }
.wblb-co-success h2 { font-size: 24px; font-weight: 800; margin: 0 0 10px; color: #059669; }
.wblb-co-success p  { font-size: 16px; color: #374151; max-width: 520px; margin: 0 auto 24px; line-height: 1.55; }
.wblb-co-wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 26px; background: #25D366; color: #fff !important;
  border-radius: 999px; font-weight: 600; text-decoration: none !important;
  font-size: 15px;
}
.wblb-co-wa-btn svg { width: 22px; height: 22px; }

/* Responsive */
@media (max-width: 640px) {
  .wblb-co__plans { grid-template-columns: 1fr; }
  .wblb-co__fields { grid-template-columns: 1fr; }
  .wblb-co { padding: 0 14px 40px; }
}
