/* ============================================================
   Taxi Booking — Public CSS
   Site theme: white bg, green accent (#27ae60), clean/premium
   ============================================================ */

:root {
  --tb-green:       #27ae60;
  --tb-green-h:     #219a52;
  --tb-green-light: #edfaf3;
  --tb-dark:        #1a1a2e;
  --tb-text:        #2d3748;
  --tb-muted:       #718096;
  --tb-border:      #e2e8f0;
  --tb-bg:          #ffffff;
  --tb-bg2:         #f8fafc;
  --tb-shadow:      0 4px 24px rgba(0,0,0,.08);
  --tb-shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --tb-radius:      10px;
  --tb-radius-lg:   16px;
  --tb-font:        'Segoe UI', system-ui, -apple-system, sans-serif;
  --tb-transition:  .18s ease;
}

/* ============================================================
   WRAPPER
   ============================================================ */
.tb-wrap {
  max-width: 780px;
  margin: 0 auto;
  font-family: var(--tb-font);
  font-size: 15px;
  color: var(--tb-text);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   STEP BAR
   ============================================================ */
.tb-stepbar {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  padding: 0 2px;
}
.tb-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.tb-step span {
  font-size: 12px;
  color: var(--tb-muted);
  font-weight: 500;
  letter-spacing: .02em;
  transition: color var(--tb-transition);
}
.tb-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  background: var(--tb-border);
  color: var(--tb-muted);
  transition: background var(--tb-transition), color var(--tb-transition);
}
.tb-step.active .tb-step-num {
  background: var(--tb-green);
  color: #fff;
}
.tb-step.active span { color: var(--tb-green); }
.tb-step.done .tb-step-num {
  background: var(--tb-green-light);
  color: var(--tb-green);
}
.tb-step.done .tb-step-num::after { content: '✓'; font-size: 14px; }
.tb-step.done .tb-step-num { font-size: 0; }
.tb-step.done span { color: var(--tb-green); }

.tb-step-track {
  flex: 1;
  height: 2px;
  background: var(--tb-border);
  margin: 0 8px;
  margin-bottom: 20px;
  transition: background var(--tb-transition);
}
.tb-step-track.done { background: var(--tb-green); }

/* ============================================================
   PANEL (card)
   ============================================================ */
.tb-panel {
  display: none;
  background: var(--tb-bg);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-lg);
  box-shadow: var(--tb-shadow);
  overflow: hidden;
  animation: tbFadeIn .22s ease;
}
.tb-panel.active { display: block; }

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

.tb-panel-head {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--tb-border);
}
.tb-panel-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--tb-dark);
  line-height: 1.3;
}
.tb-panel-head p {
  margin: 0;
  font-size: 14px;
  color: var(--tb-muted);
}

/* ============================================================
   GRID / FIELDS
   ============================================================ */
.tb-grid { display: grid; gap: 16px; padding: 24px 32px 0; }
.tb-grid-1 { grid-template-columns: 1fr; }
.tb-grid-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 580px) { .tb-grid-2 { grid-template-columns: 1fr; } }

.tb-field { display: flex; flex-direction: column; gap: 7px; }
.tb-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--tb-text);
  letter-spacing: .01em;
}
.tb-req { color: var(--tb-green); }

.tb-field input[type="text"],
.tb-field input[type="email"],
.tb-field input[type="tel"],
.tb-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--tb-border);
  border-radius: var(--tb-radius);
  font-size: 14px;
  font-family: var(--tb-font);
  color: var(--tb-text);
  background: var(--tb-bg);
  outline: none;
  transition: border-color var(--tb-transition), box-shadow var(--tb-transition);
  box-sizing: border-box;
}
.tb-field input:focus,
.tb-field textarea:focus {
  border-color: var(--tb-green);
  box-shadow: 0 0 0 3px rgba(39,174,96,.12);
}
.tb-field textarea { resize: vertical; min-height: 80px; }

/* Icon field */
.tb-icon-field {
  position: relative;
  display: block;
}
.tb-icon-field svg {
  position: absolute !important;
  left: 11px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 16px !important;
  height: 16px !important;
  color: #888 !important;
  pointer-events: none !important;
  z-index: 2 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  vertical-align: unset !important;
}
.tb-icon-field input[type="text"] {
  width: 100% !important;
  padding: 10px 14px 10px 38px !important;
  border: 1.5px solid var(--tb-border) !important;
  border-radius: var(--tb-radius) !important;
  font-size: 14px !important;
  font-family: var(--tb-font) !important;
  color: var(--tb-text) !important;
  background: var(--tb-bg) !important;
  outline: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  display: block !important;
  line-height: 1.5 !important;
  height: auto !important;
  box-shadow: none !important;
}
.tb-icon-field input[type="text"]:focus {
  border-color: var(--tb-green) !important;
  box-shadow: 0 0 0 3px rgba(39,174,96,.12) !important;
}

/* Select */
.tb-select-wrap {
  position: relative;
}
.tb-select-wrap::after {
  content: '';
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--tb-muted);
}
.tb-select {
  width: 100%;
  padding: 10px 32px 10px 14px;
  border: 1.5px solid var(--tb-border);
  border-radius: var(--tb-radius);
  font-size: 14px;
  font-family: var(--tb-font);
  color: var(--tb-text);
  background: var(--tb-bg);
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color var(--tb-transition);
}
.tb-select:focus { border-color: var(--tb-green); }

/* ============================================================
   LOCATION DROPDOWN
   ============================================================ */
.tb-loc-wrap { position: relative; }
.tb-loc-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1.5px solid var(--tb-border);
  border-radius: var(--tb-radius);
  cursor: pointer;
  background: var(--tb-bg);
  transition: border-color var(--tb-transition), box-shadow var(--tb-transition);
  user-select: none;
}
.tb-loc-trigger:hover { border-color: #cbd5e0; }
.tb-loc-trigger.open {
  border-color: var(--tb-green);
  box-shadow: 0 0 0 3px rgba(39,174,96,.12);
}
.tb-loc-icon { font-size: 16px; flex-shrink: 0; }
.tb-loc-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: var(--tb-font);
  color: var(--tb-text);
  outline: none;
  cursor: pointer;
  pointer-events: none;
  min-width: 0;
}
.tb-loc-input::placeholder { color: var(--tb-muted); }
.tb-chevron {
  width: 16px;
  height: 16px;
  color: var(--tb-muted);
  flex-shrink: 0;
  transition: transform var(--tb-transition);
}
.tb-loc-trigger.open .tb-chevron { transform: rotate(180deg); }

.tb-loc-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--tb-bg);
  border: 1.5px solid var(--tb-border);
  border-radius: var(--tb-radius);
  box-shadow: var(--tb-shadow);
  z-index: 1000;
  overflow: hidden;
}
.tb-loc-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--tb-border);
}
.tb-loc-search svg { width: 15px; height: 15px; color: var(--tb-muted); flex-shrink: 0; }
.tb-loc-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  font-family: var(--tb-font);
  color: var(--tb-text);
  background: transparent;
}
.tb-loc-search input::placeholder { color: var(--tb-muted); }

.tb-loc-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 220px;
  overflow-y: auto;
}
.tb-loc-dropdown li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--tb-text);
  cursor: pointer;
  transition: background var(--tb-transition);
}
.tb-loc-dropdown li:hover { background: var(--tb-bg2); }
.tb-loc-dropdown li.selected { background: var(--tb-green-light); color: var(--tb-green); font-weight: 600; }
.tb-loc-dropdown li .tb-li-icon { font-size: 15px; }
.tb-loc-dropdown li.tb-loc-loading,
.tb-loc-dropdown li.tb-loc-empty {
  color: var(--tb-muted);
  cursor: default;
  font-style: italic;
  font-size: 13px;
}

/* ============================================================
   VEHICLE CARDS
   ============================================================ */
#tb-vehicles-container { padding: 24px 32px 0; }

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

.tb-vehicle-card {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 0;
  border: 2px solid var(--tb-border);
  border-radius: var(--tb-radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--tb-transition), box-shadow var(--tb-transition), transform var(--tb-transition);
  background: var(--tb-bg);
}
.tb-vehicle-card:hover {
  border-color: #a0d9b8;
  box-shadow: 0 4px 16px rgba(39,174,96,.10);
  transform: translateY(-1px);
}
.tb-vehicle-card.selected {
  border-color: var(--tb-green);
  box-shadow: 0 0 0 3px rgba(39,174,96,.15);
}

.tb-vc-image {
  background: var(--tb-bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}
.tb-vc-image img { width: 100%; height: 100%; object-fit: cover; }
.tb-vc-image .tb-vc-emoji { font-size: 40px; }

.tb-vc-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.tb-vc-info h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--tb-dark);
}
.tb-vc-info p {
  margin: 0;
  font-size: 12px;
  color: var(--tb-muted);
  line-height: 1.4;
}
.tb-vc-meta {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.tb-vc-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--tb-muted);
  font-weight: 500;
}
.tb-vc-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.tb-vc-feat {
  font-size: 11px;
  background: var(--tb-bg2);
  color: var(--tb-muted);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--tb-border);
}

.tb-vc-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-left: 1px solid var(--tb-border);
  min-width: 110px;
}
.tb-vc-amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--tb-green);
  line-height: 1;
  white-space: nowrap;
}
.tb-vc-select-btn {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--tb-font);
  border: 2px solid var(--tb-green);
  border-radius: 6px;
  color: var(--tb-green);
  background: transparent;
  cursor: pointer;
  transition: background var(--tb-transition), color var(--tb-transition);
  white-space: nowrap;
}
.tb-vc-select-btn:hover,
.tb-vehicle-card.selected .tb-vc-select-btn {
  background: var(--tb-green);
  color: #fff;
}

.tb-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 0;
  color: var(--tb-muted);
  font-size: 14px;
}
.tb-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--tb-border);
  border-top-color: var(--tb-green);
  border-radius: 50%;
  animation: tbSpin .7s linear infinite;
}
@keyframes tbSpin { to { transform: rotate(360deg); } }

/* ============================================================
   SUMMARY
   ============================================================ */
.tb-summary {
  margin: 24px 32px 0;
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius);
  overflow: hidden;
}
.tb-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--tb-border);
}
.tb-sum-row:last-child { border-bottom: none; }
.tb-sum-row:nth-child(odd) { background: var(--tb-bg2); }
.tb-sum-label { color: var(--tb-muted); font-weight: 500; }
.tb-sum-val { color: var(--tb-text); font-weight: 600; text-align: right; }
.tb-sum-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: var(--tb-green-light);
  border-top: 2px solid var(--tb-green);
  font-size: 16px;
}
.tb-sum-total .tb-sum-label { color: var(--tb-green); font-weight: 700; }
.tb-sum-total .tb-sum-val   { color: var(--tb-green); font-weight: 800; font-size: 20px; }

/* ============================================================
   ACTIONS
   ============================================================ */
.tb-actions {
  padding: 24px 32px 28px;
  display: flex;
  justify-content: flex-end;
}
.tb-actions-split { justify-content: space-between; }

.tb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--tb-font);
  border-radius: var(--tb-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--tb-transition);
  line-height: 1;
}
.tb-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.tb-btn-primary {
  background: var(--tb-green);
  color: #fff;
  border-color: var(--tb-green);
}
.tb-btn-primary:hover {
  background: var(--tb-green-h);
  border-color: var(--tb-green-h);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(39,174,96,.3);
}

.tb-btn-ghost {
  background: transparent;
  color: var(--tb-muted);
  border-color: var(--tb-border);
}
.tb-btn-ghost:hover {
  border-color: #cbd5e0;
  color: var(--tb-text);
}

.tb-btn-success {
  background: var(--tb-dark);
  color: #fff;
  border-color: var(--tb-dark);
  padding: 12px 28px;
  font-size: 15px;
}
.tb-btn-success:hover {
  background: #2d2d4a;
  border-color: #2d2d4a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26,26,46,.25);
}
.tb-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ============================================================
   ERROR BAR
   ============================================================ */
.tb-error-bar {
  margin-bottom: 16px;
  padding: 12px 18px;
  background: #fff5f5;
  border: 1.5px solid #fed7d7;
  border-radius: var(--tb-radius);
  color: #c53030;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   CHECKBOX
   ============================================================ */
.tb-field-check { padding: 0 32px; padding-bottom: 4px; }
.tb-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--tb-muted);
  cursor: pointer;
  line-height: 1.5;
}
.tb-check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--tb-green);
  margin-top: 2px;
}
.tb-check-label a { color: var(--tb-green); text-decoration: none; }
.tb-check-label a:hover { text-decoration: underline; }

/* ============================================================
   SUCCESS SCREEN
   ============================================================ */
.tb-success {
  text-align: center;
  padding: 52px 32px 48px;
}
.tb-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  color: var(--tb-green);
}
.tb-success-icon svg { width: 100%; height: 100%; }
.tb-success h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--tb-dark);
  margin: 0 0 10px;
}
.tb-success p {
  font-size: 15px;
  color: var(--tb-muted);
  margin: 0 0 28px;
}
.tb-success-cards {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.tb-success-card {
  background: var(--tb-bg2);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius);
  padding: 16px 24px;
  min-width: 160px;
}
.tb-success-card span {
  display: block;
  font-size: 12px;
  color: var(--tb-muted);
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tb-success-card strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--tb-dark);
}

/* ============================================================
   FLATPICKR OVERRIDE (match site theme)
   ============================================================ */
.flatpickr-calendar {
  border: 1.5px solid var(--tb-border);
  border-radius: var(--tb-radius-lg);
  box-shadow: var(--tb-shadow);
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--tb-green);
  border-color: var(--tb-green);
}
.flatpickr-day:hover { background: var(--tb-green-light); }
.flatpickr-time input:focus { border-color: var(--tb-green); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .tb-panel-head { padding: 20px 20px 16px; }
  .tb-grid { padding: 18px 20px 0; }
  .tb-actions { padding: 18px 20px 22px; }
  .tb-summary { margin: 18px 20px 0; }
  #tb-vehicles-container { padding: 18px 20px 0; }
  .tb-field-check { padding: 0 20px; }

  .tb-vehicle-card { grid-template-columns: 80px 1fr; }
  .tb-vc-price {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    border-left: none;
    border-top: 1px solid var(--tb-border);
    padding: 12px 16px;
  }
  .tb-stepbar { gap: 0; }
  .tb-step span { display: none; }
}

/* ============================================================
   EK — Disabled dropoff, çoklu araç badge, no-vehicles
   ============================================================ */

/* Dropoff henüz açılmadan önce soluk görünüm */
.tb-loc-trigger--disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}
.tb-loc-trigger--disabled.open,
.tb-loc-trigger--disabled:hover {
  border-color: var(--tb-border) !important;
  box-shadow: none !important;
}

/* Araç kartı başlık satırı */
.tb-vc-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* "2x vehicles" badge */
.tb-vc-multi-badge {
  font-size: 11px;
  font-weight: 700;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* Fiyat altındaki küçük not */
.tb-vc-total-note {
  font-size: 11px;
  color: var(--tb-muted);
  text-align: center;
}

/* Araç yok durumu */
.tb-no-vehicles {
  padding: 40px 24px;
  text-align: center;
  color: var(--tb-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================================
   Passenger counter
   ============================================================ */
.tb-counter-wrap {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--tb-border);
  border-radius: var(--tb-radius);
  overflow: hidden;
  background: var(--tb-bg);
  transition: border-color var(--tb-transition);
  width: 100%;
}
.tb-counter-wrap:focus-within {
  border-color: var(--tb-green);
  box-shadow: 0 0 0 3px rgba(39,174,96,.12);
}
.tb-counter-btn {
  width: 48px;
  height: 44px;
  border: none;
  background: var(--tb-bg2);
  color: var(--tb-text);
  font-size: 22px;
  font-weight: 400;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--tb-transition), color var(--tb-transition);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tb-font);
}
.tb-counter-btn:hover:not(:disabled) {
  background: var(--tb-green-light);
  color: var(--tb-green);
}
.tb-counter-btn:disabled {
  color: var(--tb-border);
  cursor: not-allowed;
  background: var(--tb-bg2);
}
.tb-counter-display {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-left: 1px solid var(--tb-border);
  border-right: 1px solid var(--tb-border);
  padding: 0 12px;
  height: 44px;
}
.tb-counter-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--tb-dark);
  min-width: 20px;
  text-align: center;
}
.tb-counter-text {
  font-size: 13px;
  color: var(--tb-muted);
}

/* ============================================================
   Accordion sections
   ============================================================ */
.tb-section {
  background: var(--tb-bg);
  border: 1.5px solid var(--tb-border);
  border-radius: var(--tb-radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
  width: 100%;
  box-sizing: border-box;
  max-width: 780px;
}
.tb-section-open {
  border-color: var(--tb-green);
  box-shadow: 0 0 0 3px rgba(39,174,96,.08);
}
.tb-section-done {
  border-color: var(--tb-border);
}
.tb-section-locked {
  border-color: var(--tb-border);
  opacity: .6;
}

.tb-sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
}
.tb-sec-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tb-border);
  color: var(--tb-muted);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.tb-section-open .tb-sec-badge,
.tb-sec-badge-active {
  background: var(--tb-green) !important;
  color: #fff !important;
}
.tb-section-done .tb-sec-badge {
  background: var(--tb-green-light);
  color: var(--tb-green);
  font-size: 16px;
}
.tb-section-done .tb-sec-badge::after {
  content: '✓';
}
.tb-section-done .tb-sec-badge { font-size: 0; }
.tb-section-done .tb-sec-badge::after { font-size: 16px; }

.tb-sec-title-wrap { flex: 1; }
.tb-sec-title-wrap h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--tb-dark);
  line-height: 1.3;
}
.tb-sec-summary {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--tb-muted);
}
.tb-sec-edit {
  font-size: 13px;
  font-weight: 600;
  color: var(--tb-green);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .15s;
  font-family: var(--tb-font);
}
.tb-sec-edit:hover { background: var(--tb-green-light); }

.tb-sec-body {
  padding: 0 24px 24px;
  animation: tbSlideDown .25s ease;
}
@keyframes tbSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Extras */
.tb-extras-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--tb-text);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 20px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tb-extras-note {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--tb-muted);
  font-size: 12px;
}
.tb-extras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 560px) { .tb-extras-grid { grid-template-columns: 1fr; } }

.tb-extra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1.5px solid var(--tb-border);
  border-radius: var(--tb-radius);
  background: var(--tb-bg);
  gap: 12px;
  transition: border-color .15s;
}
.tb-extra-row:has(.tb-extra-val:not(:empty)) { }
.tb-extra-row.tb-extra-active {
  border-color: var(--tb-green);
  background: var(--tb-green-light);
}
.tb-extra-info { flex: 1; }
.tb-extra-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--tb-dark);
}
.tb-extra-desc {
  display: block;
  font-size: 12px;
  color: var(--tb-muted);
  margin-top: 2px;
}
.tb-extra-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.tb-extra-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--tb-border);
  background: var(--tb-bg);
  color: var(--tb-text);
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  line-height: 1;
  font-family: var(--tb-font);
}
.tb-extra-btn:hover:not(:disabled) {
  border-color: var(--tb-green);
  color: var(--tb-green);
  background: var(--tb-green-light);
}
.tb-extra-btn:disabled {
  opacity: .3;
  cursor: not-allowed;
}
.tb-extra-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--tb-dark);
  min-width: 20px;
  text-align: center;
}

/* Success panel */
.tb-success-panel {
  background: var(--tb-bg);
  border: 1.5px solid var(--tb-green);
  border-radius: var(--tb-radius-lg);
  box-shadow: 0 0 0 3px rgba(39,174,96,.08);
}

/* ============================================================
   Section hidden state
   ============================================================ */
.tb-section-hidden {
  display: none !important;
}
.tb-section-open {
  border-color: var(--tb-green) !important;
  box-shadow: 0 0 0 3px rgba(39,174,96,.07) !important;
}
.tb-sec-head-simple {
  padding: 18px 24px 0;
}
.tb-sec-head-simple h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--tb-dark);
}

/* Section içi hata mesajı */
.tb-sec-error {
  margin: 0 0 16px;
  padding: 10px 14px;
  background: #fff5f5;
  border: 1.5px solid #fed7d7;
  border-radius: var(--tb-radius);
  color: #c53030;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   Flight section + 3-col grid
   ============================================================ */
.tb-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding: 0;
}
@media (max-width: 640px) { .tb-grid-3 { grid-template-columns: 1fr; } }

.tb-flight-section {
  background: var(--tb-bg2);
  border: 1.5px solid var(--tb-border);
  border-radius: var(--tb-radius-lg);
  padding: 18px 20px;
}
.tb-flight-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tb-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tb-flight-label::before {
  content: '✈';
  font-size: 14px;
}

/* Time picker wrap */
.tb-time-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1.5px solid var(--tb-border);
  border-radius: var(--tb-radius);
  background: var(--tb-bg);
  cursor: pointer;
  transition: border-color var(--tb-transition), box-shadow var(--tb-transition);
}
.tb-time-wrap:hover { border-color: #a0d9b8; }
.tb-time-wrap:focus-within {
  border-color: var(--tb-green);
  box-shadow: 0 0 0 3px rgba(39,174,96,.12);
}
.tb-time-wrap svg {
  width: 16px;
  height: 16px;
  color: var(--tb-muted);
  flex-shrink: 0;
  pointer-events: none;
}
.tb-time-wrap input[type="time"] {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--tb-text) !important;
  padding: 10px 0 !important;
  width: 100% !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
