/* Car Booking Hawaii - Modern Compact Design */
* {
  box-sizing: border-box;
}

/* Container */
.cbh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Step Spacing */
.cbh-step-spacer {
  height: 40px;
  margin: 20px 0;
}

/* Progress Bar */
.cbh-progress-bar {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin-bottom: 25px;
}

.cbh-progress-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.cbh-step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.cbh-progress-step.active .cbh-step-icon {
  background: #198fd9;
  color: white;
}

.cbh-step-icon.completed {
  background: #28a745;
  color: white;
}

.cbh-step-title {
  font-size: 14px;
  font-weight: 600;
  color: #6c757d;
  text-align: center;
}

.cbh-progress-step.active .cbh-step-title {
  color: #198fd9;
}

.cbh-progress-line {
  height: 3px;
  background: #e9ecef;
  flex: 1;
  margin: 0 20px;
  border-radius: 2px;
  align-self: flex-start;
  margin-top: 25px;
}

.cbh-progress-line.completed {
  background: #198fd9;
}

/* Modern Cards */
.cbh-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 32px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.cbh-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
}

/* Typography */
.cbh-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 30px 0;
  color: #2c3e50;
}

.cbh-section-title {
  font-size: 14px;
  font-weight: 600;
  margin: 8px 0;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cbh-section-title.insurance-title {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: #1976d2;
  border: 1px solid #90caf9;
}

.cbh-section-title.addons-title {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #388e3c;
  border: 1px solid #a5d6a7;
}

.cbh-section-title::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cbh-section-title.insurance-title::before {
  background: #2196f3;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.2);
}

.cbh-section-title.addons-title::before {
  background: #4caf50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

/* Icons */
.cbh-icon-blue {
  color: #198fd9;
}

.cbh-icon-red {
  color: #dc3545;
}

/* Form Layout */
.cbh-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.cbh-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cbh-form-row-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.cbh-form-section {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
  border: 1px solid #e9ecef;
}

.cbh-form-group {
  margin-bottom: 20px;
}

.cbh-form-group:last-child {
  margin-bottom: 0;
}

.cbh-flex-grow {
  flex: 1;
}

/* Labels */
.cbh-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 6px;
}

/* Form Inputs */
.cbh-input,
.cbh-select,
.cbh-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  transition: all 0.2s ease;
  outline: none;
}

.cbh-input:focus,
.cbh-select:focus,
.cbh-textarea:focus {
  border-color: #198fd9;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

/* Buttons */
.cbh-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  outline: none;
}

.cbh-btn-primary {
  background: #198fd9;
  color: white;
}

.cbh-btn-primary:hover {
  background: #198fd9;
  transform: translateY(-1px);
}

.cbh-btn-secondary {
  background: #6c757d;
  color: white;
}

.cbh-btn-secondary:hover {
  background: #545b62;
}

.cbh-btn-large {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
}

/* Modern Button Styles */
.cbh-btn-outline {
  background: transparent;
  border: 2px solid #198fd9;
  color: #198fd9;
  font-weight: 600;
}

.cbh-btn-outline:hover {
  background: #198fd9;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.cbh-btn-modern {
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cbh-btn-modern span {
  margin-left: 4px;
}

/* Step 2 Specific Actions */
.cbh-step2-actions {
  display: flex;
  justify-content: flex-start;
  padding: 30px 0 20px 0;
  margin-top: 20px;
}

.cbh-step2-actions .cbh-btn {
  min-width: 160px;
}

/* Coupon Section */
.cbh-coupon-section {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 20px;
}

.cbh-coupon-row {
  display: flex;
  gap: 15px;
  align-items: end;
}

/* Form Actions */
.cbh-form-actions {
  text-align: center;
  padding-top: 10px;
  display: flex;
  gap: 15px;
  justify-content: right;
  align-items: center;
}

/* Start Fresh Button */
.cbh-start-fresh-btn {
  margin-left: 15px;
  background-color: transparent !important;
  border: 2px solid #6c757d !important;
  color: #6c757d !important;
  font-size: 14px;
  padding: 12px 20px;
}

.cbh-start-fresh-btn:hover {
  background-color: #6c757d !important;
  color: white !important;
  transform: translateY(-1px);
}

.cbh-start-fresh-btn i {
  margin-right: 8px;
}

/* Modern Search Summary */
.cbh-search-summary-container {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
  border: 1px solid #e1e9f4;
  border-radius: 12px;
  padding: 0;
  margin-bottom: 24px;
  overflow: hidden;
}

.cbh-search-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e1e9f4;
}

.cbh-search-summary-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.cbh-search-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.cbh-booking-data-group {
  padding: 20px;
  border-right: 1px solid #e1e9f4;
}

.cbh-booking-data-group:last-child {
  border-right: none;
}

.cbh-booking-data-header {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #3b82f6;
  display: inline-block;
}

.cbh-booking-data-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbh-booking-data-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #374151;
}

.cbh-booking-data-item i {
  font-size: 14px;
  width: 16px;
  text-align: center;
  color: #6b7280;
}

.cbh-booking-data-item strong {
  color: #1f2937;
}

.cbh-booking-data-item .fee-amount {
  color: #dc2626;
  font-weight: 600;
}

.cbh-search-info.duration i {
  color: #8b5cf6;
}

.cbh-btn-compact {
  padding: 6px 12px !important;
  font-size: 11px !important;
  min-height: auto !important;
  border-radius: 3px !important;
}

/* Modern Filters */
.cbh-filters-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.cbh-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cbh-filter-label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
}

.cbh-filter-select {
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 180px;
}

.cbh-filter-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.cbh-filter-select:hover {
  border-color: #9ca3af;
}

/* Vehicle Grid */
.cbh-vehicles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
  align-items: stretch;
}

.cbh-vehicle-card,
.vehicle-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 520px;
}

.vehicle-card img {
  margin: 0 !important;
}

.cbh-vehicle-card:hover,
.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border-color: #3b82f6;
}

.cbh-vehicle-card.selected,
.vehicle-card.selected {
  border-color: #3b82f6;
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.25);
  transform: translateY(-4px);
  background: #fafbff;
}

/* Sold Out Vehicle Card Styles */
.vehicle-card-sold-out {
  opacity: 0.7;
  cursor: not-allowed;
}

.vehicle-card-sold-out:hover {
  transform: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
  border-color: #e5e7eb !important;
}

.vehicle-card-sold-out .vehicle-content {
  color: #6b7280;
}

.vehicle-card-sold-out .vehicle-name {
  color: #9ca3af;
}

.vehicle-btn-disabled {
  background: #e5e7eb !important;
  color: #9ca3af !important;
  cursor: not-allowed !important;
}

.vehicle-btn-disabled:hover {
  background: #e5e7eb !important;
  transform: none !important;
}

/* Warning Banner for Sold Out Cars */
.cbh-warning-banner {
  background: #fef3cd;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.cbh-warning-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cbh-warning-content i {
  color: #d97706;
  font-size: 20px;
  flex-shrink: 0;
}

.cbh-warning-content h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #92400e;
}

.cbh-warning-content p {
  margin: 0;
  font-size: 14px;
  color: #92400e;
  line-height: 1.4;
}

/* Reservation Details Styles */
.cbh-reservation-details-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden;
}

.cbh-reservation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.cbh-reservation-title {
  font-weight: 600;
  font-size: 16px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cbh-reservation-title i {
  color: #3b82f6;
}

.cbh-reservation-header .cbh-section-subtitle {
  font-size: 12px;
  color: #6b7280;
  font-weight: 400;
}

.cbh-reservation-content {
  padding: 20px;
}

.cbh-reservation-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.cbh-reservation-section {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cbh-reservation-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: white;
}

.cbh-reservation-icon.pickup {
  background: #10b981;
}

.cbh-reservation-icon.return {
  background: #ef4444;
}

.cbh-reservation-info {
  flex: 1;
  min-width: 0;
}

.cbh-reservation-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.cbh-reservation-location {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
}

.cbh-reservation-address {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 6px;
  line-height: 1.3;
}

.cbh-reservation-datetime {
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
}

.cbh-reservation-datetime .date {
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
}

.cbh-reservation-datetime .time {
  font-size: 14px;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
}

.cbh-reservation-fee {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cbh-reservation-fee .fee-amount {
  font-size: 14px;
  font-weight: 600;
  color: #dc2626;
}

.cbh-reservation-fee .fee-description {
  font-size: 12px;
  color: #64748b;
}

.cbh-reservation-duration {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.cbh-duration-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, #10b981, #ef4444);
  border-radius: 1px;
  margin-bottom: 8px;
}

.cbh-duration-info {
  text-align: center;
  background: white;
  padding: 8px 12px;
  border-radius: 20px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cbh-duration-info .duration-days {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1;
}

.cbh-duration-info .duration-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cbh-reservation-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cbh-reservation-duration {
    order: -1;
    flex-direction: row;
    justify-content: center;
  }

  .cbh-duration-line {
    width: 60px;
    height: 2px;
    margin-bottom: 0;
    margin-right: 8px;
    background: linear-gradient(to right, #10b981, #ef4444);
  }

  .cbh-reservation-section.return {
    margin-top: 0;
  }

  .cbh-reservation-content {
    padding: 16px;
  }

  .cbh-reservation-header {
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .cbh-reservation-section {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .cbh-reservation-datetime {
    justify-content: center;
  }

  .cbh-reservation-fee {
    align-items: center;
  }
}

/* Step 3 Specific Styles */
.cbh-step3-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.cbh-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.cbh-section-header .cbh-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.cbh-section-header .cbh-section-title i {
  color: #3b82f6;
  font-size: 16px;
}

.cbh-section-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-top: 4px;
  display: block;
}

/* Selected Vehicle Styles */
.cbh-reservation-content .cbh-selected-vehicle-container,
.cbh-reservation-content .cbh-selected-vehicle-card {
  padding: 14px;
}

.cbh-selected-vehicle-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.cbh-selected-vehicle-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cbh-vehicle-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.cbh-vehicle-image-section {
  flex-shrink: 0;
}

.cbh-vehicle-image {
  width: 64px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
}

.cbh-vehicle-placeholder {
  width: 64px;
  height: 40px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.cbh-vehicle-placeholder i {
  font-size: 16px;
}

.cbh-vehicle-info {
  flex: 1;
  min-width: 0;
}

.cbh-vehicle-name {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 2px 0;
  line-height: 1.25;
}

.cbh-vehicle-year {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}

.cbh-vehicle-specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cbh-spec {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
}

.cbh-spec i {
  color: #9ca3af;
  font-size: 11px;
  width: 12px;
  text-align: center;
}

.cbh-vehicle-pricing {
  flex-shrink: 0;
  text-align: right;
  padding-left: 16px;
  border-left: 1px solid #f3f4f6;
}

.cbh-price-daily {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 4px;
}

.cbh-price-daily span {
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  margin-left: 2px;
}

.cbh-price-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.cbh-total-label {
  font-size: 10px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cbh-total-amount {
  font-size: 14px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #a7f3d0;
}

/* Compact Insurance Options Styles */
.cbh-reservation-content .cbh-insurance-compact {
  padding: 0;
}

.cbh-insurance-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
}

.cbh-insurance-row:hover {
  border-color: #3b82f6;
  background: #f8fafc;
}

.cbh-insurance-row:has(.cbh-insurance-radio:checked) {
  border-color: #3b82f6;
  background: #eff6ff;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.cbh-insurance-radio {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #3b82f6;
  cursor: pointer;
}

.cbh-insurance-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
}

.cbh-insurance-main {
  flex: 1;
  min-width: 0;
}

.cbh-insurance-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
}

.cbh-insurance-desc {
  display: block;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.3;
}

.cbh-insurance-price {
  text-align: right;
  padding-left: 12px;
}

.cbh-price-amount {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.cbh-price-period {
  font-size: 11px;
  color: #6b7280;
  margin-left: 2px;
}

.cbh-insurance-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 10px;
  transition: all 0.2s ease;
}

.cbh-insurance-row:has(.cbh-insurance-radio:checked) .cbh-insurance-check {
  background: #3b82f6;
  color: white;
}

.cbh-insurance-total {
  margin-top: 4px;
  padding: 3px 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 4px;
}

.cbh-total-amount {
  font-size: 11px;
  font-weight: 600;
  color: #059669;
}

.cbh-insurance-select {
  display: flex;
  align-items: center;
}

.cbh-radio-input {
  display: none;
}

.cbh-radio-button {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  transition: color 0.3s ease;
}

.cbh-radio-checkmark {
  width: 16px;
  height: 16px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

.cbh-radio-checkmark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 5px;
  height: 5px;
  background: #3b82f6;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.cbh-radio-input:checked + .cbh-radio-button .cbh-radio-checkmark {
  border-color: #3b82f6;
}

.cbh-radio-input:checked + .cbh-radio-button .cbh-radio-checkmark::after {
  transform: translate(-50%, -50%) scale(1);
}

.cbh-radio-input:checked + .cbh-radio-button .cbh-radio-label {
  color: #3b82f6;
  font-weight: 600;
}

/* Add-ons Styles */
.cbh-reservation-content .cbh-addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 260px);
  gap: 16px;
  padding: 0;
  justify-content: start;
}

.cbh-addon-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cbh-addon-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.cbh-addon-card.selected {
  border-color: #3b82f6;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.cbh-addon-image {
  width: 100%;
  height: 120px;
  position: relative;
  overflow: hidden;
  background: #f8fafc;
}

.cbh-addon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cbh-addon-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #94a3b8;
}

.cbh-addon-placeholder i {
  font-size: 28px;
}

.cbh-addon-content {
  padding: 12px;
}

.cbh-addon-name {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 6px 0;
}

.cbh-addon-description {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
  margin: 0 0 10px 0;
}

.cbh-addon-price {
  margin-bottom: 10px;
}

.cbh-addon-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.cbh-quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cbh-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #64748b;
  font-size: 14px;
}

.cbh-qty-btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  background: #eff6ff;
}

.cbh-qty-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cbh-quantity-display {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
  color: #1e293b;
}

.cbh-addon-total .total-amount {
  font-size: 16px;
  font-weight: 600;
  color: #3b82f6;
}

/* Responsive Design for Step 3 */
@media (max-width: 768px) {
  .cbh-selected-vehicle-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cbh-vehicle-main {
    gap: 10px;
  }

  .cbh-vehicle-image,
  .cbh-vehicle-placeholder {
    width: 56px;
    height: 36px;
  }

  .cbh-vehicle-name {
    font-size: 15px;
  }

  .cbh-vehicle-pricing {
    border-left: none;
    border-top: 1px solid #f3f4f6;
    padding-left: 0;
    padding-top: 12px;
    text-align: center;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cbh-price-total {
    align-items: flex-end;
  }

  .cbh-insurance-row {
    padding: 8px 10px;
    gap: 8px;
  }

  .cbh-insurance-info {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .cbh-insurance-price {
    text-align: left;
    padding-left: 0;
  }

  .cbh-addons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cbh-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
  }

  .cbh-reservation-content .cbh-insurance-options,
  .cbh-reservation-content .cbh-addons-grid {
    padding: 0;
  }

  .cbh-selected-vehicle-card {
    padding: 10px 12px;
  }

  .cbh-vehicle-main {
    gap: 8px;
  }

  .cbh-vehicle-image,
  .cbh-vehicle-placeholder {
    width: 48px;
    height: 32px;
  }

  .cbh-vehicle-placeholder i {
    font-size: 14px;
  }

  .cbh-vehicle-name {
    font-size: 14px;
  }

  .cbh-vehicle-year {
    font-size: 11px;
  }

  .cbh-vehicle-specs {
    gap: 8px;
  }

  .cbh-spec {
    font-size: 11px;
  }

  .cbh-spec i {
    font-size: 10px;
  }

  .cbh-price-daily {
    font-size: 16px;
  }

  .cbh-total-amount {
    font-size: 13px;
  }

  .cbh-vehicle-pricing {
    padding-top: 8px;
  }

  .cbh-insurance-row {
    padding: 6px 8px;
    gap: 6px;
  }

  .cbh-insurance-info {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .cbh-insurance-price {
    text-align: left;
    padding-left: 0;
  }

  .cbh-addon-content {
    padding: 10px;
  }

  .cbh-addon-controls {
    padding: 8px 10px;
  }
} /* Vehicle Image Container & Badge */
.vehicle-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.availability-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #10b981;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  z-index: 2;
  transition: all 0.3s ease;
}

.availability-badge.limited {
  background: #f59e0b;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.availability-badge.good {
  background: #10b981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.availability-badge.sold-out {
  background: #ef4444;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.vehicle-card:hover .availability-badge {
  transform: scale(1.05);
}

.vehicle-card:hover .availability-badge.limited {
  background: #d97706;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.vehicle-card:hover .availability-badge.good {
  background: #059669;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.vehicle-card:hover .availability-badge.sold-out {
  background: #dc2626;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Vehicle Image */
.cbh-vehicle-image,
.vehicle-image {
  width: 100%;
  height: 200px !important;
  object-fit: cover;
  object-position: center;
  background-color: #f9fafb;
  display: block;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

.cbh-vehicle-image-placeholder,
.vehicle-image-placeholder {
  width: 100%;
  height: 200px !important;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 13px;
  text-align: center;
  position: relative;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.cbh-vehicle-image-placeholder::before,
.vehicle-image-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0, 0, 0, 0.03) 10px,
    rgba(0, 0, 0, 0.03) 20px
  );
}

.cbh-vehicle-image-placeholder i,
.vehicle-image-placeholder i {
  font-size: 48px;
  margin-bottom: 12px;
  color: #d1d5db;
  z-index: 1;
  position: relative;
}

.cbh-vehicle-image-placeholder span,
.vehicle-image-placeholder span {
  z-index: 1;
  position: relative;
  font-weight: 500;
}

/* Vehicle Content */
.cbh-vehicle-content,
.vehicle-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-grow: 1;
}

.cbh-vehicle-header,
.vehicle-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.cbh-vehicle-name,
.vehicle-name {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  line-height: 1.3;
  flex: 1;
  margin-right: 12px;
}

/* New Pricing Structure */
.cbh-vehicle-pricing,
.vehicle-pricing {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}

.cbh-price-per-day,
.price-per-day,
.cbh-price-per-week,
.price-per-week,
.cbh-price-weekly,
.cbh-weekly-rate,
.cbh-daily-rate {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cbh-price-per-day .price-amount,
.price-per-day .price-amount,
.cbh-price-per-week .price-amount,
.price-per-week .price-amount,
.cbh-price-weekly,
.cbh-weekly-rate,
.cbh-daily-rate {
  font-size: 16px;
  font-weight: 700;
  color: #6c757d;
  line-height: 1;
}

.cbh-price-per-day .price-label,
.price-per-day .price-label,
.cbh-price-per-week .price-label,
.price-per-week .price-label,
.cbh-price-weekly span,
.cbh-weekly-rate span,
.cbh-daily-rate span {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cbh-price-total,
.price-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 2px;
}

.cbh-total-amount,
.total-amount {
  font-size: 20px;
  font-weight: 700;
  color: #198fd9;
  line-height: 1;
}

.cbh-total-label,
.total-label {
  font-size: 10px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Legacy pricing styles for compatibility */
.cbh-vehicle-price,
.vehicle-price {
  text-align: right;
}

.cbh-price-amount,
.price-amount {
  font-size: 20px;
  font-weight: 700;
  color: #198fd9;
  display: block;
  line-height: 1;
}

.cbh-price-label,
.price-label {
  font-size: 11px;
  color: #6c757d;
  line-height: 1;
  margin-top: 2px;
}

.cbh-vehicle-description,
.vehicle-description {
  color: #6c757d;
  font-size: 13px;
  margin: 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cbh-vehicle-specs,
.vehicle-specs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  font-size: 12px;
  color: #6c757d;
}

.cbh-vehicle-specs span,
.vehicle-specs span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cbh-vehicle-specs i,
.vehicle-specs i {
  font-size: 11px;
  width: 12px;
}

.cbh-vehicle-features,
.vehicle-features {
  margin: 16px 0;
}

.cbh-vehicle-actions,
.vehicle-actions {
  margin-top: auto;
  padding-top: 12px;
}

.cbh-feature-tag,
.feature-tag {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 16px;
  margin: 2px 4px 2px 0;
  font-weight: 500;
}

.cbh-vehicle-btn,
.vehicle-btn {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.cbh-vehicle-btn:hover,
.vehicle-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.cbh-vehicle-disclaimer,
.vehicle-disclaimer {
  font-size: 12px;
  color: #495057;
  margin-top: 8px;
  line-height: 1.4;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border-left: 3px solid #007cba;
  border-radius: 4px;
  font-style: italic;
}

.cbh-price-label {
  font-size: 12px;
  color: #6c757d;
}

.cbh-vehicle-description {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 15px;
}

.cbh-vehicle-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 13px;
  color: #495057;
}

.cbh-feature-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cbh-vehicle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
}

.cbh-tag {
  background: #e3f2fd;
  color: #1976d2;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

/* Messages */
.cbh-message {
  padding: 10px;
  border-radius: 6px;
  margin-top: 10px;
  font-size: 14px;
}

.cbh-message.success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.cbh-message.error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

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

/* Loading States */
.cbh-loading {
  text-align: center;
  padding: 40px;
  color: #6c757d;
}

.cbh-spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #198fd9;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: cbh-spin 1s linear infinite;
  margin: 0 auto 20px;
}

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

/* Insurance and Add-ons */
.cbh-option-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.cbh-option-card:hover {
  border-color: #198fd9;
  background: #f8f9ff;
}

.cbh-option-card.selected {
  border-color: #198fd9;
  background: #e3f2fd;
}

.cbh-option-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.cbh-option-name {
  font-weight: 600;
  color: #2c3e50;
  font-size: 16px;
}

.cbh-option-price {
  font-weight: 700;
  color: #2c3e50;
  font-size: 16px;
  margin: 8px 0;
  padding: 6px 12px;
  background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
  border: 1px solid #ffeeba;
  border-radius: 6px;
  text-align: center;
}

.cbh-insurance-card .cbh-option-price {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-color: #90caf9;
  color: #1976d2;
}

.cbh-addon-card .cbh-option-price {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-color: #a5d6a7;
  color: #388e3c;
}

.cbh-option-description {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Quantity Controls */
.cbh-quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cbh-quantity-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #198fd9;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cbh-quantity-btn:hover {
  background: #0056b3;
}

.cbh-quantity-btn.decrease {
  background: #6c757d;
}

.cbh-quantity-btn.decrease:hover {
  background: #545b62;
}

.cbh-quantity {
  font-weight: 600;
  min-width: 30px;
  text-align: center;
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
  .cbh-vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .cbh-vehicle-card,
  .vehicle-card {
    min-height: 480px;
  }
}

/* Loading Skeleton for Vehicle Cards */
.cbh-vehicle-skeleton {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.cbh-skeleton-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.cbh-skeleton-content {
  padding: 20px;
  flex-grow: 1;
}

.cbh-skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 6px;
  margin-bottom: 12px;
}

.cbh-skeleton-line.title {
  height: 18px;
  width: 70%;
}

.cbh-skeleton-line.subtitle {
  height: 14px;
  width: 50%;
}

.cbh-skeleton-line.price {
  height: 16px;
  width: 40%;
  margin-top: auto;
}

@keyframes loading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .cbh-container {
    padding: 15px;
  }

  .cbh-card {
    padding: 20px;
  }

  .cbh-form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cbh-form-row-small {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .cbh-coupon-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cbh-progress-container {
    flex-direction: column;
    gap: 15px;
  }

  .cbh-progress-step {
    flex-direction: row;
    gap: 10px;
  }

  .cbh-progress-line {
    display: none;
  }

  .cbh-vehicles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }

  .cbh-vehicle-card,
  .vehicle-card {
    min-height: 450px;
  }

  .cbh-vehicle-image,
  .vehicle-image,
  .cbh-vehicle-image-placeholder,
  .vehicle-image-placeholder {
    height: 180px;
  }

  .cbh-search-summary-container {
    margin-bottom: 20px;
  }

  .cbh-search-summary-header {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cbh-search-summary {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cbh-booking-data-group {
    padding: 16px;
    border-right: none;
    border-bottom: 1px solid #e1e9f4;
  }

  .cbh-booking-data-group:last-child {
    border-bottom: none;
  }

  .cbh-filters-container {
    justify-content: flex-start;
  }

  .cbh-vehicle-content,
  .vehicle-content {
    padding: 16px;
  }

  .cbh-vehicle-name,
  .vehicle-name {
    font-size: 16px;
  }

  .cbh-price-amount,
  .price-amount {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .cbh-title {
    font-size: 24px;
  }

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

  .cbh-form-section {
    padding: 20px;
  }
}

/* Custom Flatpickr Styling */
.flatpickr-calendar {
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid #e9ecef !important;
}

.flatpickr-day.selected {
  background: #198fd9 !important;
  border-color: #198fd9 !important;
}

.flatpickr-day:hover {
  background: #e3f2fd !important;
}

/* Animation Utilities */
.cbh-fade-in {
  animation: cbh-fadeIn 0.3s ease-in;
}

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

.cbh-slide-up {
  animation: cbh-slideUp 0.3s ease-out;
}

@keyframes cbh-slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Form focus styles */
.cbh-form-control:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Vehicle card hover effects */
.vehicle-card {
  transition: all 0.3s ease;
}

.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.vehicle-card.selected {
  border-color: #3b82f6;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

/* Insurance and addon option cards */
.insurance-option {
  transition: all 0.3s ease;
}

.insurance-option:hover {
  border-color: #3b82f6;
  background-color: #f8fafc;
}

.insurance-option.selected {
  border-color: #3b82f6;
  background-color: #eff6ff;
}

.addon-item {
  transition: all 0.3s ease;
}

.addon-item:hover {
  border-color: #10b981;
  background-color: #f0fdf4;
}

/* Payment option cards */
.payment-option {
  transition: all 0.3s ease;
}

.payment-option:hover {
  border-color: #3b82f6;
  background-color: #f8fafc;
}

.payment-option.selected {
  border-color: #3b82f6;
  background-color: #eff6ff;
}

.payment-option.selected .payment-radio {
  display: block !important;
}

/* Signature pad styles */
#signature-pad {
  position: relative;
  cursor: crosshair;
}

#signature-pad canvas {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Progress bar animation */
.progress-step {
  transition: all 0.3s ease;
}

.progress-step.completed {
  animation: checkmark 0.6s ease-in-out;
}

@keyframes checkmark {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Button animations */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

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

/* Form validation styles */
.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.success-message {
  color: #10b981;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Step transition animations */
.step-content {
  animation: fadeInUp 0.5s ease-out;
}

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

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .vehicle-card {
    margin-bottom: 1rem;
  }

  .payment-option {
    margin-bottom: 1rem;
  }

  .progress-bar-mobile {
    flex-direction: column;
    gap: 0.5rem;
  }

  .progress-bar-mobile .progress-step {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }
}


/* Confirmation printable layout */
.cbh-invoice-printable {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  color: #111827;
  background: #fff;
  padding: 24px;
  max-width: 960px;
  margin: 0 auto 32px;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
}
.cbh-invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.cbh-company-name {
  font-size: 20px;
  margin: 0 0 6px;
}
.cbh-invoice-meta {
  text-align: right;
}
.cbh-invoice-title {
  margin: 0 0 8px;
  font-size: 16px;
}
.cbh-invoice-main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}
.cbh-section-box {
  background: #fff;
  border: 1px solid #e6e9ef;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 6px;
}
.cbh-kv {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #f1f5f9;
}
.cbh-kv span:first-child {
  color: #4b5563;
  font-weight: 600;
}
.cbh-vehicle-image-small {
  width: 88px;
  height: auto;
  margin-right: 10px;
  border-radius: 6px;
}
.cbh-vehicle-compact {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cbh-datetime-grid {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cbh-services-table.compact {
  width: 100%;
  border-collapse: collapse;
}
.cbh-services-table.compact th,
.cbh-services-table.compact td {
  padding: 8px 6px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
}
.cbh-invoice-right .cbh-summary-box {
  border: 1px solid #e6e9ef;
  padding: 16px;
  border-radius: 6px;
  background: #fff;
}
.cbh-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}
.cbh-summary-total {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-weight: 700;
  font-size: 18px;
  border-top: 2px solid #eef2f7;
  margin-top: 8px;
}
.cbh-payment-method-small {
  margin-top: 12px;
  font-size: 14px;
  color: #374151;
}
.cbh-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.cbh-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
}
.cbh-action-btn .fas {
  color: #374151;
}


/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible for better accessibility */
.focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .vehicle-card,
  .insurance-option,
  .addon-item,
  .payment-option {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .dark-mode {
    background-color: #1f2937;
    color: #f9fafb;
  }

  .dark-mode .bg-white {
    background-color: #374151;
  }

  .dark-mode .text-gray-800 {
    color: #f9fafb;
  }

  .dark-mode .text-gray-600 {
    color: #d1d5db;
  }

  .dark-mode .border-gray-300 {
    border-color: #4b5563;
  }

  .dark-mode .bg-gray-50 {
    background-color: #4b5563;
  }
}

/* Custom utility classes */
.shadow-soft {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.shadow-medium {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.shadow-strong {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
}

.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.text-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Additional driver form styles */
.additional-driver {
  border-left: 4px solid #3b82f6;
  animation: slideInLeft 0.3s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Coupon validation styles */
.coupon-valid {
  border-color: #10b981;
  background-color: #f0fdf4;
}

.coupon-invalid {
  border-color: #ef4444;
  background-color: #fef2f2;
}

/* Price animation */
.price-update {
  animation: priceChange 0.5s ease-in-out;
}

@keyframes priceChange {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
    color: #3b82f6;
  }
  100% {
    transform: scale(1);
  }
}

/* Tooltip styles */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #374151;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.875rem;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #374151 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Calendar input custom styles */
input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(0.6);
}

input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(0.6);
}

/* File input custom styles */
.file-input-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.file-input-wrapper input[type="file"] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
}

/* Success/Error toast styles */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 300px;
  padding: 16px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  animation: slideInRight 0.3s ease-out;
}

.toast.success {
  background-color: #10b981;
}

.toast.error {
  background-color: #ef4444;
}

.toast.warning {
  background-color: #f59e0b;
}

.toast.info {
  background-color: #3b82f6;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Custom checkbox and radio styles */
.custom-checkbox,
.custom-radio {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  position: relative;
}

.custom-radio {
  border-radius: 50%;
}

.custom-checkbox:checked,
.custom-radio:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.custom-checkbox:checked::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-radio:checked::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ===== STEP 3 MODERN STYLES ===== */

/* Ultra-Compact Reservation Details - Minimal header */
.cbh-search-summary-container {
  margin-bottom: 10px;
  padding: 8px 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
}

.cbh-search-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.cbh-search-summary-title {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Single line reservation info */
.cbh-search-summary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 13px;
}

.cbh-search-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.cbh-search-label {
  color: #666;
  font-size: 12px;
  font-weight: 500;
}

.cbh-search-value {
  color: #333;
  font-weight: 600;
}

.cbh-search-location,
.cbh-fee-description {
  font-size: 11px;
  color: #888;
  margin-left: 4px;
} /* Ultra-Compact Selected Vehicle */
.cbh-selected-car-container {
  margin-bottom: 10px;
  padding: 8px 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
}

.cbh-selected-car-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.cbh-selected-car-title {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cbh-selected-car-title i {
  color: #3498db;
  font-size: 12px;
}

/* Inline Selected Vehicle Card */
.cbh-selected-vehicle-card {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cbh-selected-vehicle-image {
  flex-shrink: 0;
  width: 60px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.cbh-selected-vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cbh-selected-vehicle-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
}

.cbh-selected-vehicle-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.cbh-selected-vehicle-category {
  color: #666;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
}

.cbh-selected-vehicle-specs {
  display: flex;
  gap: 10px;
}

.cbh-selected-vehicle-specs span {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #666;
  font-size: 11px;
  white-space: nowrap;
}

.cbh-selected-vehicle-specs i {
  color: #3498db;
  font-size: 10px;
}

.cbh-selected-vehicle-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.cbh-selected-vehicle-rate {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.cbh-selected-vehicle-rate .rate-amount {
  font-size: 14px;
  font-weight: 600;
  color: #27ae60;
}

.cbh-selected-vehicle-rate .rate-period {
  font-size: 10px;
  color: #666;
}

.cbh-selected-vehicle-total .total-label {
  font-size: 10px;
  color: #666;
}

.cbh-selected-vehicle-total .total-amount {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* Main Content Layout */
.cbh-step3-main-content {
  margin-bottom: 20px;
}

/* Options Sections - Ultra Compact */
.cbh-options-section {
  margin-bottom: 15px;
}

.cbh-options-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cbh-options-section-title i {
  color: #3498db;
  font-size: 12px;
}

.cbh-options-subtitle {
  font-size: 11px;
  font-weight: 400;
  color: #7f8c8d;
  margin-left: 4px;
}

/* Clean Product Grid - Modern Design */
.cbh-insurance-grid {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.cbh-addons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

/* Clean Insurance Cards - Horizontal Compact */
.cbh-insurance-card {
  background: #fff;
  border: 2px solid #e8f4fd;
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  flex: 1;
  min-width: 250px;
  gap: 15px;
}

.cbh-insurance-content {
  flex: 1;
}

.cbh-option-toggle {
  flex-shrink: 0;
}

.cbh-insurance-card:hover {
  border-color: #3498db;
  box-shadow: 0 4px 16px rgba(52, 152, 219, 0.15);
  transform: translateY(-1px);
}

.cbh-insurance-card.selected {
  border-color: #2196f3;
  background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.2);
}

.cbh-insurance-card:hover {
  border-color: #2196f3;
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15);
}

.cbh-insurance-card.selected {
  border-left-color: #2196f3;
  border-color: #2196f3;
  background: linear-gradient(135deg, #e3f2fd 0%, #d1e7dd 100%);
  box-shadow: 0 3px 12px rgba(33, 150, 243, 0.2);
}

/* Professional Add-on Product Cards - Compact */
.cbh-addon-card {
  background: #fff;
  border: 2px solid #e8f5e9;
  border-radius: 12px;
  padding: 0;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.cbh-addon-card:hover {
  border-color: #27ae60;
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.2);
  transform: translateY(-4px);
}

.cbh-addon-card.selected {
  border-color: #4caf50;
  background: linear-gradient(135deg, #f0fff0 0%, #e8f5e9 100%);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.25);
  transform: translateY(-2px);
}

.cbh-addon-card:hover {
  border-color: #4caf50;
  background: linear-gradient(135deg, #f0fff0 0%, #e8f5e8 100%);
  box-shadow: 0 2px 8px rgba(39, 174, 96, 0.15);
}

.cbh-addon-card.selected {
  border-left-color: #4caf50;
  border-color: #4caf50;
  background: linear-gradient(135deg, #e8f5e9 0%, #d4edda 100%);
  box-shadow: 0 3px 12px rgba(76, 175, 80, 0.2);
}

/* Product Image Section - Compact */
.cbh-addon-image {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  display: block;
  border: none;
  background: #f8f9fa;
}

/* Placeholder for missing images */
.cbh-addon-image-placeholder {
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #dee2e6;
}

.cbh-addon-image-placeholder::before {
  content: "📦";
  font-size: 24px;
  margin-right: 8px;
}

/* Product Content Section - Compact */
.cbh-addon-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cbh-addon-name {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 2px 0;
  color: #2c3e50;
  line-height: 1.3;
  min-height: 30px;
}

.cbh-addon-description {
  font-size: 12px;
  color: #6c757d;
  margin: 0 0 4px 0;
  line-height: 1.4;
  min-height: 26px;
  flex-grow: 1;
}

.cbh-addon-price {
  font-size: 16px;
  font-weight: 700;
  color: #27ae60;
  margin: 2px 0 10px 0;
  padding: 6px 10px;
  background: linear-gradient(135deg, #e8f5e9 0%, #d4edda 100%);
  border-radius: 6px;
  border: 1px solid #c3e6cb;
}

/* Insurance Content */
.cbh-insurance-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #2c3e50;
}

.cbh-insurance-description {
  font-size: 14px;
  color: #6c757d;
  margin: 0 0 12px 0;
  line-height: 1.5;
  min-height: 42px;
}

.cbh-insurance-price {
  font-size: 18px;
  font-weight: 700;
  color: #2196f3;
  margin: 12px 0;
}

/* Modern Quantity Controls */
.cbh-quantity-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.cbh-quantity-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #dee2e6;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  color: #495057;
}

.cbh-quantity-btn:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.cbh-quantity-btn:active {
  transform: scale(0.95);
}

.cbh-quantity-btn.minus {
  color: #dc3545;
}

.cbh-quantity-btn.plus {
  color: #28a745;
  background: #28a745;
  color: #fff;
  border-color: #28a745;
}

.cbh-quantity-btn.plus:hover {
  background: #218838;
  border-color: #1e7e34;
}

.cbh-quantity-display {
  min-width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  color: #495057;
}

/* Modern Option Cards - Ultra Compact for Professional Look */
.cbh-modern-option-card {
  border: 1px solid #e3e6f0;
  border-radius: 6px;
  background: #ffffff;
  padding: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cbh-modern-option-card:hover {
  border-color: #3498db;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

.cbh-modern-option-card.selected {
  border-color: #27ae60;
  background: #f8fffe;
  box-shadow: 0 2px 8px rgba(39, 174, 96, 0.1);
}

.cbh-option-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.cbh-option-info {
  flex: 1;
}

.cbh-option-name {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.cbh-option-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.cbh-option-price .price-amount {
  font-size: 14px;
  font-weight: 700;
  color: #27ae60;
}

.cbh-option-price .price-period {
  font-size: 10px;
  color: #7f8c8d;
}

.cbh-option-description {
  .cbh-option-description {
    color: #5a6c7d;
    font-size: 11px;
    line-height: 1.3;
    margin: 0;
  }

  /* Insurance Grid - Compact 2-column layout */
  .cbh-insurance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cbh-insurance-card {
    min-width: auto;
    max-width: none;
  }

  /* Addons Grid - 3-column on tablet */
  .cbh-addons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .cbh-addon-card {
    position: relative;
  }

  .cbh-addon-image {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    object-fit: cover;
    margin-bottom: 6px;
    border: 1px solid #e3e6f0;
  }
}
/* Modern Checkbox Toggle - Ultra compact */
.cbh-option-toggle {
  display: flex;
  align-items: center;
}

.cbh-modern-checkbox {
  display: none;
}

.cbh-toggle-label {
  width: 36px;
  height: 20px;
  background: #bdc3c7;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cbh-toggle-label::after {
  content: "";
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cbh-modern-checkbox:checked + .cbh-toggle-label {
  background: #27ae60;
}

.cbh-modern-checkbox:checked + .cbh-toggle-label::after {
  transform: translateX(16px);
}

/* Modern Product Quantity Controls - Compact */
.cbh-modern-quantity-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border-radius: 6px;
  padding: 6px 10px;
  border: 2px solid #e9ecef;
  margin-top: 10px;
}

.cbh-modern-quantity-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background: #ffffff;
  color: #495057;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 600;
}

.cbh-modern-quantity-btn:hover {
  background: #28a745;
  color: white;
  border-color: #28a745;
  transform: scale(1.05);
}

.cbh-modern-quantity-btn.increase {
  background: #28a745;
  color: white;
  border-color: #28a745;
}

.cbh-modern-quantity-btn.increase:hover {
  background: #218838;
  border-color: #1e7e34;
}

.cbh-modern-quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cbh-modern-quantity {
  font-size: 16px;
  font-weight: 600;
  color: #495057;
  min-width: 30px;
  text-align: center;
}

.cbh-modern-quantity {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  min-width: 20px;
  text-align: center;
}

/* Step 3 Pricing Summary */
.cbh-step3-pricing-summary {
  background: #f8f9fa;
  border: 1px solid #e3e6f0;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
}

.cbh-pricing-summary-title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cbh-pricing-summary-title i {
  color: #3498db;
}

.cbh-pricing-breakdown {
  margin-bottom: 20px;
}

.cbh-pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e3e6f0;
}

.cbh-pricing-item:last-child {
  border-bottom: none;
}

.cbh-pricing-item-name {
  color: #5a6c7d;
  font-size: 14px;
}

.cbh-pricing-item-price {
  color: #2c3e50;
  font-weight: 600;
  font-size: 14px;
}

.cbh-pricing-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 2px solid #e3e6f0;
  font-size: 18px;
  font-weight: 700;
}

.total-label {
  color: #2c3e50;
}

.cbh-total-price {
  color: #27ae60;
  font-size: 22px;
}

/* Step 3 Actions */
.cbh-step3-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
}

.cbh-step3-actions .cbh-btn {
  min-width: 160px;
}

/* Responsive Design for Step 3 - Updated for compact design */
@media (max-width: 768px) {
  .cbh-search-summary-grid {
    flex-direction: column;
    gap: 10px;
  }

  .cbh-search-item {
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e3e6f0;
  }

  .cbh-selected-car-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cbh-selected-vehicle-card {
    flex-direction: column;
    gap: 15px;
  }

  .cbh-selected-vehicle-image {
    width: 100%;
    height: 120px;
  }

  .cbh-selected-vehicle-specs {
    gap: 8px;
  }

  .cbh-selected-vehicle-pricing {
    flex-direction: row;
    justify-content: space-between;
  }

  .cbh-insurance-grid {
    gap: 10px;
  }

  .cbh-insurance-card {
    min-width: 200px;
    padding: 10px 12px;
    max-width: none;
  }

  .cbh-addons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .cbh-step3-actions {
    flex-direction: column;
  }

  .cbh-step3-actions .cbh-btn {
    width: 100%;
  }

  .cbh-option-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cbh-modern-quantity-controls {
    align-self: flex-start;
  }

  .cbh-addons-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
  }

  .cbh-insurance-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .cbh-addons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .cbh-insurance-grid {
    flex-direction: column;
    gap: 8px;
  }

  .cbh-insurance-card {
    min-width: auto;
    padding: 12px;
  }
}

/* Step 4 - Clean & Minimal Booking Summary */
.cbh-booking-summary-container {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  border: 1px solid #e5e7eb;
}

/* Step 4 - Booking Summary */
.cbh-booking-summary-container {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.cbh-summary-header {
  background: #f8f9fa;
  color: #374151;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.cbh-summary-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cbh-summary-header .fas {
  color: #6b7280;
}

.cbh-summary-content {
  padding: 20px;
}

.cbh-summary-section {
  margin-bottom: 24px;
}

.cbh-summary-section:last-child {
  margin-bottom: 0;
}

.cbh-summary-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
}

.cbh-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cbh-summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cbh-summary-period {
  grid-column: 1 / -1;
  text-align: center;
  padding: 12px;
  background: #f3f4f6;
  border-radius: 6px;
}

.cbh-summary-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cbh-summary-value {
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

.cbh-summary-value small {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 400;
}

.cbh-vehicle-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.cbh-vehicle-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cbh-vehicle-name {
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
}

.cbh-vehicle-details {
  font-size: 0.85rem;
  color: #6b7280;
}

.cbh-vehicle-total {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
}

.cbh-extras-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cbh-extra-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.9rem;
}

.cbh-price-breakdown {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 16px;
}

.cbh-price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
  color: #374151;
}

.cbh-price-item:not(:last-child) {
  border-bottom: 1px solid #e5e7eb;
}

.cbh-price-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 0 0;
  margin-top: 8px;
  border-top: 2px solid #e5e7eb;
  font-size: 1rem;
  color: #374151;
}

.cbh-discount-value {
  color: #059669 !important;
}

/* Step 4 Selected Vehicle Display */
.cbh-selected-vehicle-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.cbh-selected-vehicle-display .cbh-vehicle-info {
  flex: 1;
}

.cbh-selected-vehicle-display .cbh-vehicle-name {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
}

.cbh-selected-vehicle-display .cbh-vehicle-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cbh-selected-vehicle-display .cbh-vehicle-year {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
}

.cbh-selected-vehicle-display .cbh-vehicle-features {
  font-size: 0.85rem;
  color: #6b7280;
}

.cbh-selected-vehicle-display .cbh-vehicle-pricing {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cbh-selected-vehicle-display .cbh-daily-rate {
  font-size: 0.9rem;
  color: #6b7280;
}

.cbh-selected-vehicle-display .cbh-total-rate {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
}

.cbh-coupon-section {
  padding: 16px 20px;
  background: #f8f9fa;
  border-top: 1px solid #e5e7eb;
}

.cbh-coupon-input-group {
  display: flex;
  gap: 8px;
}

.cbh-coupon-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  background: #fff;
}

.cbh-coupon-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.cbh-coupon-message {
  margin-top: 8px;
  font-size: 0.875rem;
  padding: 8px 12px;
  border-radius: 4px;
}

.cbh-coupon-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.cbh-coupon-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Responsive */
@media (max-width: 768px) {
  .cbh-summary-grid {
    grid-template-columns: 1fr;
  }

  .cbh-summary-period {
    grid-column: 1;
  }

  .cbh-vehicle-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .cbh-coupon-input-group {
    flex-direction: column;
  }
}

/* Clean Driver Section */
.cbh-driver-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  padding: 12px 16px;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cbh-driver-section-title .fas {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Clean Form Styling */
.cbh-form {
  padding: 0;
}

.cbh-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.cbh-form-group {
  margin-bottom: 0;
}

.cbh-label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: #374151;
  font-size: 0.875rem;
}

.cbh-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  background: #fff;
  color: #374151;
  font-weight: 400;
  transition: border-color 0.2s ease;
}

.cbh-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.cbh-input:hover {
  border-color: #9ca3af;
}

.cbh-input::placeholder {
  color: #9ca3af;
}

/* Clean Additional Drivers Section */
.cbh-additional-drivers-section {
  margin: 20px 0;
  padding: 16px;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

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

.cbh-additional-drivers-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cbh-additional-drivers-title .fas {
  color: #6b7280;
}

.cbh-btn-sm {
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 4px;
  background: #3b82f6;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cbh-btn-sm:hover {
  background: #2563eb;
}

/* Clean Driver Cards */
.cbh-additional-driver-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}

.cbh-additional-driver-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.cbh-additional-driver-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
}

.cbh-remove-driver {
  background: #ef4444;
  color: white;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.cbh-remove-driver:hover {
  background: #dc2626;
}

/* Clean Terms and Conditions */
.cbh-step4-terms {
  margin-top: 20px;
  padding: 16px;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.cbh-step4-terms h3 {
  margin: 0 0 12px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cbh-step4-terms h3 .fas {
  color: #6b7280;
}

/* Invoice-specific styles moved to assets/css/shortcode.css to avoid duplication */

.cbh-terms-container {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
}

.cbh-terms-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981 0%, #3b82f6 100%);
  border-radius: 12px 12px 0 0;
}

.cbh-terms-container h5 {
  margin: 0 0 16px 0;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cbh-terms-container h5::before {
  content: "📋";
  font-size: 1.1rem;
}

.cbh-terms-content {
  max-height: 150px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #374151;
}

.cbh-terms-content::-webkit-scrollbar {
  width: 4px;
}

.cbh-terms-content::-webkit-scrollbar-track {
  background: #f3f4f6;
}

.cbh-terms-content::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}

.cbh-terms-content::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.cbh-terms-content h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #1e293b;
  font-size: 14px;
}

.cbh-terms-content h4 {
  margin-top: 15px;
  margin-bottom: 8px;
  color: #34495e;
  font-size: 13px;
}

.cbh-terms-content p {
  margin-bottom: 8px;
}

.cbh-terms-content ul {
  margin-bottom: 12px;
  padding-left: 18px;
}

.cbh-terms-content li {
  margin-bottom: 4px;
}

.cbh-agreement-label {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  padding: 18px;
  border-radius: 12px;
  display: block !important;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cbh-agreement-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.cbh-agreement-label:hover {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.cbh-agreement-label input[type="checkbox"] {
  transform: scale(1.3);
  margin-right: 12px;
  accent-color: #f59e0b;
}

/* Modern Responsive Design */
@media (max-width: 768px) {
  .cbh-terms-container {
    padding: 16px;
    border-radius: 10px;
  }

  .cbh-terms-content {
    max-height: 150px;
    padding: 12px;
    font-size: 0.85rem;
  }

  .cbh-agreement-label {
    padding: 14px;
    font-size: 0.9rem;
  }

  /* Mobile form adjustments */
  .cbh-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .cbh-driver-section-title {
    font-size: 1rem;
    padding: 12px 16px;
    margin-bottom: 16px;
  }

  .cbh-additional-drivers-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cbh-summary-header h2 {
    font-size: 1rem;
  }

  .cbh-summary-header {
    padding: 12px 16px;
  }

  .cbh-summary-invoice {
    padding: 16px;
  }

  .cbh-label {
    font-size: 0.85rem;
    margin-bottom: 5px;
  }

  .cbh-input {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .cbh-additional-drivers-section {
    margin: 16px 0;
    padding: 16px;
  }

  .cbh-additional-driver-card {
    padding: 16px;
  }

  .cbh-card {
    padding: 20px;
    border-radius: 12px;
  }
}

/* Form help text styling */
.cbh-field-help {
  display: block;
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 4px;
  line-height: 1.4;
  font-style: italic;
}

/* Date inputs styling */
.cbh-date-inputs {
  display: flex;
  gap: 8px;
}

.cbh-date-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.cbh-date-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.cbh-date-input::placeholder {
  color: #9ca3af;
}

/* Booking Confirmation Modal */
.cbh-confirmation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cbh-confirmation-modal.cbh-modal-show {
  opacity: 1;
  visibility: visible;
}

.cbh-confirmation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.cbh-confirmation-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.cbh-confirmation-header {
  text-align: center;
  padding: 24px 24px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.cbh-confirmation-header i {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 16px;
}

.cbh-confirmation-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
}

.cbh-confirmation-body {
  padding: 24px;
}

.cbh-booking-details h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 16px 0;
}

.cbh-confirmation-info {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.cbh-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cbh-info-row:last-child {
  margin-bottom: 0;
}

.cbh-info-label {
  font-weight: 500;
  color: #6b7280;
}

.cbh-info-value {
  font-weight: 600;
  color: #374151;
}

.cbh-status-confirmed {
  color: #10b981;
  background: #d1fae5;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.875rem;
}

.cbh-confirmation-message {
  color: #6b7280;
  line-height: 1.6;
}

.cbh-confirmation-message p {
  margin: 0 0 12px 0;
}

.cbh-confirmation-message p:last-child {
  margin-bottom: 0;
}

.cbh-confirmation-footer {
  padding: 16px 24px 24px;
  text-align: center;
}

.cbh-confirmation-footer .cbh-btn {
  padding: 12px 24px;
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cbh-confirmation-footer .cbh-btn:hover {
  background: #2563eb;
}

.cbh-confirmation-footer .cbh-btn i {
  margin-right: 8px;
}
.pickup-date {
  margin-top: 20px;
}

/* Compact Final Details Section */
.cbh-final-details-compact {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  border: 1px solid #e2e8f0;
}

.cbh-compact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.cbh-compact-col {
  display: flex;
  flex-direction: column;
}

.cbh-compact-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #1e40af;
  font-size: 14px;
  margin-bottom: 10px;
}

.cbh-compact-label i {
  color: #3b82f6;
}

/* Signature Compact */
.cbh-signature-compact {
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  position: relative;
  height: 120px;
  background: #fff;
  margin-bottom: 8px;
}

.cbh-signature-compact canvas {
  border-radius: 6px;
}

.cbh-btn-xs {
  padding: 4px 8px;
  font-size: 12px;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
}

.cbh-btn-xs:hover {
  background: #dc2626;
}

/* Comments Compact */
.cbh-textarea-compact {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  min-height: 120px;
}

.cbh-textarea-compact:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Payment Options Compact */
.cbh-payment-compact {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.cbh-payment-options-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cbh-payment-option-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}

.cbh-payment-option-compact:hover {
  border-color: #3b82f6;
  background: #f0f9ff;
}

.cbh-payment-option-compact.cbh-payment-selected {
  border-color: #3b82f6;
  background: #eff6ff;
}

.cbh-payment-option-compact input[type="radio"] {
  accent-color: #3b82f6;
}

.cbh-payment-text {
  display: flex;
  flex-direction: column;
}

.cbh-payment-text strong {
  color: #1e293b;
  font-size: 14px;
  margin-bottom: 2px;
}

.cbh-payment-text small {
  color: #64748b;
  font-size: 12px;
}

/* Compact Action Bar */
.cbh-action-bar-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.cbh-btn-confirm {
  padding: 14px 32px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cbh-compact-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cbh-payment-options-inline {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cbh-action-bar-compact {
    flex-direction: column;
    gap: 12px;
  }

  .cbh-action-bar-compact .cbh-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Modern Price Breakdown Design */
.cbh-price-breakdown-modern {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cbh-price-section {
  border-bottom: 1px solid #f1f5f9;
}

.cbh-price-section:last-of-type {
  border-bottom: none;
}

.cbh-price-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px 8px 20px;
  background: #f8fafc;
  font-weight: 600;
  font-size: 14px;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cbh-price-section-header i {
  color: #3b82f6;
  font-size: 12px;
}

.cbh-price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  transition: background-color 0.2s ease;
}

.cbh-price-line:hover {
  background: #f8fafc;
}

.cbh-price-label {
  color: #64748b;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cbh-price-value {
  font-weight: 600;
  color: #1e293b;
  font-size: 14px;
}

.cbh-tax-rate {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 400;
}

/* Discount Section Styling */
.cbh-discount-section {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.cbh-discount-header {
  background: #dcfce7;
  color: #166534;
}

.cbh-discount-header i {
  color: #16a34a;
}

.cbh-discount-value {
  color: #16a34a !important;
  font-weight: 700;
}

.cbh-discount-code {
  background: #bbf7d0;
  color: #166534;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 4px;
}

/* Total Section - Black Premium Design */
.cbh-price-total-modern {
  background: #000000;
  color: white;
  padding: 0;
  border: 2px solid #333333;
  position: relative;
}

.cbh-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #000000;
}

.cbh-total-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.cbh-total-label i {
  background: #10b981;
  color: #ffffff;
  padding: 8px;
  border-radius: 6px;
  font-size: 16px;
}

.cbh-total-amount {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  font-family: "Arial", sans-serif;
  background: #000000;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #333333;
}

/* Enhanced Summary Section Title */
.cbh-summary-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
}

.cbh-summary-section-title i {
  color: #3b82f6;
  font-size: 16px;
}

/* Mobile Responsive for Price Breakdown */
@media (max-width: 768px) {
  .cbh-price-section-header {
    padding: 12px 16px 6px 16px;
    font-size: 13px;
  }

  .cbh-price-line {
    padding: 10px 16px;
  }

  .cbh-price-label {
    font-size: 13px;
  }

  .cbh-price-value {
    font-size: 13px;
  }

  .cbh-total-line {
    padding: 16px;
  }

  .cbh-total-label {
    font-size: 15px;
  }

  .cbh-total-amount {
    font-size: 20px;
  }
}

/* File Upload Styles */
.cbh-file-upload {
  border: 2px dashed #e9ecef;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafbfc;
}

.cbh-file-upload:hover {
  border-color: #007cba;
  background: #f8f9fa;
}

.cbh-file-upload:focus {
  border-color: #007cba;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.cbh-file-preview {
  margin-top: 15px;
}

.cbh-file-item {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cbh-file-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.cbh-file-info i {
  color: #007cba;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.cbh-file-name {
  font-weight: 500;
  color: #333;
  flex: 1;
  text-align: left;
}

.cbh-file-size {
  color: #666;
  font-size: 12px;
}

.cbh-remove-file {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: all 0.2s ease;
}

.cbh-remove-file:hover {
  background: #c82333;
  transform: scale(1.1);
}

.cbh-field-help {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

/* Additional Driver File Upload Spacing */
.cbh-additional-driver-card .cbh-file-preview {
  margin-top: 10px;
}

.cbh-additional-driver-card .cbh-field-help {
  margin-top: 3px;
}
