.reservation-section {
  width: 100%;
  background: transparent;
  color: var(--text-color);
  position: relative;
  transition: background-image 0.5s ease;
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-main-view.has-interior-background {
  position: relative;
  background-color: transparent;
  border-radius: 10px;
  height: 100%;
  overflow: hidden;
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-main-view.has-interior-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: opacity 0.5s ease, background-image 0.5s ease;
  pointer-events: none;
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-main-view.has-interior-background>* {
  position: relative;
  z-index: 1;
}

.reservation-section.has-interior-background .rcs-container {
  position: relative;
  z-index: 1;
}

.reservation-section .rcs-container {
  max-width: 1800px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 45px;
}

.reservation-section .rcs-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.reservation-section .rcs-nav-logo-car {
  width: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--gradient-blue-2);
  padding: 5px 10px 5px 20px;
  border-radius: 50px;
}

.reservation-section .rcs-nav-logo-car span {
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.reservation-section .rcs-nav-logo-car img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.reservation-section .rcs-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reservation-section .rcs-nav ul li {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border-radius: 50px;
  border: 1px solid transparent;
  background: transparent;
  color: #d6d6d6;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reservation-section .rcs-nav ul li:hover:not([disabled]):not(.active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.reservation-section .rcs-nav ul li.confirm {
  cursor: pointer;
  color: #fff;
}

.reservation-section .rcs-nav ul li.complete:not(.active) {
  background: transparent;
  color: white;
  font-weight: 600;
}

.reservation-section .rcs-nav ul li.active {
  background: var(--blue-accent);
  border: 1px solid var(--blue-accent);
  color: #fff;
  font-weight: 600;
}

/* content car */
.reservation-section .rcs-content-car {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 25px;
  padding: 20px 0;
}

.reservation-section .rcs-content-car-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.reservation-section .rcs-content-car-details {
  width: 100%;
  justify-content: space-between;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: fit-content;
}

.reservation-section .rcs-content-car-details .info-car {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.reservation-section .rcs-content-car-details .info-car .model-car {
  font-size: 50px;
  font-weight: 400;
  color: #fff;
  line-height: normal;
}

.reservation-section .rcs-content-car-details .view-car {
  display: flex;
  gap: 10px;
  align-items: center;
}

.reservation-section .rcs-content-car-details .view-switch {
  position: relative;
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 4px;
  gap: 0;
  overflow: hidden;
}

.reservation-section .rcs-content-car-details .view-switch button {
  position: relative;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  white-space: nowrap;
}

.reservation-section .rcs-content-car-details .view-switch button:hover {
  color: var(--blue-accent-light);
}

.reservation-section .rcs-content-car-details .view-switch .switch-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--gradient-blue-accent);
  border-radius: 50px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.reservation-section .rcs-content-car-details .view-switch.interior-active .switch-slider {
  transform: translateX(100%);
}

.reservation-section .rcs-content-car-details .view-switch button.active {
  color: #ffffff;
  font-weight: 600;
}

.reservation-section .rcs-content-car-details .view-switch button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.55);
}

.reservation-section .rcs-content-car-details .view-switch button:disabled:hover {
  color: rgba(255, 255, 255, 0.55);
}

.reservation-section .rcs-content-car-details .info-car .year-car {
  font-size: 25px;
  font-weight: 400;
  color: #ffffff;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: var(--blue-medium-1);
  padding: 0 20px;
}

.reservation-section .rcs-content-car-selection {
  flex: 1 1 200px;
  max-width: 350px;
  min-width: 200px;
  height: fit-content;
  border-radius: 40px;
  padding: 10px 10px 20px;
  overflow: hidden;
  background: var(--gradient-blue-2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.reservation-section .rcs-content-car-selection-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 20px 20px;
}

.reservation-section .rcs-content-car-selection-top input {
  background: transparent;
  border: none;
  flex: 1;
  height: 35px;
  outline: none;
  color: white;
}

.reservation-section .rcs-content-car-selection-top input::placeholder {
  color: #e9e9e9;
}

.reservation-section .rcs-content-car-selection-top button {
  background: var(--blue-medium-1);
  width: 50px;
  height: 50px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  color: #e9e9e9;
  transition: all 0.3s ease;
}

.reservation-section .rcs-content-car-selection-top button:hover {
  background: var(--blue-accent);
}

.reservation-section .rcs-content-car-selection-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 400px;
  gap: 10px;
}

.reservation-section .rcs-content-car-selection-list-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-radius: 20px;
  background: var(--blue-medium-1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.reservation-section .rcs-content-car-selection-list-item:hover {
  background: var(--blue-medium-2);
}

.reservation-section .rcs-content-car-selection-list-item.active {
  background: #e7e7e7;
  color: #2d2d2d;
}

.reservation-section .rcs-content-car-selection-list-item.active h4 {
  color: #2d2d2d;
}

.reservation-section .rcs-content-car-selection-list-item.active p {
  color: #2d2d2d;
}

.reservation-section .rcs-content-car-selection-list-item.active .vehicle-dispatch-meta,
.reservation-section .rcs-content-car-selection-list-item.active .vehicle-dispatch-meta-muted {
  color: #1a4a8c;
}

.reservation-section .rcs-content-car-selection-list-item-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.reservation-section .rcs-content-car-selection-list-item-details h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.reservation-section .rcs-content-car-selection-list-item-details p {
  font-size: 14px;
  font-weight: 400;
  color: #e6e6e6;
}

.reservation-section .rcs-content-car-selection-list-item-image {
  width: 50px;
  height: 50px;
  padding: 5px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.reservation-section .rcs-content-car-selection-list-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reservation-section .vehicle-dispatch-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #7eb8ff;
}

.reservation-section .vehicle-dispatch-meta i {
  font-size: 11px;
  opacity: 0.9;
}

.reservation-section .vehicle-dispatch-meta-note {
  font-weight: 400;
  opacity: 0.85;
}

.reservation-section .vehicle-dispatch-meta-muted {
  color: #8fd4a8;
}

.reservation-section .rcs-vehicle-list-empty {
  margin: 10px 0 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #e0e0e0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.reservation-section .rcs-vehicle-list-empty--full {
  margin: 0;
  max-width: 520px;
}

.reservation-section .counter-note--warn {
  margin-top: 8px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #ffb4a8;
  border-radius: 6px;
}

.reservation-section.mode-light .counter-note--warn {
  color: #8b2e1a;
  background: rgba(200, 60, 40, 0.1);
}

.reservation-section .rcs-content-car-empty-fleet {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}


.reservation-section .rcs-content-car-gallery-exterior {
  width: 100%;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-shrink: 0;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  cursor: grab;
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-thumbnails:active {
  cursor: grabbing;
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-thumbnails .thumbnail-btn {
  width: 80px;
  min-height: 80px;
  border: 2px solid transparent;
  outline: none;
  border-radius: 10px;
  background: var(--blue-medium-1);
  cursor: pointer;
  padding: 5px;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-thumbnails .thumbnail-btn:hover {
  border-color: var(--blue-accent);
  background: var(--blue-medium-2);
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-thumbnails .thumbnail-btn.active {
  border-color: var(--blue-accent);

}

.reservation-section .rcs-content-car-gallery-exterior .gallery-thumbnails .thumbnail-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-main-view {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  border-radius: 20px;
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-main-view .main-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-main-view .main-image {
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-nav-btn {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--blue-medium-1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-nav-btn:hover:not(:disabled) {
  background: var(--blue-accent);
  border-color: var(--blue-accent-light);
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-nav-btn:hover:not(:disabled) {
  background: rgba(255, 215, 0, 0.2);
  border-color: #FFD700;
  transform: scale(1.1);
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-nav-btn.prev-btn {
  left: 20px;
}

.reservation-section .rcs-content-car-gallery-exterior .gallery-nav-btn.next-btn {
  right: 20px;
}

/* Light Mode Styles */
.reservation-section.mode-light {
  background: #f5f5f5;
  color: #333333;
}

.reservation-section.mode-light .rcs-nav-logo-car {
  background: #2d2d2d;
}

.reservation-section.mode-light .rcs-nav-logo-car span {
  color: #ffffff;
}

.reservation-section.mode-light .rcs-nav ul li {
  color: #666666;
}

.reservation-section.mode-light .rcs-nav ul li.confirm {
  color: #2d2d2d;
}

.reservation-section.mode-light .rcs-nav ul li.active {
  border: 1px solid #d0d0d0;
  background: #ffffff;
  color: #2d2d2d;
}

.reservation-section.mode-light .rcs-content-car-details .info-car .model-car {
  color: #2d2d2d;
}

.reservation-section.mode-light .rcs-content-car-details .info-car .year-car {
  line-height: 0;
  color: #666666;
}

.reservation-section.mode-light .rcs-content-car-details .view-car button {
  background: #e0e0e0;
  color: #333333;
}

.reservation-section.mode-light .rcs-content-car-details .view-car button.active {
  background: #2d2d2d;
  color: #ffffff;
}

.reservation-section.mode-light .rcs-content-car-selection {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .rcs-content-car-selection-top input {
  color: #2d2d2d;
}

.reservation-section.mode-light .rcs-content-car-selection-top input::placeholder {
  color: #999999;
}

.reservation-section.mode-light .rcs-content-car-selection-top button {
  background: #e0e0e0;
  color: #2d2d2d;
}

.reservation-section.mode-light .rcs-content-car-selection-list-item {
  background: #f0f0f0;
}

.reservation-section.mode-light .rcs-content-car-selection-list-item:hover {
  background: #e5e5e5;
}

.reservation-section.mode-light .rcs-content-car-selection-list-item.active {
  background: #2d2d2d;
  color: #ffffff;
}

.reservation-section.mode-light .rcs-content-car-selection-list-item.active h4 {
  color: #ffffff;
}

.reservation-section.mode-light .rcs-content-car-selection-list-item.active p {
  color: #cccccc;
}

.reservation-section.mode-light .rcs-content-car-selection-list-item.active .vehicle-dispatch-meta,
.reservation-section.mode-light .rcs-content-car-selection-list-item.active .vehicle-dispatch-meta-muted {
  color: #a8d4ff;
}

.reservation-section.mode-light .rcs-content-car-selection-list-item-details h4 {
  color: #2d2d2d;
}

.reservation-section.mode-light .rcs-content-car-selection-list-item-details p {
  color: #666666;
}

.reservation-section.mode-light .vehicle-dispatch-meta {
  color: #1a5fb4;
}

.reservation-section.mode-light .vehicle-dispatch-meta-muted {
  color: #2d7a4a;
}

.reservation-section.mode-light .rcs-vehicle-list-empty {
  color: #444444;
  background: rgba(0, 0, 0, 0.04);
}

.reservation-section.mode-light .rcs-content-car-selection-list-item-image {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}


.reservation-section.mode-light .rcs-content-car-gallery-exterior .gallery-main-view {
  background: rgba(255, 255, 255, 0.5);
}

.reservation-section.mode-light .rcs-content-car-gallery-exterior .gallery-nav-btn {
  background: rgba(240, 240, 240, 0.9);
  border: 2px solid rgba(45, 45, 45, 0.2);
  color: #2d2d2d;
}

.reservation-section.mode-light .rcs-content-car-gallery-exterior .gallery-nav-btn:hover:not(:disabled) {
  background: rgba(45, 45, 45, 0.1);
  border-color: #2d2d2d;
}

/* Footer Styles */
.reservation-section .rcs-content-footer {
  width: 100%;
  padding: 20px;
  border-radius: 50px 50px 0 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.4s ease;
}

.reservation-section.is-visible .rcs-content-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--gradient-blue-5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  border-radius: 0;
  margin: 0;
  width: 100vw;
  max-width: 100%;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  display: block;
}

/* Cuando la sección no está visible, ocultar el footer pero mantenerlo fixed */
.reservation-section:not(.is-visible) .rcs-content-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(100%);
  width: 100vw;
  max-width: 100%;
}

/* Estado completamente oculto después de la animación */
.reservation-section:not(.is-visible) .rcs-content-footer.is-hidden {
  display: none;
}

.reservation-section .rcs-content-footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1800px !important;
  margin: 0 auto !important;
  width: 100%;
  box-sizing: border-box;
  padding: 0 45px;
}


.reservation-section .rcs-content-active {
  flex: 1;
  min-width: 200px;
}

.reservation-section .rcs-content-active h4 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: normal;
}

.reservation-section .rcs-content-ctas {
  display: flex;
  gap: 15px;
  align-items: center;
}

.reservation-section .rcs-content-ctas button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.reservation-section .rcs-content-ctas button:first-child {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.reservation-section .rcs-content-ctas button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.reservation-section .rcs-content-ctas button:first-child:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.reservation-section .rcs-content-ctas button:last-child {
  background: var(--gradient-blue-accent);
  color: #ffffff;
  border: none;
  box-shadow: var(--shadow-blue);
}

.reservation-section .rcs-content-ctas button:last-child:hover {
  background: var(--gradient-blue-4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
}

.reservation-section .rcs-content-ctas button i {
  font-size: 0.9rem;
}

/* Light Mode Footer Styles */
.reservation-section.mode-light .rcs-content-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .rcs-content-active h4 {
  color: #2d2d2d;
}

.reservation-section.mode-light .rcs-content-ctas button:first-child {
  background: rgba(240, 240, 240, 0.8);
  color: #2d2d2d;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .rcs-content-ctas button:first-child:hover {
  background: rgba(230, 230, 230, 0.9);
  border-color: rgba(0, 0, 0, 0.2);
}

.reservation-section.mode-light .rcs-content-ctas button:last-child {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.reservation-section.mode-light .rcs-content-ctas button:last-child:hover {
  background: linear-gradient(135deg, #FFA500 0%, #FFD700 50%, #FFA500 100%);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .reservation-section .rcs-content-footer-container {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 5px;
  }

  .reservation-section .rcs-content-active {
    text-align: center;
    margin-bottom: 0;
  }

  .reservation-section .rcs-content-ctas {
    width: 100%;
    justify-content: stretch;
  }

  .reservation-section .rcs-content-ctas button {
    flex: 1;
    padding: 10px 20px;
  }

  /* Invoice responsive */
  .reservation-section .confirmation-invoice {
    padding: 25px 0px;
  }

  .reservation-section .invoice-header {
    flex-direction: column;
    gap: 20px;
  }

  .reservation-section .invoice-title {
    font-size: 24px;
  }

  .reservation-section .invoice-th,
  .reservation-section .invoice-label,
  .reservation-section .invoice-value {
    padding: 10px 12px;
    font-size: 13px;
  }

  .reservation-section .invoice-total-label,
  .reservation-section .invoice-total-value {
    padding: 15px 12px;
    font-size: 18px;
  }

  .reservation-section .invoice-total-value {
    font-size: 20px;
  }
}

/* Tab Content Styles */
.reservation-section .rcs-tab-content {
  width: 100%;
  min-height: 500px;
}

.reservation-section .tab-content-title {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  width: 100%;
}

/* Location Tab Styles */
.reservation-section .rcs-location-content {
  width: 100%;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.reservation-section .location-columns-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
}

.reservation-section .location-column-left {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reservation-section .location-column-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reservation-section .location-section {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.reservation-section .location-section .location-search-container:has(.location-suggestions) {
  z-index: 100;
}

.reservation-section .location-section .location-search-container input:focus {
  position: relative;
  z-index: 1;
}

.reservation-section .location-section:hover {
  border-color: rgba(74, 144, 226, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.reservation-section .location-section.location-section--awaiting-pickup {
  opacity: 0.52;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.reservation-section .location-section.location-section--awaiting-pickup:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.reservation-section .location-awaiting-pickup-hint {
  margin: -4px 0 0;
  padding: 0 4px;
  font-size: 14px;
  line-height: 1.45;
  color: #a2a2a2;
  font-weight: 500;
}

.reservation-section .location-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.reservation-section .location-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.reservation-section .location-section-title i {
  font-size: 22px;
  color: var(--blue-accent);
}

.reservation-section .location-airport-hint {
  font-size: 14px;
  color: #a2a2a2;
  margin: 0 0 14px;
  line-height: 1.45;
}

.reservation-section .airport-select-wrapper {
  width: 100%;
}

.reservation-section .airport-select-field {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath fill='%23a2a2a2' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.reservation-section .airport-select-field:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.reservation-section .airport-select-field option {
  background: #1a2a3a;
  color: #ffffff;
}

.reservation-section .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;
}

.reservation-section .location-input-wrapper {
  display: flex;
  gap: 15px;
  flex: 1;
  align-items: flex-start;
}

.reservation-section .btn-use-gps,
.reservation-section .btn-add-stop {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.reservation-section .btn-use-gps:hover,
.reservation-section .btn-add-stop:hover {
  background: rgba(74, 144, 226, 0.3);
  border-color: var(--blue-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.reservation-section .btn-use-gps i,
.reservation-section .btn-add-stop i {
  font-size: 16px;
  color: var(--blue-accent);
}

.reservation-section .location-search-container {
  position: relative;
  flex: 1;
  min-width: 0;
  z-index: 10;
  overflow: visible;
}

.reservation-section .location-search-container i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #a2a2a2;
  font-size: 16px;
  z-index: 1;
}

.reservation-section .location-search-container input {
  width: 100%;
  padding: 12px 15px 12px 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: #ffffff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.reservation-section .location-search-container input::placeholder {
  color: #a2a2a2;
}

.reservation-section .location-search-container input:focus {
  outline: none;
  border-color: var(--blue-accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.reservation-section .stop-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: visible;
  position: relative;
  z-index: 1;
}

.reservation-section .stop-item:has(.location-suggestions) {
  z-index: 50;
}

.reservation-section .stop-number {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-blue-accent);
  border-radius: 50%;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.reservation-section .btn-remove-stop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 50%;
  color: #ff6b6b;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.reservation-section .btn-remove-stop:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: #ff6b6b;
  transform: scale(1.1);
}

.reservation-section .btn-remove-stop i {
  font-size: 14px;
}

.reservation-section .location-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
}

.reservation-section .location-option-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reservation-section .location-option-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.reservation-section .location-option-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.reservation-section .location-option-btn i {
  font-size: 18px;
  color: #FFD700;
}

.reservation-section .location-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.reservation-section .location-search i {
  position: absolute;
  left: 15px;
  color: #a2a2a2;
  font-size: 16px;
}

.reservation-section .location-search input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #ffffff;
  font-size: 16px;
}

.reservation-section .location-search input::placeholder {
  color: #a2a2a2;
}

.reservation-section .location-search input:focus {
  outline: none;
  border-color: #FFD700;
  background: rgba(255, 255, 255, 0.08);
}

.reservation-section .location-suggestions {
  position: absolute !important;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 5px;
  background: rgba(45, 45, 45, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 9999 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.reservation-section .suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.reservation-section .suggestion-item.loading-item {
  cursor: default;
  justify-content: center;
  color: #a2a2a2;
  font-style: italic;
}

.reservation-section .suggestion-item.loading-item i {
  color: var(--blue-accent);
  margin-right: 8px;
}

.reservation-section .suggestion-item:last-child {
  border-bottom: none;
}

.reservation-section .suggestion-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.reservation-section .suggestion-item i {
  display: none;
}

.reservation-section .suggestion-item span {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
}

.reservation-section .suggestion-item-text {
  flex: 1;
  min-width: 0;
}

.reservation-section .suggestion-saved-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(74, 144, 226, 0.35);
  border: 1px solid rgba(74, 144, 226, 0.55);
  color: #dbeaff;
}

.reservation-section .suggestion-item--saved {
  justify-content: space-between;
}

/* Scrollbar para sugerencias */
.reservation-section .location-suggestions::-webkit-scrollbar {
  width: 6px;
}

.reservation-section .location-suggestions::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.reservation-section .location-suggestions::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.5);
  border-radius: 3px;
}

.reservation-section .location-suggestions::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.7);
}

/* Light mode para sugerencias */
.reservation-section.mode-light .location-suggestions {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .suggestion-item {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

.reservation-section.mode-light .suggestion-item:hover {
  background: rgba(240, 240, 240, 0.8);
}

.reservation-section.mode-light .suggestion-item span {
  color: #2d2d2d;
}

.reservation-section.mode-light .suggestion-saved-badge {
  background: rgba(74, 144, 226, 0.15);
  border-color: rgba(74, 144, 226, 0.45);
  color: #2a6cb8;
}

.reservation-section .map-wrapper {
  width: 100%;
  height: 100%;
  min-height: 500px;
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Estilos para marcadores arrastrables */
.reservation-section .leaflet-marker-draggable {
  cursor: move;
  cursor: grab;
}

.reservation-section .leaflet-marker-draggable:active {
  cursor: grabbing;
}

.reservation-section .custom-marker {
  cursor: move;
  cursor: grab;
  transition: transform 0.2s ease;
}

.reservation-section .custom-marker:hover {
  transform: scale(1.1);
}

.reservation-section .custom-marker:active {
  cursor: grabbing;
  transform: scale(1.15);
}

.reservation-section .gps-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  border-radius: 20px;
}

.reservation-section .gps-loading-content {
  text-align: center;
  padding: 40px;
  background: rgba(45, 45, 45, 0.95);
  border-radius: 20px;
  border: 2px solid rgba(74, 144, 226, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  min-width: 280px;
}

.reservation-section .gps-loading-spinner {
  margin-bottom: 20px;
}

.reservation-section .gps-loading-spinner i {
  font-size: 48px;
  color: var(--blue-accent);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.reservation-section .gps-loading-text {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.reservation-section .gps-loading-subtext {
  font-size: 14px;
  color: #a2a2a2;
  margin: 0;
}

.reservation-section .google-map-container {
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Leaflet map styles */
.reservation-section .google-map-container .leaflet-container {
  width: 100%;
  height: 100%;
  background: #2d2d2d;
}

.reservation-section .google-map-container .leaflet-control-zoom {
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.reservation-section .google-map-container .leaflet-control-zoom a {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.reservation-section .google-map-container .leaflet-control-zoom a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFD700;
}

.reservation-section .google-map-container .leaflet-popup-content-wrapper {
  background: rgba(45, 45, 45, 0.95);
  color: #ffffff;
  border-radius: 8px;
}

.reservation-section .google-map-container .leaflet-popup-tip {
  background: rgba(45, 45, 45, 0.95);
}

.reservation-section .map-error-message {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
}

.reservation-section .map-error-message i {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
}

.reservation-section .map-error-message h3 {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 15px 0;
}

.reservation-section .map-error-message p {
  font-size: 16px;
  color: #a2a2a2;
  margin: 10px 0;
  line-height: 1.6;
}

.reservation-section .map-error-message .map-error-note {
  font-size: 14px;
  color: #888888;
  font-style: italic;
  margin-top: 20px;
}

.reservation-section .selected-location-display {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  padding: 15px 20px;
  background: rgba(74, 144, 226, 0.15);
  border: 2px solid rgba(74, 144, 226, 0.4);
  border-radius: 50px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.reservation-section .selected-location-display:hover {
  background: rgba(74, 144, 226, 0.2);
  border-color: var(--blue-accent);
}

.reservation-section .selected-location-display i {
  font-size: 18px;
  color: var(--blue-accent);
  flex-shrink: 0;
}

.reservation-section .selected-location-display span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reservation-section .btn-clear-location {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 50%;
  color: #ff6b6b;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  padding: 0;
  margin-left: auto;
}

.reservation-section .btn-clear-location:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: #ff6b6b;
  transform: scale(1.1);
}

.reservation-section .btn-clear-location i {
  font-size: 12px;
  color: #ff6b6b;
}

/* Date Tab Styles */
.reservation-section .rcs-date-content,
.reservation-section .rcs-date-details-content {
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.reservation-section .date-details-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.reservation-section .date-time-column {
  flex: 1;
  min-width: 0;
  /* permite que el calendario encoja dentro de flex sin desbordar */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reservation-section .details-column {
  flex: 1;
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.reservation-section .date-time-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.reservation-section .calendar-section {
  background: var(--gradient-blue-2);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.reservation-section .calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.reservation-section .calendar-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.reservation-section .calendar-nav {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reservation-section .calendar-nav:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #6f6f6f;
}

.reservation-section .calendar-grid {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.reservation-section .calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 10px;
  width: 100%;
  min-width: 0;
}

.reservation-section .weekday {
  text-align: center;
  font-weight: 600;
  color: #a2a2a2;
  font-size: 14px;
  padding: 10px;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reservation-section .calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.reservation-section .calendar-day {
  aspect-ratio: 1;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.reservation-section .calendar-day:hover:not(.disabled) {
  background: rgba(83, 83, 83, 0.5);
  border: 1px solid rgba(111, 111, 111, 0.8);
}

.reservation-section .calendar-day.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  color: #666666;
}

.reservation-section .calendar-day.selected {
  background: #535353;
  color: #fff;
  font-weight: 600;
}

.reservation-section .calendar-day.today {
  border: 2px solid #6f6f6f;
}

.reservation-section .time-section {
  background: var(--gradient-blue-2);
  border-radius: 10px;
  padding: 20px;
  flex: 1 1 200px;
  min-width: 150px;
  max-height: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.reservation-section .time-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.reservation-section .time-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.reservation-section .time-input-wrapper i {
  position: absolute;
  left: 15px;
  color: #a2a2a2;
  font-size: 18px;
}

.reservation-section .time-input {
  width: 100%;
  padding: 15px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.reservation-section .time-input:focus {
  outline: none;
  border-color: #6f6f6f;
  background: rgba(255, 255, 255, 0.08);
}

.reservation-section .time-input:disabled,
.reservation-section .time-input.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

.reservation-section .time-hint {
  margin-top: 10px;
  font-size: 14px;
  color: #a2a2a2;
  font-style: italic;
  text-align: center;
}

.reservation-section .airport-flight-block {
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.reservation-section .airport-flight-intro {
  font-size: 14px;
  line-height: normal;
  color: #c8c8c8;
  width: 100%
}

.reservation-section .time-title {
  width: 100%;
}

.reservation-section .airport-field {
  flex: 1 1 300px;
}

.reservation-section .airport-field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #e8e8e8;
  margin-bottom: 8px;
}

.reservation-section .airport-field-req {
  color: #ff9b9b;
  font-weight: 700;
}

.reservation-section .airport-field-opt {
  font-weight: 400;
  color: #a2a2a2;
  font-size: 13px;
}

.reservation-section .airport-flight-text-input {
  padding-left: 15px;
}

.reservation-section .airport-flight-time-wrap {
  margin-top: 0;
}

.reservation-section .airport-flight-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 88px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #ffffff;
  font-size: 16px;
  font-family: inherit;
  line-height: 1.45;
  resize: vertical;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.reservation-section .airport-flight-textarea:focus {
  outline: none;
  border-color: #6f6f6f;
  background: rgba(255, 255, 255, 0.08);
}

.reservation-section .airport-flight-hint {
  text-align: left;
  margin-top: 4px;
}

.reservation-section .airport-flight-timing-error {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
  color: #ffb3b3;
}

/* Details Tab Styles */
.reservation-section .rcs-details-content {
  width: 100%;
  padding: 20px;
}

.reservation-section .details-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.reservation-section .detail-section {
  background: var(--gradient-blue-2);
  border-radius: 10px;
  padding: 25px;
  flex: 1 1 200px;
  min-width: 150px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.reservation-section .detail-section--with-floating-tip {
  position: relative;
  overflow: visible;
}

.reservation-section .detail-section-floating-tip {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Puente invisible entre el icono y el tooltip para no perder :hover al mover el cursor */
.reservation-section .detail-section-floating-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  width: 48px;
  height: 14px;
}

.reservation-section .detail-section--with-floating-tip .detail-section-title {
  padding-right: 40px;
}

.reservation-section .detail-section-tip-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  font-size: 17px;
  line-height: 1;
  cursor: help;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.reservation-section .detail-section-tip-trigger:hover,
.reservation-section .detail-section-tip-trigger:focus-visible {
  outline: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.06);
}

.reservation-section .detail-section-tip-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(300px, calc(100vw - 48px));
  padding: 12px 14px;
  margin: 0;
  box-sizing: border-box;
  text-align: left;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.45;
  color: #e8e8e8;
  background: rgba(22, 28, 40, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  pointer-events: none;
  z-index: 10;
}

.reservation-section .detail-section-tip-popover-line {
  margin: 0;
}

.reservation-section .detail-section-tip-popover .detail-section-tip-popover-warn {
  margin-top: 0;
  margin-bottom: 10px;
}

.reservation-section .detail-section-floating-tip:hover .detail-section-tip-popover,
.reservation-section .detail-section-floating-tip:focus-within .detail-section-tip-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.reservation-section .detail-section-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.reservation-section .counter-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 10px;
}

.reservation-section .counter-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reservation-section .counter-btn:hover:not(:disabled) {
  background: rgba(83, 83, 83, 0.5);
  border-color: #6f6f6f;
}

.reservation-section .counter-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.reservation-section .counter-value {
  font-size: 32px;
  font-weight: 600;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  min-width: 60px;
  text-align: center;
}

.reservation-section .counter-note {
  text-align: center;
  color: #a2a2a2;
  font-size: 14px;
  margin: 0;
}

.reservation-section .accessibility-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.reservation-section .checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
}

.reservation-section .checkbox-label:hover {
  color: #ffffff;
  background: transparent;
}

.reservation-section .checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #ffffff;
}

.reservation-section .disabled-count {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reservation-section .disabled-count label {
  display: block;
  color: #a2a2a2;
  font-size: 14px;
  margin-bottom: 15px;
}

/* Confirmation Tab Styles */
.reservation-section .rcs-confirmation-content {
  width: 100%;
  padding: 20px;
}

/* Authentication Alert Styles */
.reservation-section .auth-alert {
  margin: 30px 0;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 152, 0, 0.15) 100%);
  border: 2px solid rgba(255, 193, 7, 0.3);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.1);
}

.reservation-section .auth-alert-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.reservation-section .auth-alert-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 193, 7, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 193, 7, 0.4);
}

.reservation-section .auth-alert-icon i {
  font-size: 24px;
  color: #FFC107;
}

.reservation-section .auth-alert-text {
  flex: 1;
}

.reservation-section .auth-alert-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.reservation-section .auth-alert-message {
  font-size: 15px;
  color: #e0e0e0;
  margin: 0;
  line-height: 1.5;
}

.reservation-section .auth-alert-link {
  color: #FFC107;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.reservation-section .auth-alert-link:hover {
  color: #FFD54F;
  border-bottom-color: #FFD54F;
}

.reservation-section .btn-login-required {
  background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
  color: #1a1a1a;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  font-weight: 600;
}

.reservation-section .btn-login-required:hover {
  background: linear-gradient(135deg, #FFD54F 0%, #FFB74D 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.reservation-section .btn-login-required i {
  font-size: 0.9rem;
}

/* Light Mode Auth Alert */
.reservation-section.mode-light .auth-alert {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
  border-color: rgba(255, 193, 7, 0.4);
}

.reservation-section.mode-light .auth-alert-icon {
  background: rgba(255, 193, 7, 0.15);
  border-color: rgba(255, 193, 7, 0.5);
}

.reservation-section.mode-light .auth-alert-title {
  color: #2d2d2d;
}

.reservation-section.mode-light .auth-alert-message {
  color: #555555;
}

.reservation-section.mode-light .auth-alert-link {
  color: #F57C00;
}

.reservation-section.mode-light .auth-alert-link:hover {
  color: #FF9800;
}

/* Responsive Auth Alert */
@media (max-width: 768px) {
  .reservation-section .auth-alert {
    padding: 15px;
  }

  .reservation-section .auth-alert-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .reservation-section .auth-alert-icon {
    width: 45px;
    height: 45px;
  }

  .reservation-section .auth-alert-icon i {
    font-size: 20px;
  }

  .reservation-section .auth-alert-title {
    font-size: 16px;
  }

  .reservation-section .auth-alert-message {
    font-size: 14px;
  }

  .reservation-section .date-time-column {
    flex: 1 1 100%;
  }
}

/* Checkout Styles */
.reservation-section .rcs-checkout-content {
  width: 100%;
  padding: 20px;
}

.reservation-section .checkout-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.reservation-section .checkout-summary,
.reservation-section .checkout-payment {
  background: transparent;
  border-radius: 15px;
  padding: 30px;
}

.reservation-section .checkout-summary-title,
.reservation-section .checkout-payment-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.reservation-section .checkout-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.reservation-section .checkout-summary-item:last-child {
  border-bottom: none;
}

.reservation-section .summary-label {
  font-size: 15px;
  color: #a2a2a2;
  font-weight: 500;
}

.reservation-section .summary-value {
  font-size: 15px;
  color: #ffffff;
  font-weight: 600;
  text-align: right;
}

.reservation-section .checkout-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-top: 15px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.reservation-section .checkout-summary-total .summary-label {
  font-size: 18px;
  color: #ffffff;
  font-weight: 700;
}

.reservation-section .checkout-summary-total .summary-value {
  font-size: 24px;
  color: var(--blue-accent);
  font-weight: 700;
}

.reservation-section .checkout-summary-total-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.reservation-section .checkout-summary-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
}

.reservation-section .checkout-price-compare {
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.reservation-section .checkout-price-final {
  font-size: 24px;
  color: var(--blue-accent);
  font-weight: 700;
}

.reservation-section .checkout-price-discount-pct {
  font-size: 13px;
  font-weight: 600;
  color: #f5b400;
  letter-spacing: 0.02em;
}

.reservation-section .stripe-payment-container {
  position: relative;
  margin: 20px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  min-height: 200px;
}

.reservation-section .stripe-payment-element-host {
  min-height: 160px;
}

.reservation-section .stripe-payment-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: 10px;
  background: rgba(22, 28, 40, 0.92);
  backdrop-filter: blur(4px);
}

.reservation-section .stripe-payment-loading-inner {
  text-align: center;
  max-width: 280px;
}

.reservation-section .stripe-payment-loading-icon {
  font-size: 2rem;
  color: var(--blue-accent, #4a90e2);
  margin-bottom: 12px;
}

.reservation-section .stripe-payment-loading-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.reservation-section .stripe-payment-loading-hint {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #a2a2a2;
}

.reservation-section .payment-error {
  background: rgba(223, 27, 65, 0.15);
  border: 1px solid rgba(223, 27, 65, 0.3);
  border-radius: 8px;
  padding: 12px 15px;
  margin: 15px 0;
  color: #ff6b6b;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reservation-section .payment-error i {
  font-size: 16px;
}

.reservation-section .btn-process-payment {
  width: 100%;
  padding: 15px 30px;
  background: var(--gradient-blue-accent);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-blue);
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.reservation-section .btn-process-payment span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.reservation-section .btn-process-payment:hover:not(:disabled) {
  background: var(--gradient-blue-4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
}

.reservation-section .btn-process-payment:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.reservation-section .btn-process-payment i {
  font-size: 16px;
}

/* Light Mode Checkout */
.reservation-section.mode-light .checkout-summary,
.reservation-section.mode-light .checkout-payment {
  background: var(--gradient-light);
  border-color: rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .checkout-summary-title,
.reservation-section.mode-light .checkout-payment-title {
  color: #2d2d2d;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .summary-label {
  color: #666666;
}

.reservation-section.mode-light .summary-value {
  color: #2d2d2d;
}

.reservation-section.mode-light .checkout-summary-total {
  border-top-color: rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .checkout-price-compare {
  color: rgba(45, 45, 45, 0.45);
}

.reservation-section.mode-light .checkout-price-discount-pct {
  color: #c98f00;
}

.reservation-section.mode-light .checkout-summary-total .summary-label {
  color: #2d2d2d;
}

.reservation-section.mode-light .stripe-payment-container {
  background: rgba(0, 0, 0, 0.03);
}

.reservation-section.mode-light .stripe-payment-loading-overlay {
  background: rgba(255, 255, 255, 0.94);
}

.reservation-section.mode-light .stripe-payment-loading-title {
  color: #2d2d2d;
}

.reservation-section.mode-light .stripe-payment-loading-hint {
  color: #666666;
}

/* Responsive Checkout */
@media (max-width: 968px) {
  .reservation-section .checkout-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {

  .reservation-section .checkout-summary,
  .reservation-section .checkout-payment {
    padding: 20px;
  }

  .reservation-section .checkout-summary-title,
  .reservation-section .checkout-payment-title {
    font-size: 20px;
  }

  .reservation-section .checkout-summary-total .summary-value {
    font-size: 20px;
  }
}

/* Confirmation Invoice Styles */
.reservation-section .confirmation-invoice-wrapper {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.reservation-section .confirmation-invoice {
  width: 100%;
}

.reservation-section .invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.reservation-section .invoice-header-left {
  flex: 1;
}

.reservation-section .invoice-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.reservation-section .invoice-date {
  font-size: 14px;
  color: #a2a2a2;
  margin: 0;
}

.reservation-section .invoice-header-right {
  display: flex;
  align-items: center;
}

.reservation-section .invoice-logo {
  width: 60px;
  height: 60px;
  background: rgba(74, 144, 226, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(74, 144, 226, 0.4);
}

.reservation-section .invoice-logo i {
  font-size: 28px;
  color: var(--blue-accent);
}

.reservation-section .invoice-body {
  width: 100%;
}

.reservation-section .invoice-table {
  width: 100%;
  border-collapse: collapse;
}

.reservation-section .invoice-table thead {
  background: rgba(255, 255, 255, 0.05);
}

.reservation-section .invoice-th {
  padding: 15px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #a2a2a2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.reservation-section .invoice-th:first-child {
  width: 35%;
}

.reservation-section .invoice-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.2s ease;
}

.reservation-section .invoice-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.reservation-section .invoice-section-row {
  background: rgba(255, 255, 255, 0.05) !important;
}

.reservation-section .invoice-section-header {
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.reservation-section .invoice-section-header i {
  color: var(--blue-accent);
  margin-right: 10px;
  font-size: 24px;
}

.reservation-section .invoice-label {
  padding: 14px 20px;
  font-weight: 600;
  color: #a2a2a2;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: top;
  width: 35%;
}

.reservation-section .invoice-value {
  padding: 14px 20px;
  color: #ffffff;
  font-size: 16px;
  vertical-align: top;
  word-break: break-word;
}

.reservation-section .invoice-value--address,
.reservation-section .summary-value--address {
  line-height: 1.45;
  font-size: 15px;
  font-weight: 500;
}

.reservation-section .invoice-total-row {
  background: rgba(74, 144, 226, 0.15) !important;
  border-top: 3px solid var(--blue-accent);
  border-bottom: none;
}

.reservation-section .invoice-total-label {
  padding: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.reservation-section .invoice-total-value {
  padding: 20px;
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-accent);
  text-align: right;
}

.reservation-section .invoice-stops-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.reservation-section .invoice-stops-list li {
  padding: 6px 0;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
}

.reservation-section .invoice-stops-list li:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
  margin-bottom: 6px;
}

.reservation-section .invoice-stops-list .stop-number {
  color: white;
  font-weight: 600;
  min-width: 20px;
}

/* Legacy styles for backward compatibility */
.reservation-section .confirmation-summary {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reservation-section .summary-section {
  background: var(--gradient-blue-2);
  border-radius: 10px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-blue);
}

.reservation-section .summary-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.reservation-section .summary-title i {
  color: #FFD700;
  font-size: 22px;
}

.reservation-section .summary-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reservation-section .summary-content p {
  color: #a2a2a2;
  font-size: 16px;
  margin: 0;
}

.reservation-section .summary-content p strong {
  color: #ffffff;
  font-weight: 600;
}

/* Disabled Tab Styles */
.reservation-section .rcs-nav ul li[disabled] {
  cursor: not-allowed;
  pointer-events: none;
}

/* Light Mode Tab Styles */
.reservation-section.mode-light .tab-content-title {
  color: #2d2d2d;
}

.reservation-section.mode-light .location-option-btn {
  background: rgba(240, 240, 240, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  color: #2d2d2d;
}

.reservation-section.mode-light .location-option-btn:hover {
  background: rgba(230, 230, 230, 0.9);
  border-color: rgba(0, 0, 0, 0.2);
}

.reservation-section.mode-light .location-search input {
  background: rgba(240, 240, 240, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  color: #2d2d2d;
}

.reservation-section.mode-light .location-search input::placeholder {
  color: #666666;
}

.reservation-section.mode-light .selected-location-display {
  background: rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.4);
  color: #1a1a1a;
}

.reservation-section.mode-light .calendar-section,
.reservation-section.mode-light .time-section,
.reservation-section.mode-light .detail-section,
.reservation-section.mode-light .summary-section {
  background: rgba(240, 240, 240, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .calendar-header h3,
.reservation-section.mode-light .time-title,
.reservation-section.mode-light .detail-section-title,
.reservation-section.mode-light .summary-title {
  color: #2d2d2d;
}

.reservation-section.mode-light .detail-section-tip-trigger {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.45);
}

.reservation-section.mode-light .detail-section-tip-trigger:hover,
.reservation-section.mode-light .detail-section-tip-trigger:focus-visible {
  color: #1a1a1a;
  background: rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .detail-section-tip-popover {
  color: #2d2d2d;
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.reservation-section.mode-light .calendar-nav {
  background: rgba(240, 240, 240, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  color: #2d2d2d;
}

.reservation-section.mode-light .calendar-day {
  background: rgba(255, 255, 255, 0.8);
  color: #2d2d2d;
}

.reservation-section.mode-light .calendar-day.disabled {
  color: #999999;
}

.reservation-section.mode-light .time-input {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  color: #2d2d2d;
}

.reservation-section.mode-light .time-input:disabled,
.reservation-section.mode-light .time-input.disabled {
  opacity: 0.5;
  background: rgba(240, 240, 240, 0.5);
  border-color: rgba(0, 0, 0, 0.05);
}

.reservation-section.mode-light .time-hint {
  color: #666666;
}

.reservation-section.mode-light .airport-flight-block {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.reservation-section.mode-light .airport-flight-intro {
  color: #555555;
}

.reservation-section.mode-light .airport-field-label {
  color: #2d2d2d;
}

.reservation-section.mode-light .airport-field-opt {
  color: #666666;
}

.reservation-section.mode-light .airport-flight-textarea {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  color: #2d2d2d;
}

.reservation-section.mode-light .airport-flight-textarea:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.2);
}

.reservation-section.mode-light .airport-flight-timing-error {
  color: #b80000;
}

.reservation-section.mode-light .counter-btn {
  background: rgba(240, 240, 240, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  color: #2d2d2d;
}

.reservation-section.mode-light .counter-value {
  color: #2d2d2d;
}

.reservation-section.mode-light .checkbox-label {
  color: #2d2d2d;
}

.reservation-section.mode-light .summary-content p {
  color: #666666;
}

.reservation-section.mode-light .summary-content p strong {
  color: #2d2d2d;
}

.reservation-section.mode-light .confirmation-table-container {
  background: rgba(240, 240, 240, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .confirmation-table-title {
  color: #2d2d2d;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .confirmation-table tbody tr {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .confirmation-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.reservation-section.mode-light .confirmation-table .table-label {
  color: #666666;
}

.reservation-section.mode-light .confirmation-table .table-value {
  color: #2d2d2d;
}

.reservation-section.mode-light .confirmation-table .stops-list li {
  color: #2d2d2d;
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .reservation-section .rcs-container {
    padding: 20px 40px;
  }

  .reservation-section .rcs-nav {
    gap: 15px;
  }

  .reservation-section .rcs-nav ul {
    gap: 8px;
  }

  .reservation-section .rcs-nav ul li {
    padding: 0 20px;
    font-size: 14px;
    height: 45px;
  }

  .reservation-section .rcs-content-car-details .info-car .model-car {
    font-size: 40px;
  }

  .reservation-section .rcs-content-car-details .info-car .year-car {
    font-size: 20px;
    height: 35px;
    padding: 0 18px;
  }

  .reservation-section .rcs-content-car-gallery-exterior {
    gap: 15px;
  }

  .reservation-section .rcs-content-car-gallery-exterior .gallery-thumbnails {
    max-height: 350px;
  }

  .reservation-section .rcs-content-car-gallery-exterior .gallery-thumbnails .thumbnail-btn {
    width: 70px;
    min-height: 70px;
  }

  .reservation-section .rcs-content-car-selection {
    max-width: 300px;
    overflow: unset;
  }

  .reservation-section .date-time-container {
    gap: 20px;
  }
}

/* Mobile and Tablet Styles */
@media (max-width: 768px) {
  .reservation-section .rcs-container {
    padding: 15px 20px;
  }

  .reservation-section .rcs-content-active h4 {
    font-size: 14px;
  }

  .reservation-section .rcs-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .reservation-section .rcs-nav ul {
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    gap: 8px;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .reservation-section .rcs-nav ul::-webkit-scrollbar {
    height: 4px;
  }

  .reservation-section .rcs-nav ul::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
  }

  .reservation-section .rcs-nav ul::-webkit-scrollbar-thumb {
    background: var(--blue-accent);
    border-radius: 2px;
  }

  .reservation-section .rcs-nav ul li {
    padding: 0 18px;
    font-size: 14px;
    height: 42px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .reservation-section .rcs-nav-logo-car {
    padding: 5px 8px 5px 15px;
    gap: 15px;
  }

  .reservation-section .rcs-nav-logo-car span {
    font-size: 14px;
  }

  .reservation-section .rcs-nav-logo-car img {
    width: 40px;
    height: 40px;
  }

  .reservation-section .rcs-content-car {
    flex-direction: column;
    gap: 20px;
  }

  .reservation-section .rcs-content-car-content {
    width: 100%;
  }

  .reservation-section .rcs-content-car-details {
    align-items: flex-start;
    gap: 15px;
  }

  .reservation-section .rcs-content-car-details .info-car .model-car {
    font-size: 32px;
  }

  .reservation-section .rcs-content-car-details .info-car .year-car {
    font-size: 18px;
    height: 35px;
    padding: 0 15px;
  }

  .reservation-section .rcs-content-car-details .view-car {
    justify-content: flex-start;
  }

  .reservation-section .rcs-content-car-details .view-car button {
    padding: 0 18px;
    height: 38px;
    font-size: 14px;
  }

  .reservation-section .rcs-content-car-gallery-exterior {
    flex-direction: column;
    gap: 15px;
  }

  .reservation-section .rcs-content-car-gallery-exterior .gallery-thumbnails {
    flex-direction: row;
    max-height: 100px;
    overflow-x: auto !important;
    overflow-y: hidden;
    width: 100%;
    gap: 10px;
    padding-bottom: 5px;
    /* Permitir que los botones hijos sean clickeables */
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  /* En mobile, asegurar que el scroll funcione */
  /* El script scroll-native.js detectará ambas clases y usará scroll-x en mobile */

  .reservation-section .rcs-content-car-gallery-exterior .gallery-thumbnails .thumbnail-btn {
    width: 80px;
    min-height: 80px;
    flex-shrink: 0;
    /* Asegurar que los botones sean clickeables */
    pointer-events: auto;
    touch-action: manipulation;
    position: relative;
    z-index: 1;
  }

  .reservation-section .rcs-content-car-gallery-exterior .gallery-main-view {
    width: 100%;
    min-height: 250px;
  }

  .reservation-section .rcs-content-car-gallery-exterior .gallery-main-view .main-image-container {
    aspect-ratio: 16 / 9;
  }

  .reservation-section .rcs-content-car-selection {
    max-width: calc(100% + 30px);
    width: calc(100% + 30px);
    overflow: unset;
    border-radius: 40px;
    margin-left: -15px;
  }

  .reservation-section .rcs-content-car-selection-top {
    padding: 10px 15px 15px 15px;
  }

  .reservation-section .rcs-content-car-selection-list {
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 320px;
    width: 100%;
    gap: 10px;
    padding: 0;
  }

  .reservation-section .rcs-content-car-selection-list-item {
    width: 100%;
    padding: 12px 15px;
  }

  .reservation-section .rcs-content-car-selection-list-item-details h4 {
    font-size: 15px;
  }

  .reservation-section .rcs-content-car-selection-list-item-details p {
    font-size: 13px;
  }

  .reservation-section .date-time-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reservation-section .calendar-weekdays,
  .reservation-section .calendar-days {
    gap: 3px;
  }

  .reservation-section .calendar-section {
    padding: 15px;
  }

  .reservation-section .calendar-day {
    font-size: 14px;
    padding: 8px;
  }

  .reservation-section .calendar-header h3 {
    font-size: 18px;
  }

  .reservation-section .time-title {
    font-size: 16px;
  }

  .reservation-section .details-sections {
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
  }

  .reservation-section .detail-section {
    padding: 20px;
    max-height: fit-content;
  }

  .reservation-section .detail-section-title {
    font-size: 18px;
  }

  .reservation-section .tab-content-title {
    font-size: 20px;
  }

  .reservation-section .rcs-location-content,
  .reservation-section .rcs-date-content,
  .reservation-section .rcs-details-content,
  .reservation-section .rcs-confirmation-content {
    padding: 15px;
  }

  /* Invoice mobile */
  .reservation-section .confirmation-invoice {
    padding: 20px 0px;
  }

  .reservation-section .invoice-header {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .reservation-section .invoice-title {
    font-size: 20px;
  }

  .reservation-section .invoice-date {
    font-size: 12px;
  }

  .reservation-section .invoice-logo {
    width: 50px;
    height: 50px;
  }

  .reservation-section .invoice-logo i {
    font-size: 24px;
  }

  /* Invoice — readable card layout (tablet/mobile) */
  .reservation-section .invoice-table {
    display: block;
    width: 100%;
    font-size: 14px;
  }

  .reservation-section .invoice-table thead {
    display: none;
  }

  .reservation-section .invoice-table tbody {
    display: block;
    width: 100%;
  }

  .reservation-section .invoice-table tbody tr {
    display: block;
    width: 100%;
    padding: 0;
    border-bottom: none;
  }

  .reservation-section .invoice-section-row {
    margin-top: 1.25rem;
    background: transparent !important;
  }

  .reservation-section .invoice-section-row:first-child {
    margin-top: 0;
  }

  .reservation-section .invoice-section-row td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .reservation-section .invoice-section-header {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 0px;
  }

  .reservation-section .invoice-table tbody tr:not(.invoice-section-row):not(.invoice-total-row) {
    display: grid;
    grid-template-columns: minmax(7.5rem, 36%) 1fr;
    align-items: stretch;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
  }

  .reservation-section .invoice-label,
  .reservation-section .invoice-value {
    display: block;
    width: auto;
    max-width: none;
    margin-bottom: 0;
    padding: 12px 14px;
    font-size: 14px;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: none;
  }

  .reservation-section .invoice-label {
    font-size: 11px;
    line-height: 1.35;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .reservation-section .invoice-value {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: normal;
    word-break: normal;
  }

  .reservation-section .invoice-value--address {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .reservation-section .invoice-stops-list li {
    font-size: 14px;
  }

  .reservation-section .invoice-total-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 1.25rem;
    border-radius: 10px;
    overflow: hidden;
  }

  .reservation-section .invoice-total-label,
  .reservation-section .invoice-total-value {
    display: block;
    width: 100%;
    padding: 16px 14px;
    box-sizing: border-box;
  }

  .reservation-section .invoice-total-value {
    text-align: right;
    font-size: 20px;
  }

  .reservation-section.mode-light .invoice-table tbody tr:not(.invoice-section-row):not(.invoice-total-row) {
    background: rgba(0, 0, 0, 0.02);
    border-bottom-color: rgba(0, 0, 0, 0.06);
  }

  .reservation-section.mode-light .invoice-label {
    border-right-color: rgba(0, 0, 0, 0.08);
  }

  .reservation-section .location-options {
    flex-direction: column;
  }

  .reservation-section .location-option-btn {
    width: 100%;
    justify-content: center;
  }

  .reservation-section .rcs-content-footer {
    padding: 10px 20px;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .reservation-section .rcs-container {
    padding: 10px 15px;
  }

  .reservation-section .rcs-nav ul li {
    padding: 0 15px;
    font-size: 12px;
    height: 38px;
  }

  .reservation-section .rcs-content-car-details .info-car .model-car {
    font-size: 28px;
  }

  .reservation-section .rcs-content-car-details .info-car .year-car {
    font-size: 16px;
    height: 32px;
    padding: 0 12px;
  }

  .reservation-section .rcs-content-car-details .view-car button {
    padding: 0 15px;
    height: 35px;
    font-size: 13px;
  }

  .reservation-section .rcs-content-car-gallery-exterior .gallery-thumbnails {
    max-height: 90px;
    gap: 8px;
    touch-action: pan-x;
  }

  .reservation-section .rcs-content-car-gallery-exterior .gallery-thumbnails .thumbnail-btn {
    width: 70px;
    min-height: 70px;
    pointer-events: auto;
    touch-action: manipulation;
    position: relative;
    z-index: 1;
  }

  .reservation-section .rcs-content-car-gallery-exterior .gallery-main-view {
    min-height: 200px;
  }

  .reservation-section .calendar-day {
    font-size: 12px;
    padding: 4px;
  }

  .reservation-section .calendar-weekdays,
  .reservation-section .calendar-days {
    gap: 2px;
  }

  .reservation-section .weekday {
    font-size: 11px;
    padding: 4px 2px;
  }

  .reservation-section .tab-content-title {
    font-size: 18px;
  }

  .reservation-section .rcs-location-content,
  .reservation-section .rcs-date-content,
  .reservation-section .rcs-details-content,
  .reservation-section .rcs-confirmation-content {
    padding: 10px;
  }
}

/* Mode Selection Styles */
.reservation-section .rcs-mode-content {
  width: 100%;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reservation-section .rcs-mode-content .tab-content-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -1px;
}

.reservation-section .rcs-mode-content .mode-description {
  font-size: 18px;
  color: #a2a2a2;
  margin: 0;
  font-weight: 400;
}

.reservation-section .mode-selection {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 20px;
}

/* Rental duration: mismo contenedor visual que detail-section (paso date & details) */
.reservation-section .detail-section--rental-duration {
  flex: 0 0 auto;
  width: 100%;
}

.reservation-section .detail-section--rental-duration-date {
  margin-top: 0;
  margin-bottom: 4px;
  border: 2px solid rgba(74, 144, 226, 0.45);
  box-shadow:
    0 0 0 1px rgba(74, 144, 226, 0.15),
    0 12px 40px rgba(0, 0, 0, 0.28);
  scroll-margin-top: 100px;
}

/* Filas horizontales: icono + texto + contador (como el mock de date & details) */
.reservation-section .detail-section--rental-duration .rental-duration-row {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.reservation-section .detail-section--rental-duration .rental-duration-row--split {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reservation-section .rental-duration-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.15rem;
}

.reservation-section .rental-duration-copy {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.reservation-section .rental-duration-card-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

.reservation-section .rental-duration-row-heading {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
}

.reservation-section .rental-duration-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #a2a2a2;
}

.reservation-section .detail-section--rental-duration .rental-duration-counter.counter-control {
  flex: 0 0 auto;
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .reservation-section .detail-section--rental-duration .rental-duration-row {
    flex-wrap: wrap;
  }

  .reservation-section .detail-section--rental-duration .rental-duration-copy {
    flex: 1 1 calc(100% - 70px);
  }

  .reservation-section .detail-section--rental-duration .rental-duration-counter {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }
}

.reservation-section .rental-duration-error {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 14px;
  color: #f5d76a;
}

.reservation-section.mode-light .rental-duration-icon {
  background: rgba(240, 240, 240, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  color: #2d2d2d;
}

.reservation-section.mode-light .rental-duration-card-title,
.reservation-section.mode-light .rental-duration-row-heading {
  color: #2d2d2d;
}

.reservation-section.mode-light .rental-duration-subtitle {
  color: #666666;
}

.reservation-section.mode-light .detail-section--rental-duration .rental-duration-row--split {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.reservation-section.mode-light .rental-duration-error {
  color: #b8860b;
}

@media (min-width: 768px) {
  .reservation-section .mode-selection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .reservation-section .mode-selection {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .reservation-section .mode-selection {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.reservation-section .mode-card.mode-card--soon {
  opacity: 0.92;
}

.reservation-section .mode-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.reservation-section .mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-blue-accent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.reservation-section .mode-card>* {
  position: relative;
  z-index: 1;
}

.reservation-section .mode-card:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 144, 226, 0.5);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(74, 144, 226, 0.2);
}

.reservation-section .mode-card.active {
  background: var(--gradient-blue-2);
  border-color: var(--blue-accent);
  box-shadow: 0 10px 40px rgba(74, 144, 226, 0.4);
  transform: translateY(-5px);
}

.reservation-section .mode-card.active::before {
  opacity: 0.1;
}

.reservation-section .mode-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 144, 226, 0.2);
  border-radius: 16px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.reservation-section .mode-card.active .mode-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.reservation-section .mode-icon i {
  font-size: 32px;
  color: var(--blue-accent);
  transition: all 0.3s ease;
}

.reservation-section .mode-card.active .mode-icon i {
  color: #ffffff;
  transform: scale(1.1);
}

.reservation-section .mode-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.reservation-section .mode-description-text {
  font-size: 16px;
  color: #a2a2a2;
  margin: 0 0 25px 0;
  line-height: 1.6;
}

.reservation-section .mode-card.active .mode-description-text {
  color: rgba(255, 255, 255, 0.9);
}

.reservation-section .mode-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reservation-section .mode-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #d6d6d6;
  transition: color 0.3s ease;
}

.reservation-section .mode-card.active .mode-features li {
  color: rgba(255, 255, 255, 0.95);
}

.reservation-section .mode-features li i {
  color: var(--blue-accent);
  font-size: 14px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 144, 226, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.reservation-section .mode-card.active .mode-features li i {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.reservation-section .mode-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 215, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Light Mode Styles for Mode Selection */
.reservation-section.mode-light .rcs-mode-content .tab-content-title {
  color: #2d2d2d;
}

.reservation-section.mode-light .rcs-mode-content .mode-description {
  color: #666666;
}

.reservation-section.mode-light .mode-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .mode-card:hover {
  border-color: rgba(74, 144, 226, 0.3);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .mode-card.active {
  background: var(--gradient-blue-2);
  border-color: var(--blue-accent);
  box-shadow: 0 10px 40px rgba(74, 144, 226, 0.3);
}

.reservation-section.mode-light .mode-title {
  color: #2d2d2d;
}

.reservation-section.mode-light .mode-card.active .mode-title {
  color: #ffffff;
}

.reservation-section.mode-light .mode-description-text {
  color: #666666;
}

.reservation-section.mode-light .mode-card.active .mode-description-text {
  color: rgba(255, 255, 255, 0.9);
}

.reservation-section.mode-light .mode-features li {
  color: #666666;
}

.reservation-section.mode-light .mode-card.active .mode-features li {
  color: rgba(255, 255, 255, 0.95);
}

.reservation-section.mode-light .mode-icon {
  background: rgba(74, 144, 226, 0.1);
}

.reservation-section.mode-light .mode-icon i {
  color: var(--blue-accent);
}

.reservation-section.mode-light .mode-card.active .mode-icon {
  background: rgba(255, 255, 255, 0.2);
}

.reservation-section.mode-light .mode-card.active .mode-icon i {
  color: #ffffff;
}

.reservation-section.mode-light .mode-features li i {
  background: rgba(74, 144, 226, 0.1);
  color: var(--blue-accent);
}

.reservation-section.mode-light .mode-card.active .mode-features li i {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Responsive Mode Selection */
@media (max-width: 1024px) {
  .reservation-section .mode-selection {
    gap: 20px;
  }

  .reservation-section .rcs-mode-content .tab-content-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .reservation-section .rcs-mode-content {
    padding: 20px 10px;
    gap: 10px;
  }

  .reservation-section .rcs-mode-content .tab-content-title {
    font-size: 22px;
  }

  .reservation-section .rcs-mode-content .mode-description {
    font-size: 16px;
  }

  .reservation-section .mode-description {
    font-size: 16px;
  }

  .reservation-section .mode-card {
    padding: 30px 20px;
    min-width: 280px;
    box-shadow: none;
  }

  .reservation-section .mode-card.active {
    box-shadow: none;
  }

  .reservation-section .mode-card:hover {
    box-shadow: none;
    transform: none;
  }

  .reservation-section .mode-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
  }

  .reservation-section .mode-selection {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
  }

  .reservation-section .mode-icon i {
    font-size: 14px;
  }

  .reservation-section .mode-title {
    font-size: 14px;
  }

  .reservation-section .mode-description-text {
    font-size: 15px;
  }

  .reservation-section .mode-features li {
    font-size: 14px;
  }

  .reservation-section .location-columns-wrapper {
    flex-direction: column;
  }

  .reservation-section .location-search-container {
    min-width: 100%;
  }

  .reservation-section .location-column-left,
  .reservation-section .location-column-right {
    min-width: 100%;
    flex: 1 1 auto;
    max-width: 100%;
    align-self: stretch;
  }

  .reservation-section .location-column-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
  }

  .reservation-section .location-section {
    padding: 20px 15px;
  }

  .reservation-section .location-section-title {
    font-size: 18px;
  }

  .reservation-section .location-input-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .reservation-section .btn-use-gps {
    width: 100%;
    justify-content: center;
  }

  .reservation-section .btn-add-stop {
    justify-content: center;
  }

  .reservation-section .map-wrapper {
    flex: 0 0 auto;
    width: 100%;
    height: clamp(280px, 52vh, 460px);
    min-height: 280px;
    max-height: 520px;
  }

  .reservation-section .google-map-container,
  .reservation-section .google-map-container.leaflet-container {
    height: 100%;
    min-height: 100%;
  }
}

/* Light Mode Styles for Location Section */
.reservation-section.mode-light .location-section {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}

.reservation-section.mode-light .location-section:hover {
  border-color: rgba(74, 144, 226, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.reservation-section.mode-light .location-section.location-section--awaiting-pickup {
  border-color: rgba(0, 0, 0, 0.06);
  background: rgba(248, 248, 248, 0.75);
}

.reservation-section.mode-light .location-section.location-section--awaiting-pickup:hover {
  border-color: rgba(0, 0, 0, 0.06);
  background: rgba(248, 248, 248, 0.75);
}

.reservation-section.mode-light .location-awaiting-pickup-hint {
  color: #666666;
}

.reservation-section.mode-light .location-section-title {
  color: #2d2d2d;
}

.reservation-section.mode-light .location-section-title i {
  color: var(--blue-accent);
}

.reservation-section.mode-light .btn-use-gps,
.reservation-section.mode-light .btn-add-stop {
  background: rgba(240, 240, 240, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  color: #2d2d2d;
}

.reservation-section.mode-light .btn-use-gps:hover,
.reservation-section.mode-light .btn-add-stop:hover {
  background: rgba(74, 144, 226, 0.1);
  border-color: var(--blue-accent);
}

.reservation-section.mode-light .btn-use-gps i,
.reservation-section.mode-light .btn-add-stop i {
  color: var(--blue-accent);
}

.reservation-section.mode-light .location-search-container input {
  background: rgba(240, 240, 240, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  color: #2d2d2d;
}

.reservation-section.mode-light .location-search-container input::placeholder {
  color: #666666;
}

.reservation-section.mode-light .location-search-container input:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--blue-accent);
}

.reservation-section.mode-light .stop-item {
  background: rgba(240, 240, 240, 0.5);
  border-color: rgba(0, 0, 0, 0.05);
}

.reservation-section.mode-light .stop-number {
  background: var(--gradient-blue-accent);
}

.reservation-section.mode-light .btn-remove-stop {
  background: rgba(255, 0, 0, 0.1);
  border-color: rgba(255, 0, 0, 0.2);
}

.reservation-section.mode-light .btn-remove-stop:hover {
  background: rgba(255, 0, 0, 0.15);
}

.reservation-section.mode-light .selected-location-display {
  background: rgba(74, 144, 226, 0.15);
  border-color: rgba(74, 144, 226, 0.4);
  color: #2d2d2d;
}

.reservation-section.mode-light .selected-location-display:hover {
  background: rgba(74, 144, 226, 0.2);
}

.reservation-section.mode-light .selected-location-display i {
  color: var(--blue-accent);
}

p.vehicle-capacity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 2px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.reservation-section .vehicle-capacity-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.reservation-section .vehicle-capacity-meta i {
  font-size: 11px;
  opacity: 0.8;
}

/* Per-vehicle-type discount label shown in the vehicle list and confirmation invoice */
.reservation-section .vehicle-discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0 0;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
  color: #0d3b22 !important;
  background: linear-gradient(135deg, #ffd166 0%, #ffe9a8 100%);
  border: 1px solid rgba(13, 59, 34, 0.18);
  border-radius: 999px;
  line-height: 1.2;
  width: max-content;
  max-width: 100%;
}

.reservation-section .vehicle-discount-badge span {
  color: #0d3b22 !important;
}

.reservation-section .vehicle-discount-badge i {
  font-size: 11px;
  color: #0d3b22 !important;

}

.reservation-section .vehicle-list-fare {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}

.reservation-section .vehicle-list-fare-label {
  font-size: 12px;
  font-weight: 500;
  color: #a2a2a2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reservation-section .vehicle-list-fare-amount {
  font-size: 17px;
  font-weight: 700;
  color: var(--meme-cyan, #59cddb);
  white-space: nowrap;
}

.reservation-section .rcs-content-car-selection-list-item.active .vehicle-list-fare {
  border-top-color: rgba(45, 45, 45, 0.15);
}

.reservation-section .rcs-content-car-selection-list-item.active .vehicle-list-fare-label {
  color: #5a5a5a;
}

.reservation-section .rcs-content-car-selection-list-item.active .vehicle-list-fare-amount {
  color: #1a6b7a;
}

.reservation-section.mode-light .vehicle-list-fare {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.reservation-section.mode-light .vehicle-list-fare-amount {
  color: #1a7a8c;
}

.reservation-section.mode-light .rcs-content-car-selection-list-item.active .vehicle-list-fare-label {
  color: #bbbbbb;
}

.reservation-section.mode-light .rcs-content-car-selection-list-item.active .vehicle-list-fare-amount {
  color: #7ee8f7;
}

.reservation-section .invoice-discount-row .invoice-label,
.reservation-section .invoice-discount-row .invoice-value {
  color: #f5b400;
  font-weight: 600;
}

.reservation-section .invoice-discount-row .invoice-label i {
  margin-right: 6px;
}

@media (max-width: 767px) {
  .reservation-section .rcs-content-car-selection-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .reservation-section .rcs-content-car-selection-list {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    width: 100%;
    gap: 10px;
    padding: 0 6px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .reservation-section .rcs-content-car-selection-list-item {
    flex: 0 0 83.3333%;
    width: 83.3333%;
    min-width: 83.3333%;
    scroll-snap-align: start;
    flex-wrap: wrap;
    align-items: start;
    justify-content: start;
    flex-direction: column-reverse;
  }

  .reservation-section .vehicle-carousel-arrow {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.18);
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
  }

  .reservation-section .vehicle-carousel-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .reservation-section .vehicle-carousel-dots {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  .reservation-section .vehicle-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
  }

  .reservation-section .vehicle-carousel-dot.active {
    width: 16px;
    border-radius: 999px;
    background: #f26a00;
  }
}