/* 日期时间选择器模态框样式 */
.datetime-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.datetime-modal.active {
  display: flex;
}

.datetime-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

.datetime-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: datetimeModalSlideIn 0.3s ease-out;
}

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

.datetime-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
}

.datetime-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.datetime-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
}

.datetime-modal-close:hover {
  color: #666;
  background: rgba(0, 0, 0, 0.05);
}

.datetime-modal-body {
  display: flex;
  padding: 24px;
  gap: 24px;
  max-height: 400px;
  overflow-y: auto;
}

.datetime-datepicker {
  flex: 1;
}

.datepicker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.datepicker-prev,
.datepicker-next {
  background: none;
  border: none;
  font-size: 20px;
  color: #666;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}

.datepicker-prev:hover,
.datepicker-next:hover {
  background: #f5f5f5;
  color: #333;
}

.datepicker-month-year {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.datepicker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 8px;
  text-align: center;
}

.datepicker-weekdays div {
  padding: 8px 0;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.datepicker-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.datepicker-day {
  padding: 12px 0;
  text-align: center;
  font-size: 15px;
  color: #333;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.datepicker-day:hover {
  background: #f5f5f5;
}

.datepicker-day.selected {
  background: #7b5dfa;
  color: #fff;
  font-weight: 600;
}

.datepicker-day.disabled {
  color: #ccc;
  cursor: not-allowed;
  background: #f9f9f9;
}

.datepicker-day.today {
  border: 2px solid #7b5dfa;
  background: rgba(123, 93, 250, 0.1);
}

.datetime-timepicker {
  flex: 1;
}

.timepicker-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.timepicker-hours {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.timepicker-hour {
  padding: 12px 8px;
  text-align: center;
  font-size: 14px;
  color: #333;
  background: #f5f5f5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.timepicker-hour:hover {
  background: #e8e8e8;
}

.timepicker-hour.selected {
  background: #7b5dfa;
  color: #fff;
  font-weight: 600;
}

.timepicker-hour.disabled {
  color: #ccc;
  cursor: not-allowed;
  background: #f9f9f9;
  opacity: 0.6;
}

.timepicker-hour.disabled:hover {
  background: #f9f9f9;
}

.datetime-modal-footer {
  display: flex;
  padding: 20px 24px;
  border-top: 1px solid #f0f0f0;
  gap: 12px;
}

.datetime-modal-cancel,
.datetime-modal-confirm {
  flex: 1;
  padding: 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.datetime-modal-cancel {
  background: #f5f5f5;
  color: #666;
}

.datetime-modal-cancel:hover {
  background: #e8e8e8;
  color: #333;
}

.datetime-modal-confirm {
  background: #7b5dfa;
  color: #fff;
}

.datetime-modal-confirm:hover {
  background: #6a4de9;
  transform: translateY(-1px);
}

/* 单行水平布局样式 - 美化版 */
.datetime-container {
  margin-top: 4px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 
    0 2px 8px rgba(123, 93, 250, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.01),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(224, 231, 255, 0.6);
  transition: all 0.3s ease;
}

.datetime-container:hover {
  box-shadow: 
    0 3px 10px rgba(123, 93, 250, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(224, 231, 255, 0.8);
}

.datetime-horizontal-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 4px;
  padding: 2px 0;
}

.datetime-horizontal {
  flex: 1;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 8px 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.datetime-horizontal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(123, 93, 250, 0.3) 0%, rgba(123, 93, 250, 0.1) 100%);
  border-radius: 10px 10px 0 0;
  z-index: 1;
}

.datetime-horizontal.pickup-horizontal {
  background: linear-gradient(135deg, 
    rgba(123, 93, 250, 0.1) 0%, 
    rgba(123, 93, 250, 0.05) 100%);
  border: 1.5px solid rgba(123, 93, 250, 0.25);
  cursor: pointer;
}

.datetime-horizontal.pickup-horizontal:hover {
  background: linear-gradient(135deg, 
    rgba(123, 93, 250, 0.15) 0%, 
    rgba(123, 93, 250, 0.08) 100%);
  border-color: rgba(123, 93, 250, 0.4);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 
    0 8px 20px rgba(123, 93, 250, 0.12),
    0 3px 8px rgba(0, 0, 0, 0.04);
}

.datetime-horizontal.return-horizontal {
  background: linear-gradient(135deg, 
    rgba(255, 107, 107, 0.1) 0%, 
    rgba(255, 107, 107, 0.05) 100%);
  border: 1.5px solid rgba(255, 107, 107, 0.25);
  cursor: pointer;
}

.datetime-horizontal.return-horizontal:hover {
  background: linear-gradient(135deg, 
    rgba(255, 107, 107, 0.15) 0%, 
    rgba(255, 107, 107, 0.08) 100%);
  border-color: rgba(255, 107, 107, 0.4);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 
    0 8px 20px rgba(255, 107, 107, 0.12),
    0 3px 8px rgba(0, 0, 0, 0.04);
}

.datetime-horizontal.days-horizontal {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.1) 0%, 
    rgba(59, 130, 246, 0.05) 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.25);
  min-height: 50px;
  padding: 6px;
}

.datetime-horizontal.days-horizontal::before {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.3) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.date-helper-horizontal {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pickup-helper-horizontal {
  color: #7b5dfa;
}

.return-helper-horizontal {
  color: #ff6b6b;
}

.datetime-main-horizontal {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.date-number-horizontal {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  color: #333;
}

.pickup-date-number {
  color: #7b5dfa;
}

.return-date-number {
  color: #ff6b6b;
}

.date-details-horizontal {
  text-align: left;
}

.month-time-horizontal {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-bottom: 4px;
}

.full-date-horizontal {
  font-size: 13px;
  color: #999;
  line-height: 1.2;
}

.days-value-horizontal {
  margin-bottom: 12px;
  text-align: center;
}

.days-number-horizontal {
  font-size: 16px;
  font-weight: 800;
  color: #3b82f6;
  line-height: 1;
}

.days-unit-horizontal {
  font-size: 16px;
  font-weight: 600;
  color: #666;
  margin-left: 4px;
}

.days-control-horizontal {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.days-btn-horizontal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #666;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.days-btn-horizontal:hover {
  background: #f5f5f5;
  color: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.days-btn-horizontal:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.decrease-btn-horizontal {
  color: #ff6b6b;
}

.increase-btn-horizontal {
  color: #3b82f6;
}

/* 搜索面板相关样式 */
.car-search-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #f0f0f0;
}

/* 取还车地点区域美化 */
.location-section {
  padding: 6px;
  background: rgba(248, 249, 255, 0.5);
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid rgba(224, 231, 255, 0.5);
  box-shadow: 
    0 1px 2px rgba(123, 93, 250, 0.01),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.datetime-section {
  padding: 6px;
  background: rgba(248, 249, 255, 0.5);
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid rgba(224, 231, 255, 0.5);
  box-shadow: 
    0 1px 2px rgba(123, 93, 250, 0.01),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* 标题美化 */
.location-title, .datetime-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a1f35;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  padding-bottom: 3px;
}

.location-title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #7b5dfa 0%, #6a4de9 100%);
  border-radius: 2px;
}

.datetime-title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #2196f3 0%, #1976d2 100%);
  border-radius: 3px;
}

.location-title-icon {
  font-size: 1.25rem;
  color: #7b5dfa;
  background: rgba(123, 93, 250, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.datetime-title-icon {
  font-size: 1.25rem;
  color: #2196f3;
  background: rgba(33, 150, 243, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 地点选择器样式 */
.location-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.location-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  flex-direction: row;
  flex-wrap: nowrap;
}

.location-note {
  margin-left: 0;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.location-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 12px;
}

.location-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.location-note {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #7b5dfa;
  background: rgba(123, 93, 250, 0.08);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(123, 93, 250, 0.1);
  font-weight: 500;
}

.note-icon {
  font-size: 0.875rem;
}

.note-text {
  white-space: nowrap;
}

.different-location-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #555;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(224, 231, 255, 0.8);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.different-location-switch:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch::before {
  content: "";
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.switch::after {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked + .switch::before {
  background-color: #7b5dfa;
}

input:checked + .switch::after {
  transform: translateX(20px);
}

.location-row {
  display: flex;
  gap: 6px;
}

.location-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: #f9f9f9;
  border-radius: 6px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.location-item:hover {
  background: #f5f5f5;
  border-color: #ddd;
}

.location-item.hidden {
  display: none;
}

.location-tag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 10px;
  color: white;
  flex-shrink: 0;
}

.pickup-tag {
  background: linear-gradient(135deg, #7b5dfa, #6a4de9);
}

.return-tag {
  background: linear-gradient(135deg, #ff6b6b, #ff5252);
}

.location-fields {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.city-select, .location-select {
  padding: 8px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 12px;
  color: #333;
  background: white;
  transition: all 0.2s;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px;
  padding-right: 28px;
}

.city-select:hover, .location-select:hover {
  border-color: #bbb;
}

.city-select:focus, .location-select:focus {
  outline: none;
  border-color: #7b5dfa;
  box-shadow: 0 0 0 3px rgba(123, 93, 250, 0.1);
}

.location-hint {
  margin-top: 12px;
  font-size: 13px;
  color: #ff6b6b;
  text-align: center;
  font-weight: 500;
  background: rgba(255, 107, 107, 0.08);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 107, 0.2);
}

/* 搜索按钮区域样式 */
.search-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(224, 231, 255, 0.5);
  margin-top: 6px;
}

.vehicle-type-selector {
  flex: 1;
}

.type-label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
}

.type-select-wrapper {
  position: relative;
}

.vehicle-type {
  width: 100%;
  padding: 10px 12px;
  padding-right: 36px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  background: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  transition: all 0.2s;
}

.vehicle-type:hover {
  border-color: #bbb;
}

.vehicle-type:focus {
  outline: none;
  border-color: #7b5dfa;
  box-shadow: 0 0 0 3px rgba(123, 93, 250, 0.1);
}

.search-button {
  flex-shrink: 0;
}

.search-btn-main {
  padding: 8px 16px;
  background: linear-gradient(135deg, #7b5dfa 0%, #6a4de9 50%, #5949d8 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 3px 8px rgba(123, 93, 250, 0.25),
    0 1px 3px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.search-btn-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 50%, 
    transparent 100%);
  transition: left 0.6s ease;
}

.search-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px rgba(123, 93, 250, 0.35),
    0 3px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #6a4de9 0%, #5949d8 50%, #4834c7 100%);
}

.search-btn-main:hover::before {
  left: 100%;
}

.search-btn-main:active {
  transform: translateY(-1px);
  box-shadow: 
    0 4px 12px rgba(123, 93, 250, 0.25),
    0 1px 4px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.search-btn-text {
  font-size: 16px;
  font-weight: 700;
}

.search-btn-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 车辆筛选条样式 */
.car-filter-bar {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid #f0f0f0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}

.filter-group {
  flex: 1;
  min-width: 160px;
}

.filter-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: white;
  transition: all 0.2s;
}

.filter-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 32px;
}

.filter-group input {
  background-image: none;
  padding-right: 12px;
}

.filter-group select:hover,
.filter-group input:hover {
  border-color: #bbb;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: #7b5dfa;
  box-shadow: 0 0 0 3px rgba(123, 93, 250, 0.1);
}

.filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.btn-filter,
.btn-reset {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}

.btn-filter {
  background: linear-gradient(135deg, #7b5dfa, #6a4de9);
  color: white;
  box-shadow: 0 3px 8px rgba(123, 93, 250, 0.2);
}

.btn-filter:hover {
  background: linear-gradient(135deg, #6a4de9, #5949d8);
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(123, 93, 250, 0.3);
}

.btn-reset {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #e0e0e0;
}

.btn-reset:hover {
  background: #e8e8e8;
  color: #333;
  border-color: #ccc;
}

/* 移动端响应式 */
@media (max-width: 768px) {
  /* 日期时间选择器移动端样式 */
  .datetime-modal-content {
    width: 95%;
    border-radius: 12px;
  }
  
  .datetime-modal-body {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    max-height: 60vh;
  }
  
  .timepicker-hours {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .datetime-modal-footer {
    padding: 16px 20px;
  }
  
  /* 搜索面板移动端样式 */
  .car-search-panel {
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 12px;
  }
  
  .location-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
  }
  
  .location-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
  }
  
  .location-title {
    gap: 6px;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  
  .location-note {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.65rem;
    padding: 3px 6px;
    gap: 3px;
  }
  
  .note-icon {
    font-size: 0.75rem;
  }
  
  .note-text {
    font-size: 0.65rem;
  }
  
  .different-location-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 8px;
    white-space: nowrap;
  }
  
  .switch-label {
    font-size: 0.65rem;
  }
  
  .location-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .datetime-horizontal-grid {
    /* 保持水平三列布局，即使在移动端 */
    flex-direction: row;
    gap: 6px; /* 进一步缩小间隙以适应小屏幕 */
  }
  
  .datetime-horizontal {
    min-height: 54px; /* 减少40%高度以适应移动端 */
    padding: 8px;
    width: auto; /* 不强制100%宽度，让flex自动分配 */
    flex: 1; /* 每个项目平均分配空间 */
  }
  
  .datetime-horizontal.days-horizontal {
    min-height: 48px;
    padding: 6px;
  }
  
  .date-number-horizontal {
    font-size: 14px; /* 减少40%字体大小 */
  }
  
  .days-number-horizontal {
    font-size: 13px; /* 减少40%字体大小 */
  }
  
  .datetime-main-horizontal {
    gap: 6px; /* 减小间隙 */
  }
  
  .month-time-horizontal {
    font-size: 11px; /* 减小字体大小 */
  }
  
  .full-date-horizontal {
    font-size: 10px; /* 减小字体大小 */
  }
  
  .datetime-container {
    padding: 4px;
    border-radius: 6px;
    margin-top: 3px;
  }
  
  .month-time-horizontal {
    font-size: 9px; /* 减少40% */
  }
  
  .full-date-horizontal {
    font-size: 8px; /* 减少40% */
  }
  }
  
  .date-helper-horizontal {
    font-size: 11px; /* 减小字体大小 */
  }
  
  .search-section {
    flex-direction: column;
    gap: 16px;
  }
  
  .vehicle-type-selector,
  .search-button {
    width: 100%;
  }
  
  .search-btn-main {
    width: 100%;
    justify-content: center;
    padding: 16px;
  }
  
  .location-tag {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .city-select, .location-select {
    font-size: 13px;
    padding: 9px 10px;
    padding-right: 30px;
  }
  
  .vehicle-type {
    padding: 10px 12px;
    padding-right: 36px;
    font-size: 14px;
  }
  
  /* 调整标题间距 */
  .location-title, .datetime-title {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  /* 车辆筛选条移动端样式 */
  .car-filter-bar {
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 10px;
  }
  
  .filter-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .filter-group {
    min-width: 100%;
  }
  
  .filter-group select,
  .filter-group input {
    padding: 9px 10px;
    font-size: 13px;
  }
  
  .filter-group select {
    padding-right: 30px;
  }
  
  .filter-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .btn-filter,
  .btn-reset {
    flex: 1;
    padding: 12px;
    font-size: 13px;
  }
}

/* 超小屏幕设备（480px以下） */
@media (max-width: 480px) {
  .datetime-horizontal-grid {
    gap: 3px; /* 进一步缩小间隙 */
  }
  
  .datetime-horizontal {
    min-height: 32px; /* 在移动端基础上再减少40%高度 */
    padding: 4px;
  }
  
  .datetime-horizontal.days-horizontal {
    min-height: 28px;
    padding: 3px;
  }
  
  .date-number-horizontal {
    font-size: 8px;
  }
  
  .days-number-horizontal {
    font-size: 8px;
  }
  
  .month-time-horizontal {
    font-size: 7px;
  }
  
  .full-date-horizontal {
    font-size: 6px;
  }
  
  /* 超小屏幕设备的地点标题行优化 */
  .location-header {
    gap: 8px;
    flex-wrap: nowrap;
    align-items: flex-start;
  }
  
  .location-title-wrapper {
    gap: 4px;
    flex-direction: column;
  }
  
  .location-title {
    gap: 6px;
    flex-direction: row;
    flex-wrap: nowrap;
    font-size: 0.9rem;
    white-space: nowrap;
  }
  
  .location-title-icon {
    font-size: 1rem;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
  
  .location-note {
    font-size: 0.65rem;
    padding: 2px 6px;
    gap: 3px;
    white-space: nowrap;
  }
  
  .note-icon {
    font-size: 0.75rem;
  }
  
  .note-text {
    font-size: 0.65rem;
  }
  
  .different-location-switch {
    font-size: 0.7rem;
    padding: 4px 8px;
    gap: 6px;
    white-space: nowrap;
  }
  
  .switch-label {
    font-size: 0.65rem;
  }
  
  .datetime-container {
    padding: 3px;
    border-radius: 4px;
    margin-top: 2px;
  }
  
  .date-helper-horizontal {
    font-size: 8px;
  }
}

/* ============================================
   车辆列表网格布局
   ============================================ */

/* 车辆网格容器 */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 电脑端每行4个卡片 */
  gap: 12px;
  margin-top: 16px;
  padding: 0 8px;
}

/* 车辆卡片样式 */
.car-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #e0e0e0;
}

/* 车辆图片区域 */
.car-card-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #f8f9fa;
}

.car-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.car-card:hover .car-card-image img {
  transform: scale(1.05);
}

/* 车辆内容区域 */
.car-card-content {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.car-card-category {
  font-size: 10px;
  font-weight: 600;
  color: #7b5dfa;
  background: rgba(123, 93, 250, 0.1);
  padding: 3px 6px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 8px;
  align-self: flex-start;
}

.car-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* 车辆规格 */
.car-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.car-spec {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #666;
}

.car-spec-icon {
  font-size: 14px;
  opacity: 0.8;
}

/* 车辆特性标签 */
.car-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.car-feature-tag {
  font-size: 11px;
  background: #f5f5f5;
  color: #666;
  padding: 4px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

/* 车辆底部区域 */
.car-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.car-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.car-price-amount {
  font-size: 24px;
  font-weight: 800;
  color: #ff6b6b;
}

.car-price-amount span {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  margin-left: 2px;
}

/* 立即预订按钮 */
.car-card-action {
  flex-shrink: 0;
}

.btn-book-car {
  padding: 10px 20px;
  background: linear-gradient(135deg, #7b5dfa, #6a4de9);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 3px 8px rgba(123, 93, 250, 0.2);
  white-space: nowrap;
}

.btn-book-car:hover {
  background: linear-gradient(135deg, #6a4de9, #5949d8);
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(123, 93, 250, 0.3);
}

.btn-book-car:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(123, 93, 250, 0.2);
}

/* 移动端响应式样式 */
@media (max-width: 1024px) {
  .cars-grid {
    grid-template-columns: repeat(3, 1fr); /* 平板端每行3个卡片 */
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .cars-grid {
    grid-template-columns: repeat(2, 1fr); /* 移动端每行2个卡片 */
    gap: 8px; /* 减少33% */
    margin-top: 10px; /* 减少50% */
    padding: 0 4px; /* 减少50% */
  }
  
  .car-card {
    border-radius: 10px; /* 减少17% */
  }
  
  .car-card-image {
    height: 70px; /* 减少50% */
  }
  
  .car-card-content {
    padding: 6px; /* 减少50% */
  }
  
  .car-card-category {
    font-size: 8px; /* 减少20% */
    padding: 2px 4px; /* 减少33% */
    margin-bottom: 4px; /* 减少50% */
  }
  
  .car-card-title {
    font-size: 12px; /* 减少20% */
    margin-bottom: 6px; /* 减少40% */
    line-height: 1.1;
  }
  
  .car-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px; /* 减少33% */
    margin-bottom: 6px; /* 减少40% */
  }
  
  .car-spec {
    font-size: 9px; /* 减少18% */
    gap: 2px; /* 减少50% */
  }
  
  .car-spec-icon {
    font-size: 12px; /* 减少14% */
  }
  
  .car-card-features {
    gap: 2px; /* 减少50% */
    margin-bottom: 8px; /* 减少33% */
  }
  
  .car-feature-tag {
    font-size: 8px; /* 减少20% */
    padding: 1px 4px; /* 减少50% */
  }
  
  .car-card-footer {
    padding-top: 6px; /* 减少50% */
  }
  
  .car-price-amount {
    font-size: 14px; /* 减少22% */
  }
  
  .car-price-amount span {
    font-size: 9px; /* 减少18% */
  }
  
  .car-card-action {
    flex-shrink: 0;
  }
  
  .btn-book-car {
    padding: 4px 8px; /* 减少33% */
    font-size: 10px; /* 减少17% */
    border-radius: 6px; /* 减少25% */
  }
}

@media (max-width: 480px) {
  .cars-grid {
    gap: 6px; /* 减少25% */
    padding: 0 2px; /* 减少50% */
  }
  
  .car-card {
    border-radius: 8px; /* 减少20% */
  }
  
  .car-card-image {
    height: 60px; /* 减少50% */
  }
  
  .car-card-content {
    padding: 5px; /* 减少50% */
  }
  
  .car-card-category {
    font-size: 7px; /* 减少22% */
    padding: 1px 3px; /* 减少40% */
    margin-bottom: 3px; /* 减少50% */
  }
  
  .car-card-title {
    font-size: 11px; /* 减少21% */
    margin-bottom: 5px; /* 减少38% */
  }
  
  .car-specs {
    gap: 3px; /* 减少25% */
    margin-bottom: 5px; /* 减少38% */
  }
  
  .car-spec {
    font-size: 8px; /* 减少20% */
  }
  
  .car-spec-icon {
    font-size: 10px; /* 减少17% */
  }
  
  .car-card-features {
    margin-bottom: 6px; /* 减少40% */
  }
  
  .car-feature-tag {
    font-size: 7px; /* 减少22% */
    padding: 1px 3px; /* 减少50% */
  }
  
  .car-card-footer {
    padding-top: 5px; /* 减少50% */
  }
  
  .car-price-amount {
    font-size: 12px; /* 减少25% */
  }
  
  .car-price-amount span {
    font-size: 8px; /* 减少20% */
  }
  
  .btn-book-car {
    padding: 3px 6px; /* 减少40% */
    font-size: 9px; /* 减少18% */
    border-radius: 5px; /* 减少17% */
  }
}

/* 车辆列表空状态 */
.cars-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.cars-empty-state-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.cars-empty-state-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 10px;
}

.cars-empty-state-message {
  font-size: 1rem;
  color: #999;
  max-width: 500px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .cars-empty-state {
    padding: 40px 16px;
    min-height: 300px;
  }
  
  .cars-empty-state-icon {
    font-size: 3rem;
    margin-bottom: 16px;
  }
  
  .cars-empty-state-title {
    font-size: 1.25rem;
  }
  
  .cars-empty-state-message {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .cars-empty-state {
    padding: 30px 12px;
    min-height: 250px;
  }
  
  .cars-empty-state-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }
  
  .cars-empty-state-title {
    font-size: 1.1rem;
  }
  
  .cars-empty-state-message {
    font-size: 0.85rem;
  }
}

/* 加载状态 */
.cars-loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.cars-loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #7b5dfa;
  border-radius: 50%;
  animation: cars-spin 1s linear infinite;
  margin-bottom: 20px;
}

.cars-loading-text {
  font-size: 1rem;
  color: #666;
}

@keyframes cars-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .cars-loading-state {
    padding: 40px 16px;
    min-height: 300px;
  }
  
  .cars-loading-spinner {
    width: 50px;
    height: 50px;
    border-width: 3px;
  }
}

@media (max-width: 480px) {
  .cars-loading-state {
    padding: 30px 12px;
    min-height: 250px;
  }
  
  .cars-loading-spinner {
    width: 40px;
    height: 40px;
  }
  
  .cars-loading-text {
    font-size: 0.9rem;
  }
}

/* ============================================
   租车/包车页签样式
   ============================================ */

/* 页签容器 */
.car-rental-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 4px;
}

.car-rental-tab {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.car-rental-tab:hover {
  background: #f9f9f9;
  border-color: #e0e0e0;
  transform: translateY(-1px);
}

.car-rental-tab.active {
  color: #7b5dfa;
  background: rgba(123, 93, 250, 0.1);
  border-color: #7b5dfa;
  box-shadow: 0 2px 8px rgba(123, 93, 250, 0.15);
}

.car-rental-tab.active::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 0;
  right: 0;
  height: 3px;
  background: #7b5dfa;
  border-radius: 3px 3px 0 0;
}

.car-rental-tab-icon {
  margin-right: 8px;
  font-size: 18px;
}

.car-rental-tab-rental .car-rental-tab-icon {
  color: #4CAF50;
}

.car-rental-tab-charter .car-rental-tab-icon {
  color: #2196F3;
}

/* 包车价格标签 */
.car-price-charter-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #2196F3;
  background: rgba(33, 150, 243, 0.1);
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
  vertical-align: middle;
}

/* 移动端响应式样式 */
@media (max-width: 768px) {
  .car-rental-tabs {
    gap: 3px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    justify-content: center;
  }
  
  .car-rental-tab {
    padding: 5px 8px;
    font-size: 13px;
    min-height: 20px;
    flex: 1;
    text-align: center;
  }
  
  .car-rental-tab-icon {
    font-size: 16px;
    margin-right: 6px;
  }
  
  .car-rental-tab.active::after {
    bottom: -13px;
  }
}

@media (max-width: 480px) {
  .car-rental-tabs {
    gap: 2px;
    margin-bottom: 8px;
    padding-bottom: 5px;
  }
  
  .car-rental-tab {
    padding: 4px 6px;
    font-size: 12px;
    min-height: 36px;
  }
  
  .car-rental-tab-icon {
    font-size: 14px;
    margin-right: 4px;
  }
}

/* ============================================
   高端背景设计
   ============================================ */

/* 页面整体背景 - 渐变效果 */
body.car-page {
  background: linear-gradient(135deg, 
    #f8f9fa 0%, 
    #f0f5ff 25%, 
    #e8f1ff 50%, 
    #f0f5ff 75%, 
    #f8f9fa 100%);
  background-attachment: fixed;
  position: relative;
  min-height: 100vh;
}

/* 顶部装饰性渐变条 */
.car-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(135deg, 
    rgba(123, 93, 250, 0.1) 0%, 
    rgba(100, 77, 211, 0.05) 25%, 
    rgba(78, 61, 172, 0.02) 50%, 
    transparent 100%);
  z-index: -1;
  pointer-events: none;
}

/* 底部装饰性渐变条 */
.car-page::after {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to top, 
    rgba(123, 93, 250, 0.08) 0%, 
    rgba(100, 77, 211, 0.04) 25%, 
    rgba(78, 61, 172, 0.02) 50%, 
    transparent 100%);
  z-index: -1;
  pointer-events: none;
}

/* 页面内容区域背景 */
.car-page .container {
  position: relative;
  z-index: 1;
}

/* 租车搜索面板美化 */
.car-search-panel {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 
    0 8px 32px rgba(123, 93, 250, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.car-search-panel:hover {
  box-shadow: 
    0 12px 48px rgba(123, 93, 250, 0.07),
    0 4px 16px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* 搜索面板顶部装饰 */
.car-search-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, 
    #7b5dfa 0%, 
    #6a4de9 25%, 
    #5949d8 50%, 
    #6a4de9 75%, 
    #7b5dfa 100%);
  border-radius: 24px 24px 0 0;
  opacity: 0.8;
}

/* 搜索面板角标装饰 */
.car-search-panel::after {
  content: '';
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, 
    rgba(123, 93, 250, 0.1) 0%, 
    rgba(123, 93, 250, 0.05) 100%);
  border-radius: 12px;
  transform: rotate(45deg);
  z-index: 1;
  pointer-events: none;
}

/* 车辆网格容器背景 */
.cars-grid-container {
  position: relative;
  padding: 24px 0 48px;
}

/* 车辆列表内容布局 */
.cars-main-content .cars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 电脑端每行4个卡片 */
  gap: 12px;
  margin-top: 16px;
  padding: 0 8px;
}

@media (max-width: 1024px) {
  .cars-main-content .cars-grid {
    grid-template-columns: repeat(3, 1fr); /* 平板端每行3个卡片 */
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .cars-main-content .cars-grid {
    grid-template-columns: repeat(2, 1fr); /* 移动端每行2个卡片 */
    gap: 8px; /* 减少33% */
    margin-top: 10px; /* 减少50% */
    padding: 0 4px; /* 减少50% */
  }
  
  /* 当有左侧分类栏时，调整车辆网格的边距 */
  .cars-content-layout .cars-main-content .cars-grid {
    margin-top: 0;
    padding: 0 0 0 8px;
  }
}

@media (max-width: 480px) {
  .cars-main-content .cars-grid {
    gap: 6px; /* 减少25% */
    padding: 0 2px; /* 减少50% */
  }
  
  /* 当有左侧分类栏时，调整车辆网格的边距 */
  .cars-content-layout .cars-main-content .cars-grid {
    padding: 0 0 0 6px;
  }
}

/* 车辆卡片增强效果 */
.car-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(248, 249, 250, 0.98) 100%);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.05),
    0 2px 6px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-card:hover {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 1) 0%, 
    rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 
    0 12px 32px rgba(123, 93, 250, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* 页面头部美化 */
.car-page-header {
  background: linear-gradient(135deg, 
    rgba(123, 93, 250, 0.1) 0%, 
    rgba(100, 77, 211, 0.05) 50%, 
    transparent 100%);
  padding: 6px 0;
  margin-bottom: 10px;
  border-radius: 0 0 16px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(123, 93, 250, 0.04);
}

.car-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, 
      rgba(123, 93, 250, 0.05) 0%, 
      transparent 70%),
    radial-gradient(circle at 80% 30%, 
      rgba(100, 77, 211, 0.04) 0%, 
      transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.car-header-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.car-header-title {
  font-size: 1rem;
  font-weight: 800;
  color: #1a1f35;
  margin-bottom: 4px;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.car-header-subtitle {
  font-size: 0.7rem;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.2;
  opacity: 0.9;
}

.car-header-features {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.header-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.03),
    0 1px 0 rgba(255, 255, 255, 0.8);
  min-width: 60px;
  transition: all 0.3s ease;
}

.header-feature:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-0.5px);
  box-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-icon {
  font-size: 1rem;
  display: block;
  margin-bottom: 1px;
}

.feature-text {
  font-size: 0.65rem;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

/* 页签增强效果 */
.car-rental-tabs {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 8px 16px;
  margin: 0 auto 16px;
  max-width: 500px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 2px 8px rgba(123, 93, 250, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* 装饰性浮动元素 */
.car-bg-decoration {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
}

.car-bg-decoration-1 {
  top: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, 
    rgba(123, 93, 250, 0.1) 0%, 
    transparent 70%);
  filter: blur(40px);
}

.car-bg-decoration-2 {
  bottom: 10%;
  right: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, 
    rgba(100, 77, 211, 0.08) 0%, 
    transparent 70%);
  filter: blur(60px);
}

/* 加载状态和空状态背景增强 */
.cars-loading-state,
.cars-empty-state {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* 移动端背景优化 */
@media (max-width: 768px) {
  .car-search-panel {
    border-radius: 20px;
    backdrop-filter: blur(8px);
  }
  
  .car-page-header {
    padding: 12px 0;
    margin-bottom: 10px;
  }
  
  .car-rental-tabs {
    padding: 6px 10px;
    max-width: 400px;
  }
  
  .car-bg-decoration-1,
  .car-bg-decoration-2 {
    display: none; /* 在移动端隐藏装饰元素以提升性能 */
  }
}

/* Safari桌面端优化 */
.safari-desktop .car-search-panel,
.safari-desktop .car-card,
.safari-desktop .cars-loading-state,
.safari-desktop .cars-empty-state {
  backdrop-filter: none; /* Safari对backdrop-filter支持有限 */
  background: rgba(255, 255, 255, 0.98);
}

/* 移动端分类标签样式 */
.category-sidebar-mobile {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 12px;
  padding: 0 8px;
}

/* 桌面端分类标签样式 - 调整为垂直布局 */
@media (min-width: 769px) {
  .category-sidebar-mobile {
    display: block;
    margin-bottom: 20px;
    padding: 0;
  }
  
  .category-tabs-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow-x: visible;
    padding: 0;
  }
  
  .category-tab-mobile {
    padding: 10px 20px;
    font-size: 14px;
  }
}

.category-tabs-mobile {
  display: flex;
  gap: 8px;
  padding-bottom: 12px;
  padding-right: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox隐藏滚动条 */
  -ms-overflow-style: none; /* IE/Edge隐藏滚动条 */
}

.category-tabs-mobile::-webkit-scrollbar {
  display: none; /* Chrome/Safari隐藏滚动条 */
}

.category-tab-mobile {
  padding: 8px 16px;
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  font-size: 13px;
  color: #666;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.category-tab-mobile:hover {
  border-color: #e0e0e0;
  background: #f9f9f9;
}

.category-tab-mobile.active {
  background: linear-gradient(135deg, #E6007E 0%, #CC0066 100%);
  color: white;
  border-color: #E6007E;
  font-weight: 600;
}

@media (max-width: 480px) {
  .category-tab-mobile {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .category-tabs-mobile {
    gap: 6px;
  }
}

/* 手机端左侧分类栏样式 */
.cars-content-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (max-width: 768px) {
  .cars-content-layout {
    flex-direction: row;
    gap: 16px;
    margin-top: 16px;
  }
  
  .mobile-category-sidebar {
    width: 120px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 16px 0;
    position: fixed;
    top: 100px;
    left: 16px;
    bottom: 80px;
    z-index: 90;
    overflow-y: auto;
  }
  
  .category-sidebar-header {
    padding: 0 16px 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
  }
  
  .category-sidebar-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
  }
  
  .category-sidebar-list {
    padding: 0;
  }
  
  .category-sidebar-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
  }
  
  .category-sidebar-item:hover {
    background: #f9f9f9;
  }
  
  .category-sidebar-item.active {
    background: linear-gradient(90deg, rgba(230, 0, 126, 0.1) 0%, rgba(230, 0, 126, 0.05) 100%);
    border-left: 3px solid #E6007E;
    color: #E6007E;
  }
  
  .category-icon {
    font-size: 16px;
    margin-right: 8px;
    width: 24px;
    text-align: center;
  }
  
  .category-text {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .category-sidebar-item.active .category-text {
    font-weight: 600;
  }
  
  .cars-main-content {
    flex: 1;
    min-width: 0; /* 防止flex子项溢出 */
    margin-left: 136px; /* 120px分类栏宽度 + 16px间隙 */
  }
}

/* 桌面端隐藏左侧分类栏，保留顶部分类标签 */
@media (min-width: 769px) {
  .mobile-category-sidebar {
    display: none;
  }
  
  .cars-content-layout {
    display: block;
  }
  
  .cars-main-content {
    width: 100%;
  }
  
  /* 恢复原有的水平分类标签，但调整样式使其更美观 */
  .category-sidebar-mobile {
    display: block;
    margin-bottom: 20px;
    padding: 0;
  }
  
  .category-tabs-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    overflow-x: visible;
    padding: 0;
    max-width: 100%;
  }
  
  .category-tab-mobile {
    padding: 10px 24px;
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 25px;
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .category-tab-mobile:hover {
    border-color: #E6007E;
    color: #E6007E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 0, 126, 0.1);
  }
  
  .category-tab-mobile.active {
    background: linear-gradient(135deg, #E6007E 0%, #CC0066 100%);
    color: white;
    border-color: #E6007E;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(230, 0, 126, 0.2);
  }
}

/* 小屏幕手机优化 */
@media (max-width: 360px) {
  .mobile-category-sidebar {
    width: 100px;
    left: 12px; /* 小屏幕调整左边距 */
  }
  
  .cars-main-content {
    margin-left: 116px; /* 100px分类栏宽度 + 16px间隙 */
  }
  
  .category-text {
    font-size: 12px;
  }
  
  .category-icon {
    font-size: 14px;
    margin-right: 6px;
  }
}

/* ============================================
   车辆详情页样式
   ============================================ */

/* 车辆详情页容器 */
.car-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 面包屑导航 */
.car-detail-breadcrumb {
  margin-bottom: 20px;
  color: #666;
  font-size: 14px;
}

.car-detail-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.car-detail-breadcrumb a:hover {
  color: #E6007E;
}

/* 车辆详情头部 */
.car-detail-header {
  margin-bottom: 24px;
}

.car-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1f35;
  margin-bottom: 8px;
}

.car-detail-category {
  display: inline-block;
  background: linear-gradient(135deg, #E6007E 0%, #CC0066 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* 车辆详情主布局 */
.car-detail-main {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  margin-bottom: 40px;
}

/* 车辆图片区域 */
.car-detail-images {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.car-main-image-container {
  position: relative;
  width: 100%;
  padding-top: 66.67%; /* 3:2 宽高比 */
  overflow: hidden;
}

.car-main-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.car-main-image:hover {
  transform: scale(1.02);
}

.car-thumbnails {
  display: flex;
  gap: 10px;
  padding: 15px;
  background: #f8f9fa;
}

.car-thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.car-thumbnail:hover,
.car-thumbnail.active {
  border-color: #E6007E;
  transform: translateY(-2px);
}

/* 车辆信息侧边栏 */
.car-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 价格卡片 */
.car-price-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.car-price-header {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.car-price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.car-price-currency {
  font-size: 24px;
  font-weight: 700;
  color: #E6007E;
}

.car-price-amount {
  font-size: 48px;
  font-weight: 700;
  color: #E6007E;
  line-height: 1;
}

.car-price-unit {
  font-size: 16px;
  color: #999;
}

.car-price-note {
  font-size: 12px;
  color: #999;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* 预订按钮 */
.car-book-btn {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #E6007E 0%, #CC0066 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 0, 126, 0.3);
}

.car-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 0, 126, 0.4);
}

.car-book-btn:active {
  transform: translateY(0);
}

/* 车辆规格卡片 */
.car-specs-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.car-specs-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1f35;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.car-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.car-spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 10px;
}

.car-spec-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #E6007E 0%, #CC0066 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.car-spec-content {
  flex: 1;
}

.car-spec-label {
  font-size: 12px;
  color: #999;
  margin-bottom: 2px;
}

.car-spec-value {
  font-size: 14px;
  font-weight: 600;
  color: #1a1f35;
}

/* 车辆特性 */
.car-features-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.car-features-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1f35;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.car-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.car-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(230, 0, 126, 0.1) 0%, rgba(204, 0, 102, 0.1) 100%);
  color: #E6007E;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* 车辆描述 */
.car-description-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.car-description-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1f35;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.car-description-content {
  line-height: 1.8;
  color: #666;
  font-size: 14px;
}

/* 移动端响应式 */
@media (max-width: 768px) {
  .car-detail-container {
    padding: 16px;
  }
  
  .car-detail-title {
    font-size: 22px;
  }
  
  .car-detail-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .car-main-image-container {
    padding-top: 75%; /* 4:3 宽高比 */
  }
  
  .car-thumbnails {
    padding: 12px;
    gap: 8px;
    overflow-x: auto;
  }
  
  .car-thumbnail {
    width: 70px;
    height: 52px;
    flex-shrink: 0;
  }
  
  .car-price-amount {
    font-size: 36px;
  }
  
  .car-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .car-spec-item {
    padding: 10px;
  }
  
  .car-spec-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .car-detail-title {
    font-size: 20px;
  }
  
  .car-price-card,
  .car-specs-card,
  .car-features-card,
  .car-description-card {
    padding: 16px;
  }
  
  .car-price-amount {
    font-size: 32px;
  }
  
  .car-book-btn {
    padding: 14px 24px;
    font-size: 16px;
  }
  
  .car-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .car-spec-label {
    font-size: 11px;
  }
  
  .car-spec-value {
    font-size: 13px;
  }
}

/* ============================================
   预订弹窗样式
   ============================================ */

/* 弹窗遮罩层 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 弹窗内容 */
.booking-modal {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 关闭按钮 */
.booking-modal .close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.booking-modal .close:hover {
  background: #e0e0e0;
  color: #333;
  transform: rotate(90deg);
}

/* 弹窗标题 */
.booking-modal h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1f35;
  margin: 0;
  padding: 24px 24px 0;
  text-align: center;
}

/* 表单容器 */
.booking-modal form {
  padding: 24px;
}

/* 预订步骤 */
.booking-step {
  margin-bottom: 24px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
}

.booking-step.active {
  background: linear-gradient(135deg, rgba(230, 0, 126, 0.05) 0%, rgba(204, 0, 102, 0.05) 100%);
  border-color: rgba(230, 0, 126, 0.2);
}

/* 步骤头部 */
.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.step-number {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #E6007E 0%, #CC0066 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1f35;
}

/* 日期选择器组 */
.date-picker-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.date-picker-inline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.date-picker-inline label {
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.date-picker-inline input[type="date"] {
  padding: 12px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-size: 15px;
  color: #333;
  background: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.date-picker-inline input[type="date"]:focus {
  outline: none;
  border-color: #E6007E;
  box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.1);
}

/* 租期摘要 */
.booking-summary-mini {
  margin-top: 12px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(230, 0, 126, 0.1) 0%, rgba(204, 0, 102, 0.1) 100%);
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.booking-summary-mini strong {
  color: #E6007E;
  font-weight: 600;
}

/* 地点选择 */
.location-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}

.location-select-inline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.location-select-inline label {
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.location-select-inline select {
  padding: 12px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-size: 15px;
  color: #333;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.location-select-inline select:focus {
  outline: none;
  border-color: #E6007E;
  box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.1);
}

/* 地点切换复选框 */
.location-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #E6007E;
  cursor: pointer;
}

/* 客户信息表单 */
.customer-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-size: 15px;
  color: #333;
  background: white;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #E6007E;
  box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* 订单摘要 */
.booking-summary-modal {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #e8e8e8;
}

.booking-summary-modal h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1f35;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8e8e8;
}

.summary-car-info-modal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 10px;
  margin-bottom: 16px;
}

.summary-car-info-modal img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 8px;
}

.summary-car-info-modal .car-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1f35;
}

.summary-divider {
  height: 1px;
  background: #e8e8e8;
  margin: 12px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: #666;
}

.summary-row .highlight {
  color: #E6007E;
  font-weight: 600;
}

.summary-row.total {
  font-size: 16px;
  font-weight: 600;
  color: #1a1f35;
  padding-top: 12px;
  border-top: 2px solid #e8e8e8;
  margin-top: 8px;
}

.summary-row.total .amount {
  font-size: 24px;
  font-weight: 700;
  color: #E6007E;
}

/* 预订提示 */
.booking-tips {
  margin-top: 16px;
  padding: 16px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 10px;
  border-left: 4px solid #ffc107;
}

.booking-tips p {
  font-size: 14px;
  font-weight: 600;
  color: #1a1f35;
  margin: 0 0 10px 0;
}

.booking-tips ul {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

.booking-tips li {
  margin-bottom: 4px;
}

/* 按钮组 */
.booking-actions-modal {
  display: flex;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #e8e8e8;
}

.booking-actions-modal .btn-secondary,
.booking-actions-modal .btn-primary {
  flex: 1;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.booking-actions-modal .btn-secondary {
  background: #f5f5f5;
  color: #666;
}

.booking-actions-modal .btn-secondary:hover {
  background: #e8e8e8;
}

.booking-actions-modal .btn-primary {
  background: linear-gradient(135deg, #E6007E 0%, #CC0066 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(230, 0, 126, 0.3);
}

.booking-actions-modal .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 0, 126, 0.4);
}

/* 移动端响应式 */
@media (max-width: 600px) {
  .modal {
    padding: 0;
    align-items: flex-end;
  }
  
  .booking-modal {
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    animation: modalSlideUp 0.3s ease;
  }
  
  @keyframes modalSlideUp {
    from {
      opacity: 0;
      transform: translateY(100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .booking-modal h2 {
    font-size: 20px;
    padding: 20px 20px 0;
  }
  
  .booking-modal form {
    padding: 20px;
  }
  
  .booking-step {
    padding: 16px;
    margin-bottom: 16px;
  }
  
  .date-picker-group,
  .location-pair,
  .customer-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .step-title {
    font-size: 15px;
  }
  
  .summary-row.total .amount {
    font-size: 20px;
  }
  
  .booking-actions-modal {
    flex-direction: column;
  }
  
  .booking-actions-modal .btn-secondary,
  .booking-actions-modal .btn-primary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .booking-modal h2 {
    font-size: 18px;
  }
  
  .step-number {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  
  .step-title {
    font-size: 14px;
  }
  
  .date-picker-inline input[type="date"],
  .location-select-inline select,
  .form-group input,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 14px;
  }
  
  .booking-summary-modal {
    padding: 16px;
  }
  
  .booking-tips {
    padding: 12px;
  }
  
  .booking-tips ul {
    font-size: 12px;
  }
}

