@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700&display=swap');

:root {
  --dcb-primary: #3cadd5;
  --dcb-secondary: #fbbf2c;
  --dcb-dark: #0f1a23;
  --dcb-grey: #5a6773;
  --dcb-mid: #8592a0;
  --dcb-bg: #f4f7fa;
  --dcb-card: #ffffff;
  --dcb-radius: 14px;
  --dcb-shadow: 0 16px 40px rgba(15, 26, 35, 0.12);
  --dcb-soft-shadow: 0 12px 28px rgba(15, 26, 35, 0.08);
  --dcb-font-sans: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
  --dcb-font-fa: 'Vazirmatn', 'Inter', system-ui, -apple-system, sans-serif;
}

.dubai-car-booking-container {
  font-family: var(--dcb-font-sans);
  background: var(--dcb-bg);
  color: var(--dcb-dark);
  line-height: 1.5;
  padding: 8px 0 24px;
}

html[lang^="fa"] .dubai-car-booking-container,
body.rtl .dubai-car-booking-container {
  font-family: var(--dcb-font-fa);
}

.dcb-app {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px;
}

.dcb-shell {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.dcb-step {
  display: none;
}
.dcb-step.is-active {
  display: block;
  animation: dcbFade 220ms ease;
  position: relative;
  z-index: 2;
}
.dcb-step.anim-up { animation: dcbSlideUp 380ms ease; }
.dcb-step.anim-left { animation: dcbSlideLeft 420ms ease; }

.dcb-search-card {
  background: var(--dcb-card);
  border-radius: 18px;
  box-shadow: var(--dcb-shadow);
  padding: 18px;
  position: relative;
  overflow: visible;
}
.dcb-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.dcb-tab {
  border: none;
  background: #222;
  color: #fff;
  padding: 10px 16px;
  border-radius: 22px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.dcb-tab:not(.is-active) {
  background: #f1f1f1;
  color: #444;
  box-shadow: inset 0 0 0 1px #e7e7e7;
}
.dcb-tab:active { transform: scale(.98); }

.dcb-field-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dcb-field-line { width: 100%; }
.dcb-input-wrap { display: flex; flex-direction: column; gap: 6px; }
.dcb-input-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--dcb-dark);
}
.dcb-input-label.muted { color: var(--dcb-mid); font-weight: 600; }
.dcb-input-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #e6e6e6;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.dcb-input-shell input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 15px;
  color: var(--dcb-dark);
  background: transparent;
}
.dcb-input-shell input::placeholder { color: #a3a3a3; }
.dcb-icon {
  display: inline-flex;
  width: 18px;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  color: var(--dcb-dark);
}
.dcb-icon-btn {
  border: none;
  background: #f5f5f5;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.dcb-icon-btn:hover { background: #ededed; }
.dcb-icon-btn:active { transform: scale(.96); }
.dcb-icon-btn.ghost { background: transparent; box-shadow: inset 0 0 0 1px #e7e7e7; }

.dcb-link-toggle {
  border: none;
  background: transparent;
  color: var(--dcb-grey);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 0 0;
}
.dcb-plus {
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background: #e6e6e6;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #555;
}
.dcb-return-field { display: none; }
.dcb-return-field.is-visible { display: block; }

.dcb-divider {
  height: 1px;
  background: #ededed;
  margin: 10px 0;
}

.dcb-date-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.dcb-date-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--dcb-soft-shadow);
}
.dcb-date-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(132px, 156px);
  gap: 12px;
  align-items: center;
}
.dcb-date-input,
.dcb-time-input {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  min-height: 48px;
  padding: 0 14px;
  background: #fdfdfd;
}
.dcb-date-input input,
.dcb-time-input input {
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  background: transparent;
}
.dcb-time-input {
  justify-content: flex-start;
}
.dcb-time-input.is-persian-time {
  padding: 0;
}
.dcb-persian-time-display {
  text-align: center;
  font-weight: 600;
  padding: 0 14px !important;
  direction: ltr;
}
.dcb-date-input.is-persian-picker {
  position: relative;
  padding: 0;
  overflow: visible;
}
.dcb-date-input.is-persian-picker.is-open {
  border-color: rgba(60,173,213,0.45);
  box-shadow: 0 0 0 4px rgba(60,173,213,0.12);
}
.dcb-jalali-display {
  cursor: pointer;
  text-align: right;
  font-weight: 600;
  padding: 0 14px !important;
}
.dcb-jalali-picker {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  width: min(320px, 92vw);
  padding: 14px;
  border: 1px solid #dce7ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  z-index: 2147483642;
  direction: rtl;
}
.dcb-jalali-picker-head,
.dcb-jalali-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dcb-jalali-picker-head {
  margin-bottom: 12px;
}
.dcb-jalali-title {
  flex: 1;
  text-align: center;
  font-weight: 800;
  color: var(--dcb-dark);
}
.dcb-jalali-nav,
.dcb-jalali-footer-btn,
.dcb-jalali-day {
  border: 1px solid #d9e5ec;
  background: #fff;
  color: var(--dcb-dark);
  font: inherit;
}
.dcb-jalali-nav {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
}
.dcb-jalali-weekdays,
.dcb-jalali-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.dcb-jalali-weekdays {
  margin-bottom: 8px;
}
.dcb-jalali-weekdays span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}
.dcb-jalali-day {
  min-height: 38px;
  border-radius: 10px;
  cursor: pointer;
}
.dcb-jalali-day.is-today {
  border-color: rgba(60,173,213,0.55);
}
.dcb-jalali-day.is-selected {
  background: var(--dcb-primary);
  border-color: var(--dcb-primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(60,173,213,0.22);
}
.dcb-jalali-day.is-empty {
  min-height: 38px;
  border: none;
  background: transparent;
}
.dcb-jalali-footer {
  margin-top: 12px;
}
.dcb-jalali-footer-btn {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  cursor: pointer;
}
.dcb-jalali-footer-btn.ghost {
  background: #f8fafc;
}

.dcb-cta-area {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dcb-btn {
  border: none;
  border-radius: 12px;
  padding: 13px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-size: 15px;
}
.dcb-btn.primary {
  background: var(--dcb-primary);
  color: #fff;
  box-shadow: 0 14px 32px rgba(60,173,213,0.3);
}
.dcb-btn.primary:hover { background: #359bc0; }
.dcb-btn.primary:active { transform: translateY(1px); }

.dcb-link.subtle {
  border: none;
  background: transparent;
  color: var(--dcb-dark);
  text-decoration: underline;
  font-weight: 700;
  cursor: pointer;
  align-self: center;
}

.dcb-filter-chip {
  background: #e9f4fb;
  border: 1px solid #cde6f3;
  color: var(--dcb-dark);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  box-shadow: 0 8px 20px rgba(60,173,213,0.15);
}
.dcb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dcb-primary);
  display: inline-flex;
}

.dcb-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.dcb-summary-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--dcb-soft-shadow);
}
.dcb-summary-title { font-weight: 800; font-size: 16px; color: var(--dcb-dark); }
.dcb-summary-sub { color: var(--dcb-grey); font-size: 13px; margin-top: 2px; }
.dcb-summary-actions { display: flex; gap: 10px; }

.dcb-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.dcb-chip {
  border: 1px solid #ededed;
  background: #fff;
  color: var(--dcb-dark);
  padding: 8px 12px;
  border-radius: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.dcb-chip.is-active {
  background: #111;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}
.dcb-chip:hover { transform: translateY(-1px); }

.dcb-car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 14px;
}
.dcb-car-card {
  background: linear-gradient(145deg, #1f84a8 0%, #3cadd5 55%, #3cadd5 100%);
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  position: relative;
  box-shadow: var(--dcb-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 360px;
}
.dcb-car-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.dcb-car-header { padding: 16px 16px 4px; }
.dcb-car-title { font-size: 18px; font-weight: 800; }
.dcb-car-sub { font-size: 13px; color: #e1e1e1; margin-top: 2px; }
.dcb-car-badges { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 16px; }
.dcb-badge {
  padding: 6px 10px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dcb-badge.orange { background: #fff7e2; color: #b47300; }
.dcb-badge.dark { background: var(--dcb-primary); color: #fff; }
.dcb-badge.grey { background: #eef7fb; color: var(--dcb-dark); }
.dcb-badge.ramadan {
  padding: 4px 8px 4px 9px;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(164, 136, 78, 0.30);
  background: linear-gradient(135deg, rgba(248, 241, 222, 0.96), rgba(229, 214, 179, 0.94));
  color: #4a3919;
  box-shadow: 0 6px 16px rgba(23, 17, 8, 0.12);
}
.dcb-badge.ramadan .dcb-badge-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}
.dcb-badge.ramadan .dcb-badge-value {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.dcb-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dcb-brand-badge-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2px;
}

.dcb-car-image-wrap {
  position: relative;
  padding: 14px 12px 8px;
}
.dcb-car-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,0.35));
}
.dcb-spec-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  padding: 8px 16px 6px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.dcb-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.dcb-spec-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.82);
}
.dcb-spec-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}
.dcb-spec-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.dcb-spec-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.72);
}
.dcb-spec-value {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dcb-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 16px;
  gap: 10px;
}
.dcb-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dcb-base-price {
  text-decoration: line-through;
  color: rgba(255,255,255,0.75) !important;
  font-weight: 700;
}
.dcb-price strong { font-size: 20px; color: #fff; }
.dcb-price span { font-size: 12px; color: #000; }
.dcb-deposit-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin-top: 2px;
  background: transparent;
  color: #111;
  border-radius: 0;
  border: 0;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}
.dcb-btn.ghost {
  background: #fff;
  color: var(--dcb-dark);
  min-width: 120px;
}
.dcb-btn.ghost:hover { background: #f6f6f6; }

.dcb-loading {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--dcb-soft-shadow);
  font-weight: 700;
  color: var(--dcb-grey);
}

.dcb-config-head {
  display: flex;
  justify-content: flex-start;
}
.dcb-link.back {
  border: none;
  background: transparent;
  color: var(--dcb-dark);
  font-weight: 800;
  cursor: pointer;
}

.dcb-config-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.dcb-config-left, .dcb-config-right {
  background: var(--dcb-bg);
  border-radius: 18px;
  padding: 0;
}
.dcb-config-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dcb-config-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dcb-config-left .dcb-contact-group,
.dcb-config-right .dcb-contact-group {
  margin-top: 0;
}
.dcb-hero-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--dcb-shadow);
}
.dcb-hero-title { font-weight: 800; font-size: 20px; text-align: center; }
.dcb-hero-sub { color: var(--dcb-grey); text-align: center; font-weight: 700; margin-top: 2px; }
.dcb-hero-image {
  margin-top: 12px;
  position: relative;
  background: radial-gradient(circle at 50% 60%, #dce1e5 0%, #b7c1c8 42%, #b7c1c8 100%);
  border-radius: 16px;
  padding: 16px;
}
.dcb-hero-image img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,0.25));
}
.dcb-hero-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 10px 14px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  background: rgba(0,0,0,0.25);
  letter-spacing: 0.6px;
}
.dcb-hero-ribbon.is-ramadan {
  border-color: #0f5132;
  background: rgba(15, 81, 50, 0.9);
}
.dcb-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.dcb-hero-meta .dcb-badge { color: #111; background: #f1f1f1; }
.dcb-hero-meta .dcb-badge.ramadan {
  color: #4a3919;
  background: linear-gradient(135deg, rgba(248, 241, 222, 0.98), rgba(229, 214, 179, 0.96));
  border: 1px solid rgba(164, 136, 78, 0.30);
}
.dcb-hero-foot {
  margin-top: 10px;
  color: var(--dcb-grey);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dcb-config-right .dcb-option-group,
.dcb-contact-group {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--dcb-soft-shadow);
}
.dcb-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.dcb-option-group + .dcb-option-group { margin-top: 12px; }
.dcb-group-title { font-weight: 800; margin-bottom: 10px; }

.dcb-radio-card {
  border: 1.5px solid #e6e6e6;
  border-radius: 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.dcb-radio-card + .dcb-radio-card { margin-top: 10px; }
.dcb-radio-card:hover { transform: translateY(-1px); }
.dcb-radio-card.is-active {
  border-color: var(--dcb-primary);
  box-shadow: 0 16px 32px rgba(60,173,213,0.18);
}
.dcb-radio-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #bfbfbf;
  position: relative;
}
.dcb-radio-card.is-active .dcb-radio-mark {
  border-color: var(--dcb-primary);
}
.dcb-radio-card.is-active .dcb-radio-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--dcb-primary);
  border-radius: 50%;
}
.dcb-radio-title { font-weight: 800; font-size: 14px; }
.dcb-radio-sub { color: var(--dcb-grey); font-size: 12px; }
.dcb-pill {
  padding: 6px 10px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}
.dcb-pill.solid {
  background: var(--dcb-primary);
  color: #fff;
}
.dcb-pill.outline {
  background: #fff7e2;
  color: #b47300;
  border: 1px solid #ffd9c2;
}

.dcb-contact-group { margin-top: 12px; }
.dcb-driver-group {
  padding: 14px;
}
.dcb-group-subtitle {
  color: var(--dcb-grey);
  font-size: 13px;
  margin: -2px 0 10px;
}
.dcb-field-inline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.dcb-phone-field {
  min-width: 0;
}
.dcb-field-inline input,
.dcb-field-inline select,
.dcb-contact-group textarea {
  width: 100%;
  border: 1px solid #d5e6ef;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dcb-dark);
  background: #fdfefe;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.dcb-field-inline input::placeholder,
.dcb-contact-group textarea::placeholder {
  color: #8aa0ad;
  font-weight: 500;
}
.dcb-field-inline input:focus,
.dcb-field-inline select:focus,
.dcb-contact-group textarea:focus {
  border-color: var(--dcb-primary);
  box-shadow: 0 0 0 3px rgba(60,173,213,0.15);
}
.dcb-field-inline select {
  appearance: none;
  background: #fff;
  color: var(--dcb-dark);
}
.dcb-contact-group textarea {
  resize: vertical;
  min-height: 74px;
}
.dcb-driver-group .dcb-field-inline {
  gap: 12px;
}
.dcb-driver-group .dcb-phone-field .iti {
  width: 100%;
  display: block;
}
.dcb-driver-group .dcb-phone-field .iti--separate-dial-code {
  width: 100%;
}
.dcb-driver-group .dcb-phone-field .iti__selected-country {
  border-right: 1px solid #d5e6ef;
  border-radius: 14px 0 0 14px;
  background: #f5fafc;
  padding-left: 12px;
  padding-right: 10px;
}
.dcb-driver-group .dcb-phone-field .iti--separate-dial-code .iti__tel-input {
  padding-left: 108px;
}
.dcb-driver-group .dcb-phone-field .iti__country-list {
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(15, 43, 57, 0.16);
  border: 1px solid #d6e7ef;
}
.dcb-driver-group .dcb-phone-field .iti__search-input {
  border-radius: 12px;
  border: 1px solid #d5e6ef;
  padding: 10px 12px;
}
.dcb-addon-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.dcb-addon-card {
  display: grid;
  grid-template-columns: auto 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid #d9edf7;
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f9fc 100%);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.dcb-addon-card:hover {
  border-color: #9fd3e6;
  box-shadow: 0 14px 28px rgba(60,173,213,0.10);
  transform: translateY(-1px);
}
.dcb-addon-card input {
  width: 18px;
  height: 18px;
  margin: 0;
}
.dcb-addon-media {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  background: #e8f6fc;
}
.dcb-addon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dcb-addon-image--placeholder {
  font-size: 24px;
  font-weight: 800;
  color: var(--dcb-primary);
}
.dcb-addon-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dcb-addon-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--dcb-dark);
}
.dcb-addon-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--dcb-primary);
}
.dcb-addon-empty {
  border: 1px dashed #cde6f3;
  border-radius: 14px;
  padding: 14px;
  color: var(--dcb-grey);
  background: #fbfdff;
}
.dcb-transfer-group {
  gap: 12px;
}
.dcb-transfer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.dcb-transfer-select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d9edf7;
  border-radius: 14px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dcb-dark);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}
.dcb-transfer-select:focus {
  outline: none;
  border-color: #3cadd5;
  box-shadow: 0 0 0 3px rgba(60,173,213,0.14);
}
.dcb-transfer-note {
  font-size: 13px;
  font-weight: 700;
  color: #245e77;
}
.dcb-transfer-info-panel {
  border: 1px solid #d9edf7;
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f9fc 100%);
}
.dcb-transfer-info-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--dcb-dark);
  margin-bottom: 10px;
}
.dcb-transfer-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.dcb-transfer-info-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #385564;
}
.dcb-transfer-info-list strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--dcb-primary);
  white-space: nowrap;
}
.dcb-legal-list {
  display: grid;
  gap: 10px;
}
.dcb-legal-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid #d9edf7;
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f9fc 100%);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.dcb-legal-check:hover {
  border-color: #9fd3e6;
  box-shadow: 0 12px 24px rgba(60,173,213,0.08);
}
.dcb-legal-check.is-invalid {
  border-color: #d34f4f;
  box-shadow: 0 0 0 3px rgba(211,79,79,0.12);
}
.dcb-legal-checkbox {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}
.dcb-legal-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: var(--dcb-dark);
  font-size: 13px;
  line-height: 1.55;
}
.dcb-legal-text {
  font-weight: 600;
}
.dcb-legal-link,
.dcb-legal-link-text {
  font-weight: 800;
  color: var(--dcb-primary);
}
.dcb-legal-link {
  text-decoration: none;
}
.dcb-legal-link:hover,
.dcb-legal-link:focus {
  text-decoration: underline;
}
.dcb-availability-status {
  display: none;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 11px 13px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
}
.dcb-availability-status.is-visible {
  display: flex;
}
.dcb-availability-status.is-checking {
  background: #eef7fc;
  border: 1px solid #cde6f3;
  color: #21536a;
}
.dcb-availability-status.is-available {
  background: #eaf8ef;
  border: 1px solid #bfe7c9;
  color: #1d6b36;
}
.dcb-availability-status.is-unavailable,
.dcb-availability-status.is-error {
  background: #fff2f2;
  border: 1px solid #f0c2c2;
  color: #a12b2b;
}

.dcb-price-footer {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 12px;
  box-shadow: var(--dcb-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.dcb-price-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dcb-price-main {
  font-size: 20px;
  font-weight: 900;
  color: var(--dcb-primary);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.dcb-price-strike {
  text-decoration: line-through;
  font-size: 13px;
  color: #9aa6b2;
  font-weight: 700;
  margin-right: 4px;
}
.dcb-price-sub { color: var(--dcb-grey); font-weight: 700; font-size: 13px; }
.dcb-addons-total { color: #3b6475; }
.dcb-transfer-total { color: #2c6880; }
.dcb-vat-total { color: #31586a; }
.dcb-total-with-vat {
  color: var(--dcb-dark);
  font-weight: 900;
}
.dcb-suffix { color: #c0c0c0; font-size: 12px; font-weight: 800; }
.dcb-deposit-note {
  color: #0f1a23;
  background: #e8f6fc;
  border: 1px solid #cde6f3;
  border-radius: 10px;
  padding: 6px 8px;
  font-weight: 800;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  white-space: nowrap;
}

.dcb-success {
  margin-top: 10px;
  background: #e6ffed;
  color: #0f5132;
  border: 1px solid #b6f4c2;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  display: none;
}
.dcb-success.is-visible { display: block; }

.dcb-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 2147483640 !important; /* keep above any theme overlays */
}
.dcb-sheet-backdrop.is-open { display: flex; }
.dcb-sheet {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -16px 40px rgba(0,0,0,0.25);
  padding: 14px 14px 20px;
  transform: translateY(100%);
  animation: dcbSheet 320ms ease forwards;
  position: relative;
  z-index: 2147483641 !important;
}
.dcb-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dcb-sheet-title {
  font-weight: 800;
  font-size: 16px;
}
.dcb-sheet-search {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cde6f3;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f4f7fa;
}
.dcb-sheet-search input {
  border: none;
  outline: none;
  flex: 1;
  background: transparent;
}
.dcb-sheet-map-block {
  margin-top: 12px;
  border: 1px solid #cde6f3;
  border-radius: 16px;
  padding: 12px;
  background: #f7fbfe;
  box-shadow: var(--dcb-soft-shadow);
}
.dcb-map-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.dcb-map-title { font-weight: 800; }
.dcb-map-sub { color: var(--dcb-grey); font-size: 12px; }
.dcb-map {
  position: relative;
  height: 240px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 20%, #e9f4ff, #d1e7ff 40%, #f8f8f8), linear-gradient(135deg, #fefefe, #eef6ff);
  border: 1px solid #cde6f3;
  overflow: hidden;
}
.dcb-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(transparent 95%, rgba(0,0,0,0.05) 95%), linear-gradient(90deg, transparent 95%, rgba(0,0,0,0.05) 95%);
  background-size: 40px 40px;
  opacity: .4;
  pointer-events: none;
}
.dcb-map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  border: none;
  background: #fff;
  color: var(--dcb-dark);
  padding: 6px 10px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.16);
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.dcb-map-pin .dcb-pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dcb-primary);
  box-shadow: 0 0 0 6px rgba(60,173,213,0.18);
}
.dcb-map-pin:hover { transform: translate(-50%, -50%) scale(1.03); }
.dcb-map-pin.is-active { background: var(--dcb-primary); color: #fff; }
.dcb-map-focus {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--dcb-primary);
  box-shadow: 0 0 0 10px rgba(60,173,213,0.12);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease, left .2s ease, top .2s ease;
}
.dcb-map-focus.is-visible { opacity: 1; }
.dcb-map-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dcb-grey);
  font-weight: 700;
  background: rgba(255,255,255,0.7);
  text-align: center;
}
.dcb-map-hint {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 8px 10px;
  background: rgba(17,17,17,0.82);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.dcb-map-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}
.dcb-map-field { display: flex; flex-direction: column; gap: 6px; }
.dcb-map-field input {
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8);
}
.dcb-sheet-group { margin-top: 12px; }
.dcb-sheet-subtitle { font-weight: 800; margin-bottom: 8px; }
.dcb-sheet-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 320px;
  overflow-y: auto;
}
.dcb-station {
  width: 100%;
  text-align: left;
  border: none;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.dcb-station:hover { background: #f6f6f6; transform: translateY(-1px); }
.dcb-station-name { font-weight: 800; font-size: 14px; }
.dcb-station-sub { color: var(--dcb-grey); font-size: 12px; }
.dcb-info-dot {
  width: 24px;
  height: 24px;
  border-radius: 10px;
  background: #f0f0f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.dcb-toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dcb-dark);
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 18px 32px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 99999;
}
.dcb-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -6px);
}

@media (min-width: 768px) {
  .dcb-date-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dcb-field-inline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dcb-driver-group .dcb-field-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dcb-driver-group textarea { grid-column: 1 / -1; }
  .dcb-spec-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dcb-map-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dcb-addon-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .dcb-date-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .dcb-jalali-picker {
    inset-inline-start: 50%;
    width: min(320px, calc(100vw - 32px));
    transform: translateX(-50%);
  }
  .dcb-addon-card {
    grid-template-columns: auto 56px minmax(0, 1fr);
    gap: 10px;
  }
  .dcb-addon-media {
    width: 56px;
    height: 56px;
  }
  .dcb-driver-group .dcb-phone-field .iti--separate-dial-code .iti__tel-input {
    padding-left: 102px;
  }
  .dcb-sheet { padding: 12px; }
  .dcb-sheet-map-block { margin: 8px -4px 0; padding: 12px; }
  .dcb-map { height: 220px; }
  .dcb-map-fields { gap: 8px; }
  .dcb-map-field input { font-size: 14px; }
}

@media (min-width: 1024px) {
  .dcb-shell { gap: 26px; }
  .dcb-search-card { padding: 22px; }
  .dcb-config-layout { grid-template-columns: 1.1fr 1fr; }
}

@keyframes dcbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes dcbSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dcbSlideLeft {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes dcbSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Lock body scroll when sheet is open */
body.dcb-sheet-open {
  overflow: hidden;
}
