/* ===================================================
   dat-lich.css — CSS cho Form Đặt Lịch Giao Hàng
   =================================================== */

* {
  box-sizing: border-box;
}

.booking-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  overflow-x: hidden;
}

/* --- Step Indicator --- */
.step-indicator {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 60%;
  width: 80%;
  height: 2px;
  background: #e2e8f0;
  z-index: 0;
}

.step-item.completed::after {
  background: #16a34a;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #94a3b8;
  z-index: 1;
  position: relative;
}

.step-item.active .step-circle {
  background: #0a2a66;
  color: #fff;
  box-shadow: 0 0 10px rgba(10, 42, 102, 0.3);
}
.step-item.completed .step-circle {
  background: #16a34a;
  color: #fff;
}

.step-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 6px;
  text-align: center;
}

.step-item.active .step-label {
  color: #0a2a66;
}
.step-item.completed .step-label {
  color: #16a34a;
}

/* --- Booking Card --- */
.booking-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  display: none;
  margin-bottom: 24px;
}
.booking-card.active {
  display: block;
}

.eta-panel {
  background: #f0f9ff;
  border-radius: 10px;
  border: 1.5px solid #bae6fd;
  padding: 18px;
  margin-bottom: 20px;
}

.eta-panel.is-hidden {
  display: none;
}

.is-hidden {
  display: none !important;
}

.delivery-mode-panel {
  margin-bottom: 20px;
  padding: 18px 20px;
  border: 1.5px solid #dbe7ff;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}

.delivery-mode-panel__head h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: #0a2a66;
}

.delivery-mode-panel__head p {
  margin: 0 0 14px;
  font-size: 13px;
  color: #52627f;
  line-height: 1.6;
}

.delivery-mode-group .option-btn {
  justify-content: center;
}

.instant-flow {
  margin: 18px 0 20px;
  padding: 20px;
  border-radius: 14px;
  border: 1.5px solid #fed7aa;
  background: linear-gradient(145deg, #fff7ed 0%, #fffbeb 100%);
}

.instant-flow__hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.instant-flow__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: #c2410c;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.instant-flow__hero h3 {
  margin: 10px 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #7c2d12;
}

.instant-flow__hero p {
  margin: 0;
  font-size: 13px;
  color: #7c4a2a;
  line-height: 1.6;
}

.instant-flow__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #fdba74;
  color: #c2410c;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.08);
}

.instant-flow__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.instant-flow__metric {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #fed7aa;
}

.instant-flow__label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #9a3412;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.instant-flow__metric strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #7c2d12;
}

.instant-flow__metric small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #8c5a33;
}

.weather-surcharge-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.weather-surcharge-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}

.weather-surcharge-badge.is-warning {
  background: #fff7ed;
  color: #c2410c;
}

.weather-surcharge-badge.is-danger {
  background: #fef2f2;
  color: #b91c1c;
}

.weather-surcharge-badge.is-muted {
  background: #f1f5f9;
  color: #64748b;
}

.weather-surcharge-meta {
  font-size: 12px;
  color: #52627f;
  line-height: 1.5;
}

.service-mode-summary {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #dbe7ff;
  background: #f8fbff;
}

.service-mode-summary strong {
  display: block;
  margin-bottom: 4px;
  color: #0a2a66;
  font-size: 14px;
}

.service-mode-summary span {
  color: #52627f;
  font-size: 13px;
  line-height: 1.6;
}

/* --- Error Styling --- */
.step-error {
  display: none;
  background: #fff1f2;
  color: #be123c;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #fecdd3;
  animation: slideIn 0.3s ease-out;
}
.step-error i {
  margin-right: 8px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  color: #0a2a66;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.02em;
}

/* --- Form --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}

.label-with-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.label-with-help label {
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.form-group label .info-toggle {
  margin-left: 6px;
  vertical-align: middle;
}

.section-shell {
  background: #f8fafc;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  padding: 20px;
}

.items-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 2px solid #e2e8f0;
}

.item-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 10px;
}

.item-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.item-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  color: #1e293b;
  transition: all 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: #0a2a66;
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* --- Contact boxes --- */
.contact-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
}

.contact-box.sender {
  border-top: 4px solid #0a2a66;
}
.contact-box.receiver {
  border-top: 4px solid #ff7a00;
}

.contact-box-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-box.sender .contact-box-title {
  color: #0a2a66;
}
.contact-box.receiver .contact-box-title {
  color: #ff7a00;
}

/* --- Address search --- */
.address-search-wrap {
  position: relative;
  margin-bottom: 20px;
}

.address-search-label {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  display: block;
}

.address-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 99px;
  margin-right: 4px;
  margin-bottom: 4px;
  font-weight: 600;
}

.tag-pickup {
  background: #eef2ff;
  color: #0a2a66;
}
.tag-delivery {
  background: #fff7ed;
  color: #ff7a00;
}

.suggestions-box {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  max-height: 240px;
  overflow-y: auto;
  display: none;
  margin-top: 4px;
}

.suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 13px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.suggestion-item:hover {
  background: #f0f9ff;
}
.suggestion-item .s-main {
  font-weight: 700;
  color: #1e293b;
}
.suggestion-item .s-sub {
  font-size: 11px;
  color: #64748b;
}

/* --- Map --- */
#ban_do_giao_hang {
  height: 380px;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  margin-bottom: 12px;
  z-index: 1;
}

.map-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.map-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.map-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.map-legend__dot--pickup {
  background: #2563eb;
}

.map-legend__dot--delivery {
  background: #dc2626;
}

.map-marker-tooltip {
  border: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  border-radius: 999px;
  padding: 0;
  background: transparent;
}

.map-marker-tooltip::before {
  display: none;
}

.map-marker-tooltip div {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.map-marker-tooltip--pickup div {
  background: #2563eb;
}

.map-marker-tooltip--delivery div {
  background: #dc2626;
}

.distance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  color: #16a34a;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 14px;
}

/* --- Item rows --- */
.items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.items-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  margin: 0;
}

.item-row {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
  position: relative;
}

.item-row-num {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 10px;
}

.item-delete-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fee2e2;
  border: none;
  color: #ef4444;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-toggle {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: top;
}

.info-toggle summary {
  list-style: none;
}

.info-toggle summary::-webkit-details-marker {
  display: none;
}

.info-toggle__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #0a2a66;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

.info-toggle[open] .info-toggle__button {
  background: #0a2a66;
  border-color: #0a2a66;
  color: #fff;
}

.info-toggle__content {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(280px, calc(100vw - 24px));
  padding: 10px 12px;
  border-radius: 10px;
  background: #0f172a;
  color: #f8fafc;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.24);
  z-index: 1000;
}

.field-help .info-toggle__content {
  left: 0;
  right: auto;
  transform: none;
}

.label-with-help .info-toggle__content,
.panel-heading .info-toggle__content,
.service-note-help .info-toggle__content {
  left: auto;
  right: 0;
  transform: none;
}

.breakdown-label-with-help {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  flex-wrap: wrap;
}

/* --- Service cards --- */
.service-card {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.service-card:hover {
  border-color: #93c5fd;
  background: #f0f9ff;
}
.service-card.selected {
  border-color: #0a2a66;
  background: #f8fafc;
  box-shadow: 0 0 0 2px #0a2a66 inset;
}

.service-card.is-disabled {
  cursor: not-allowed;
  border-style: dashed;
  border-color: #d7deea;
  background: #f8fafc;
  opacity: 0.72;
}

.service-card.is-disabled:hover {
  border-color: #d7deea;
  background: #f8fafc;
}

.service-deadline-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.service-deadline-badge.good {
  background: #ecfdf5;
  color: #15803d;
}

.service-deadline-badge.warn {
  background: #fff7ed;
  color: #c2410c;
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-name {
  font-size: 17px;
  font-weight: 700;
  color: #0a2a66;
}
.service-price {
  font-size: 20px;
  font-weight: 800;
  color: #ff7a00;
}
.service-eta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #64748b;
  margin-top: 6px;
}

.service-card-meta {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.service-breakdown {
  font-size: 12px;
  color: #64748b;
  margin-top: 10px;
  display: none;
}
.service-card.selected .service-breakdown {
  display: block;
}

.service-card-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #52627f;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.breakdown-row:last-child {
  border: none;
  font-weight: 700;
  color: #0a2a66;
  font-size: 13px;
  margin-top: 6px;
}

/* --- Buttons --- */
.btn-row {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 28px;
}

.btn-next {
  background: #0a2a66;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-next:hover {
  background: #1e3a8a;
}
.btn-next.orange {
  background: #ff7a00;
}
.btn-next.orange:hover {
  background: #e66a00;
}
.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-prev {
  background: #f1f5f9;
  color: #334155;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.btn-prev:hover {
  background: #e2e8f0;
}

.btn-add {
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Upload --- */
.upload-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.upload-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  padding: 36px 20px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: 0.2s;
  margin-bottom: 0;
  min-width: 0;
}
.upload-zone:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

#xem_truoc_anh_hang_hoa,
#xem_truoc_video_hang_hoa {
  max-width: 100%;
  max-height: 200px;
  margin-top: 14px;
  border-radius: 8px;
  display: none;
}

.upload-meta {
  margin-top: 12px;
  font-size: 12px;
  color: #64748b;
}

.vehicle-choice-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #dbeafe;
}

.vehicle-choice-panel h3 {
  margin: 0 0 8px;
  color: #0a2a66;
  font-size: 15px;
  font-weight: 700;
}

.vehicle-choice-panel p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
}

.vehicle-choice-panel--compact p,
.panel-summary {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  min-width: 0;
}

.panel-heading h3 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

#bang_phu_phi_thoi_tiet .panel-summary,
#bang_phu_phi_thoi_tiet .weather-surcharge-meta {
  display: none;
}

/* --- Payment / Payer options --- */
.option-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.option-btn {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: #475569;
  background: #fff;
  transition: 0.2s;
  min-width: 140px;
}

.option-btn.active {
  border-color: #0a2a66;
  background: #f8fafc;
  color: #0a2a66;
  box-shadow: 0 0 0 1px #0a2a66 inset;
}
.option-btn i {
  display: block;
  font-size: 22px;
  margin-bottom: 6px;
}

.choice-section {
  margin-top: 18px;
}

.choice-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #334155;
  margin: 0 0 12px;
}

.option-group--compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 0;
}

.option-group--compact .option-btn {
  min-width: 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
}

.option-group--compact .option-btn i {
  display: inline-block;
  margin: 0;
  font-size: 15px;
}

/* --- Review / Summary --- */
.review-section {
  background: #f8fafc;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 16px;
}

.review-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0a2a66;
  margin: 0 0 10px;
}

#xac_nhan_chi_tiet_gia .rv-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

#xac_nhan_chi_tiet_gia .rv-label {
  min-width: 0;
}

#xac_nhan_chi_tiet_gia .rv-val {
  text-align: right;
  white-space: nowrap;
}

.rv-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
  border-bottom: 1px solid #f1f5f9;
}

.rv-label {
  color: #64748b;
}
.rv-val {
  font-weight: 600;
  color: #1e293b;
  text-align: right;
}

.rv-total-row {
  background: #0a2a66;
  color: #fff;
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

.review-upload-empty {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.review-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.review-upload-card {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #dbe4f2;
  background: #fff;
}

.review-upload-thumb {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #0f172a;
}

.review-upload-meta {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
}

.review-upload-meta strong {
  color: #0a2a66;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.review-upload-meta span {
  color: #64748b;
  font-size: 12px;
}

.quote-loading {
  text-align: center;
  color: #64748b;
  padding: 30px;
  font-size: 15px;
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .booking-container {
    padding: 12px 4px 36px;
  }

  .step-indicator {
    padding: 12px 10px;
    margin-bottom: 12px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }
  .schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .item-grid-2,
  .item-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .booking-card {
    padding: 12px 10px;
    margin-bottom: 12px;
    border-radius: 12px;
  }
  .card-title {
    font-size: 20px;
    gap: 8px;
    margin-bottom: 14px;
    line-height: 1.3;
  }
  .form-group {
    margin-bottom: 10px;
  }
  .contact-box,
  .section-shell,
  .item-row,
  .service-card,
  .vehicle-choice-panel,
  .eta-panel,
  .review-section,
  .upload-zone {
    padding: 12px;
  }
  .step-label {
    display: none;
  }
  .section-shell--items {
    background: transparent;
    border: none;
    padding: 0;
  }
  .address-search-wrap {
    margin-bottom: 10px;
  }
  #ban_do_giao_hang {
    height: 300px;
    border-width: 1px;
    margin-bottom: 8px;
  }
  .map-legend {
    gap: 8px;
    margin-bottom: 8px;
  }
  .map-legend__item {
    padding: 6px 10px;
    font-size: 11px;
  }
  .distance-badge {
    padding: 6px 12px;
    font-size: 12px;
  }
  .items-header {
    margin-bottom: 10px;
    gap: 8px;
    align-items: flex-start;
  }
  .items-summary {
    padding-top: 8px;
    border-top-width: 1px;
  }
  .upload-split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
    align-items: stretch;
  }
  .upload-zone {
    padding: 18px 10px;
    min-height: 100%;
  }
  .upload-zone > i {
    font-size: 26px !important;
  }
  .upload-zone p {
    margin-top: 6px !important;
    font-size: 13px;
    line-height: 1.45;
  }
  #xem_truoc_anh_hang_hoa,
  #xem_truoc_video_hang_hoa {
    max-height: 120px;
    margin-top: 10px;
  }
  .upload-meta {
    font-size: 11px;
    line-height: 1.4;
  }
  .instant-flow__hero,
  .instant-flow__grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  .instant-flow__status {
    min-width: 0;
  }
  .service-card-top,
  .rv-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  #xac_nhan_chi_tiet_gia .rv-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
  }
  .service-card {
    border-width: 1px;
    margin-bottom: 8px;
  }
  .service-card-meta {
    gap: 6px;
    margin-top: 4px;
  }
  .service-name {
    font-size: 15px;
  }
  .service-price {
    font-size: 18px;
  }
  .service-eta {
    margin-top: 0;
    font-size: 12px;
  }
  .service-card-note {
    margin-top: 6px;
  }
  .breakdown-row {
    padding: 2px 0;
  }
  .vehicle-choice-panel {
    margin-top: 12px;
  }
  .panel-heading {
    gap: 8px;
  }
  .label-with-help,
  .panel-heading,
  .breakdown-label-with-help,
  .service-card-note {
    align-items: flex-start;
  }
  .label-with-help,
  .breakdown-label-with-help {
    flex-wrap: wrap;
  }
  .label-with-help .info-toggle,
  .panel-heading .info-toggle,
  .breakdown-label-with-help .info-toggle,
  .service-card-note .info-toggle {
    margin-top: 1px;
  }
  .weather-surcharge-summary {
    gap: 8px;
  }
  .weather-surcharge-badge,
  .weather-surcharge-meta {
    font-size: 11px;
  }
  .choice-section {
    margin-top: 12px;
  }
  .choice-title {
    margin-bottom: 10px;
  }
  .option-group--compact {
    gap: 8px;
  }
  .option-group--compact .option-btn {
    padding: 8px 10px;
    font-size: 12px;
  }
  .option-group--compact .option-btn i {
    font-size: 13px;
  }
  .btn-row {
    gap: 8px;
    margin-top: 16px;
  }
  .btn-next,
  .btn-prev {
    padding: 10px 14px;
    font-size: 14px;
  }
  .rv-val {
    text-align: left;
  }
  #xac_nhan_chi_tiet_gia .rv-val {
    text-align: right;
  }
  .rv-total-row {
    padding: 12px 14px;
    font-size: 15px;
  }
  .review-upload-grid {
    grid-template-columns: 1fr;
  }
  .review-upload-thumb {
    height: 160px;
  }
  .info-toggle__content {
    position: absolute;
    top: calc(100% + 8px);
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(220px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    z-index: 1200;
  }
  .info-toggle[data-mobile-align="left"] .info-toggle__content {
    left: 0;
    right: auto;
    transform: none;
  }
  .info-toggle[data-mobile-align="right"] .info-toggle__content {
    left: auto;
    right: 0;
    transform: none;
  }
  .info-toggle[data-mobile-align="center"] .info-toggle__content {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}
