/* ============================================================
   Techno Booking — Complete Redesign
   ============================================================ */

/* ---------- Reset / Base ---------- */
.tb-wrap *, .tb-wrap *::before, .tb-wrap *::after { box-sizing: border-box; margin: 0; padding: 0; }

.tb-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  font-family: 'DM Sans', sans-serif;
  color: #1a1a2e;
  background: transparent;

  --pri:        #4542e8;
  --pri-dark:   #3330c4;
  --pri-light:  #eef2ff;
  --pri-border: #c7c5f8;
  --text:       #1a1a2e;
  --muted:      #6b7280;
  --border:     #e5e7eb;
  --bg:         #f5f6fa;
  --white:      #ffffff;
  --radius:     14px;
  --radius-sm:  10px;
  --radius-pill:50px;
  --shadow:     0 2px 16px rgba(0,0,0,.06);
  --shadow-hover:0 6px 28px rgba(69,66,232,.18);
  --trans:      all 0.18s ease;
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.tb-progress {
  margin-bottom: 2rem;
  user-select: none;
}

/* Labels row */
.tb-prog-labels {
  display: flex;
  align-items: flex-start;
  margin-bottom: .6rem;
}

.tb-prog-label-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.tb-prog-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: .02em;
  transition: color .2s;
}
.tb-prog-name.active { color: var(--pri); }
.tb-prog-name.done   { color: var(--pri); }

.tb-prog-val {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
  text-align: center;
  line-height: 1.2;
}

/* Track row: dots + lines */
.tb-prog-track {
  display: flex;
  align-items: center;
}

.tb-prog-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.tb-prog-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  transition: var(--trans);
  position: relative;
}

.tb-prog-dot.active {
  width: 18px;
  height: 18px;
  border: 2.5px solid var(--pri);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(69,66,232,.15);
}

.tb-prog-dot.done {
  background: var(--pri);
  border-color: var(--pri);
}

.tb-prog-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  transition: background .3s;
}
.tb-prog-line.done { background: var(--pri); }

/* ============================================================
   PANEL CARD
   ============================================================ */
.tb-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.25rem 2rem;
  min-height: 400px;
}

/* Step animation */
.tb-step {
  animation: tbIn .22s ease;
}
@keyframes tbIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Step title / sub */
.tb-step-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .35rem;
  line-height: 1.3;
}
.tb-step-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.tb-step-title.center,
.tb-step-sub.center { text-align: center; }

/* ============================================================
   BRAND GRID
   ============================================================ */
.tb-brand-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 2rem;
}

.tb-brand-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 18px 8px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: var(--trans);
  text-align: center;
}
.tb-brand-card:hover {
  border-color: #a09fe8;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.tb-brand-card.selected {
  border-color: var(--pri);
  background: var(--pri-light);
  box-shadow: var(--shadow-hover);
}
.tb-brand-logo {
  height: 46px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tb-brand-logo svg, .tb-brand-logo img { max-height: 46px; max-width: 100%; }
.tb-brand-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

/* ============================================================
   DEVICE GRID
   ============================================================ */
.tb-device-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 2rem;
}

.tb-device-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 36px 20px 24px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 160px;
  transition: var(--trans);
}
.tb-device-card:hover {
  border-color: #a09fe8;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.tb-device-card.selected {
  border-color: var(--pri);
  background: var(--pri-light);
}
.tb-device-card.selected .tb-device-icon svg path,
.tb-device-card.selected .tb-device-icon svg rect,
.tb-device-card.selected .tb-device-icon svg circle {
  stroke: var(--pri);
}
.tb-device-icon svg {
  transition: var(--trans);
}
.tb-device-card:hover .tb-device-icon svg path,
.tb-device-card:hover .tb-device-icon svg rect,
.tb-device-card:hover .tb-device-icon svg circle {
  stroke: var(--pri);
}
.tb-device-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

/* ============================================================
   MODEL GRID
   ============================================================ */
.tb-model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 2rem;
}

.tb-model-btn {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  padding: 13px 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
  transition: var(--trans);
}
.tb-model-btn:hover {
  border-color: #a09fe8;
  box-shadow: 0 3px 12px rgba(69,66,232,.1);
  transform: translateY(-1px);
}
.tb-model-btn.selected {
  border-color: var(--pri);
  color: var(--pri);
  background: var(--pri-light);
  font-weight: 700;
}

/* ============================================================
   REPAIR / EXTRAS GRID
   ============================================================ */
.tb-repair-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.5rem;
}

.tb-repair-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px 12px 14px;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--trans);
}
.tb-repair-card:hover {
  border-color: #a09fe8;
  box-shadow: 0 4px 16px rgba(69,66,232,.1);
  transform: translateY(-2px);
}
.tb-repair-card.selected {
  border-color: var(--pri);
  background: var(--pri-light);
}

.tb-repair-check {
  width: 18px; height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  transition: var(--trans);
  flex-shrink: 0;
}
.tb-repair-card.selected .tb-repair-check {
  background: var(--pri);
  border-color: var(--pri);
}
.tb-repair-check-mark {
  display: none;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
.tb-repair-card.selected .tb-repair-check-mark { display: block; }

.tb-repair-icon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  margin-bottom: 10px;
}
.tb-repair-icon svg { max-height: 54px; }
.tb-repair-card.selected .tb-repair-icon svg path,
.tb-repair-card.selected .tb-repair-icon svg rect,
.tb-repair-card.selected .tb-repair-icon svg circle,
.tb-repair-card.selected .tb-repair-icon svg polyline {
  stroke: var(--pri);
}

.tb-repair-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 8px;
}
.tb-repair-name.highlight-gold  { color: #c0830a; }
.tb-repair-name.highlight-blue  { color: var(--pri); }

.tb-repair-divider { width: 100%; height: 1px; background: var(--border); margin-bottom: 8px; }

.tb-repair-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: block;
}
.tb-repair-vat {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 1px;
}

/* Color picker step */
.tb-color-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 2rem;
}
.tb-color-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 28px 20px 20px;
  cursor: pointer;
  width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: var(--trans);
}
.tb-color-card:hover { border-color: #a09fe8; box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.tb-color-card.selected { border-color: var(--pri); }
.tb-color-swatch {
  width: 58px; height: 58px; border-radius: 50%;
  transition: var(--trans);
}
.tb-color-swatch.black { background: #111; }
.tb-color-swatch.white { background: #fff; border: 2px solid var(--border); }
.tb-color-swatch.other { background: #ccc; }
.tb-color-label { font-size: 14px; font-weight: 600; color: var(--text); }
.tb-color-card.selected .tb-color-label { color: var(--pri); }

/* ============================================================
   SERVICE STEP
   ============================================================ */
.tb-service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--pri);
  text-align: center;
  margin-bottom: .4rem;
}
.tb-service-sub {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.5rem;
}

.tb-loc-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.tb-loc-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.tb-loc-tab {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  padding: 10px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--trans);
}
.tb-loc-tab:hover { border-color: #a09fe8; }
.tb-loc-tab.active {
  background: var(--pri);
  border-color: var(--pri);
  color: #fff;
}
.tb-loc-tab .tb-pin { font-size: 13px; }

.tb-svc-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.tb-svc-tab {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  padding: 10px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 220px;
  text-align: center;
  line-height: 1.3;
  transition: var(--trans);
}
.tb-svc-tab:hover { border-color: #a09fe8; }
.tb-svc-tab.active {
  border-color: var(--pri);
  color: var(--pri);
}
.tb-svc-tab-icon { flex-shrink: 0; }

.tb-svc-content { }

.tb-svc-heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: .5rem;
}
.tb-svc-avail {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1rem;
}
.tb-svc-avail a { color: var(--pri); text-decoration: none; }

.tb-store-list {
  margin-bottom: 1.25rem;
}
.tb-store-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 13px;
}
.tb-store-item .tb-pin { color: var(--pri); font-size: 14px; flex-shrink: 0; }
.tb-store-item-name { font-weight: 600; color: var(--pri); }
.tb-store-item-addr { color: var(--muted); }

.tb-svc-options {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.tb-svc-option-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 16px 20px;
  min-width: 150px;
  max-width: 200px;
  text-align: center;
  transition: var(--trans);
}
.tb-svc-option-card:hover { border-color: #a09fe8; box-shadow: 0 3px 12px rgba(0,0,0,.06); }

.tb-svc-opt-ready-label { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.tb-svc-opt-ready-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--pri);
  margin-bottom: 10px;
}
.tb-svc-opt-price {
  display: inline-block;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.tb-svc-opt-price.free { color: var(--muted); }

.tb-svc-select-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--pri);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
}
.tb-svc-select-btn:hover { background: var(--pri-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(69,66,232,.3); }
.tb-svc-select-btn.selected { background: var(--pri-dark); }

/* ============================================================
   CALENDAR STEP
   ============================================================ */
.tb-calendar-wrap {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.tb-cal {
  flex: 0 0 auto;
}
.tb-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .9rem;
}
.tb-cal-nav {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: var(--trans);
  line-height: 1;
}
.tb-cal-nav:hover { background: var(--bg); color: var(--text); }
.tb-cal-month { font-size: 16px; font-weight: 700; color: var(--text); }

.tb-cal-grid {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
  min-width: 310px;
}
.tb-cal-grid table {
  width: 100%;
  border-collapse: collapse;
}
.tb-cal-grid thead th {
  padding: 9px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.tb-cal-grid tbody td {
  text-align: center;
  padding: 0;
}
.tb-cal-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 2px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--trans);
  border: 1.5px solid transparent;
}
.tb-cal-day:hover:not(.disabled):not(.other-month) { background: var(--pri-light); color: var(--pri); }
.tb-cal-day.today { border-color: var(--pri); }
.tb-cal-day.selected { background: var(--pri); color: #fff !important; border-color: var(--pri); }
.tb-cal-day.disabled { color: var(--border); cursor: default; pointer-events: none; }
.tb-cal-day.other-month { color: #ccc; cursor: default; pointer-events: none; }
.tb-cal-day.weekend { color: #bbb; }
.tb-cal-day.weekend:hover { background: transparent; color: #bbb; cursor: default; pointer-events: none; }

/* Time slots */
.tb-time-wrap {
  flex: 0 0 200px;
}
.tb-time-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--pri);
  margin-bottom: 1rem;
  text-align: center;
}
.tb-time-period {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .5rem;
  text-align: center;
}
.tb-time-slot {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 12px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: .75rem;
  transition: var(--trans);
}
.tb-time-slot:hover { border-color: #a09fe8; background: var(--pri-light); color: var(--pri); }
.tb-time-slot.selected { border-color: var(--pri); background: var(--pri-light); color: var(--pri); }

/* ============================================================
   YOUR DATA STEP
   ============================================================ */
.tb-data-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.tb-data-form { flex: 1; min-width: 0; }
.tb-data-summary {
  flex: 0 0 340px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.5rem;
  position: sticky;
  top: 20px;
}

.tb-form-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  text-align: center;
}

.tb-form-group { margin-bottom: .9rem; }
.tb-form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.tb-req { color: #e74c3c; }

.tb-form-input,
.tb-form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .18s;
}
.tb-form-input:focus,
.tb-form-textarea:focus { border-color: var(--pri); }
.tb-form-input::placeholder,
.tb-form-textarea::placeholder { color: #c0c4cc; }
.tb-form-textarea { resize: vertical; min-height: 80px; }

/* Phone field with country code */
.tb-phone-row {
  display: flex;
  gap: 8px;
}
.tb-country-select {
  flex: 0 0 110px;
  padding: 12px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  cursor: pointer;
  transition: border-color .18s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.tb-country-select:focus { border-color: var(--pri); }
.tb-phone-input { flex: 1; }

/* Address section */
.tb-address-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--border);
}

/* Order Summary */
.tb-sum-total-label {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-bottom: .3rem;
}
.tb-sum-total-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--pri);
  text-align: center;
  margin-bottom: 1.25rem;
}
.tb-sum-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--pri);
  margin-bottom: .9rem;
}
.tb-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  margin-bottom: .45rem;
}
.tb-sum-key {
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
  min-width: 80px;
}
.tb-sum-val {
  color: var(--muted);
  text-align: right;
  flex: 1;
}
.tb-sum-val .tb-sum-price {
  display: block;
  font-weight: 600;
  color: var(--pri);
}
.tb-sum-divider {
  height: 1px;
  background: var(--border);
  margin: .9rem 0;
}
.tb-sum-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
}
.tb-sum-total-key { color: var(--text); }
.tb-sum-total-val { color: var(--pri); }
.tb-sum-vat { font-size: 11px; color: var(--muted); text-align: right; margin-top: 2px; }

/* ============================================================
   PAYMENT STEP
   ============================================================ */
.tb-payment-wrap {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.tb-payment-form { flex: 1; }

.tb-voucher-row {
  display: flex;
  gap: 10px;
  margin-bottom: 1.75rem;
}
.tb-voucher-input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  background: var(--white);
  transition: border-color .18s;
}
.tb-voucher-input:focus { border-color: var(--pri); }
.tb-voucher-input::placeholder { color: #c0c4cc; }
.tb-voucher-btn {
  padding: 12px 20px;
  border: 1.5px solid var(--pri);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--pri);
  cursor: pointer;
  transition: var(--trans);
}
.tb-voucher-btn:hover { background: var(--pri); color: #fff; }

.tb-pay-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  text-align: center;
}
.tb-pay-option {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 16px 18px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: var(--trans);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.tb-pay-option:hover { border-color: #a09fe8; }
.tb-pay-option.selected { border-color: var(--pri); background: var(--pri-light); }

.tb-pay-radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--trans);
  display: flex; align-items: center; justify-content: center;
}
.tb-pay-option.selected .tb-pay-radio {
  border-color: var(--pri);
  background: var(--pri);
}
.tb-pay-radio-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  display: none;
}
.tb-pay-option.selected .tb-pay-radio-dot { display: block; }

.tb-pay-body { flex: 1; }
.tb-pay-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tb-pay-card-icons { display: flex; gap: 5px; align-items: center; }
.tb-pay-card-icon {
  height: 22px;
  border-radius: 3px;
  border: 1px solid var(--border);
}
.tb-pay-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.45;
}
.tb-pay-desc a { color: var(--pri); text-decoration: none; }
.tb-pay-desc a:hover { text-decoration: underline; }

/* ============================================================
   CONFIRMATION STEP
   ============================================================ */
.tb-confirm-wrap {
  text-align: center;
  padding: 2.5rem 1rem;
}
.tb-confirm-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--pri-light);
  border: 2px solid var(--pri);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  animation: tbPop .4s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes tbPop { 0%{transform:scale(0);opacity:0} 100%{transform:scale(1);opacity:1} }
.tb-confirm-icon svg { color: var(--pri); }
.tb-confirm-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .5rem;
}
.tb-confirm-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.tb-confirm-id {
  font-size: 20px;
  font-weight: 800;
  color: var(--pri);
  margin-bottom: 2rem;
}
.tb-confirm-illustration {
  width: 160px;
  margin: 0 auto 2rem;
  opacity: .85;
}
.tb-restart-btn {
  display: inline-block;
  padding: 13px 36px;
  background: var(--pri);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
}
.tb-restart-btn:hover { background: var(--pri-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(69,66,232,.3); }

/* ============================================================
   NAV ROW
   ============================================================ */
.tb-nav-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.75rem;
}
.tb-btn-back {
  padding: 12px 26px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: var(--trans);
}
.tb-btn-back:hover { border-color: var(--muted); color: var(--text); background: var(--bg); }

.tb-btn-next {
  padding: 13px 48px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--pri);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: var(--trans);
  opacity: .35;
  pointer-events: none;
  min-width: 160px;
}
.tb-btn-next.ready { opacity: 1; pointer-events: auto; }
.tb-btn-next.ready:hover { background: var(--pri-dark); transform: translateY(-1px); box-shadow: 0 4px 18px rgba(69,66,232,.35); }
.tb-btn-next.loading { opacity: .7; pointer-events: none; }

/* Error message */
.tb-error { color: #e74c3c; font-size: 13px; text-align: center; margin-top: .5rem; min-height: 18px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .tb-brand-grid { grid-template-columns: repeat(4, 1fr); }
  .tb-repair-grid { grid-template-columns: repeat(3, 1fr); }
  .tb-data-layout { flex-direction: column; }
  .tb-data-summary { flex: none; width: 100%; position: static; }
  .tb-payment-wrap { flex-direction: column; }
}
@media (max-width: 650px) {
  .tb-panel { padding: 1.5rem 1.25rem; }
  .tb-brand-grid { grid-template-columns: repeat(3, 1fr); }
  .tb-model-grid { grid-template-columns: repeat(2, 1fr); }
  .tb-repair-grid { grid-template-columns: repeat(2, 1fr); }
  .tb-calendar-wrap { flex-direction: column; align-items: center; }
  .tb-time-wrap { flex: none; width: 100%; }
  .tb-prog-name { font-size: 9px; }
}
@media (max-width: 420px) {
  .tb-brand-grid { grid-template-columns: repeat(2, 1fr); }
  .tb-device-grid { flex-wrap: wrap; justify-content: center; }
  .tb-repair-grid { grid-template-columns: 1fr 1fr; }
  .tb-svc-tabs { flex-direction: column; align-items: center; }
  .tb-loc-tabs { flex-wrap: wrap; }
}
