/* ============================================
   SIR DRIVER - HERO BOOKING SYSTEM
   Premium Dark Design - Apple / Blacklane Style
   ============================================ */

/* ============================================
   CSS VARIABLES - THEME BLANC/NOIR/DORÉ
   ============================================ */
:root {
  /* Colors - Inversé: fond blanc, texte noir */
  --sd-bg-primary: #ffffff;
  --sd-bg-secondary: rgba(255, 255, 255, 0.98);
  --sd-bg-elevated: rgba(248, 248, 248, 0.95);
  --sd-border: rgba(0, 0, 0, 0.1);
  --sd-border-hover: rgba(0, 0, 0, 0.2);
  --sd-border-focus: rgba(212, 175, 55, 0.6);

  /* Accent - Doré conservé */
  --sd-accent: #d4af37;
  --sd-accent-hover: #c9a227;
  --sd-accent-subtle: rgba(212, 175, 55, 0.1);

  /* Text - Inversé: texte noir */
  --sd-text-primary: #0a0a0a;
  --sd-text-secondary: rgba(0, 0, 0, 0.65);
  --sd-text-muted: rgba(0, 0, 0, 0.45);

  /* Feedback */
  --sd-success: #22c55e;
  --sd-error: #ef4444;

  /* Spacing */
  --sd-space-xs: 0.25rem;
  --sd-space-sm: 0.5rem;
  --sd-space-md: 1rem;
  --sd-space-lg: 1.5rem;
  --sd-space-xl: 2rem;

  /* Typography */
  --sd-font-display: 'Cormorant Garamond', Georgia, serif;
  --sd-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radius */
  --sd-radius-sm: 6px;
  --sd-radius-md: 10px;
  --sd-radius-lg: 14px;
}

/* ============================================
   HERO SECTION
   ============================================ */

/* Hero Background */
.sd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sd-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.sd-hero-slide.active {
  opacity: 1;
}

.sd-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay gradient */
.sd-hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

/* Hero Content Container */

/* Desktop: plus d'espace pour navbar fixe */

/* Hero Title */

/* ============================================
   BOOKING WIDGET
   ============================================ */
.sd-booking-widget {
  margin-top: 70px; /* Encore plus réduit */
  position: relative;
  background: var(--sd-bg-secondary);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--sd-radius-md);
  overflow: hidden;
  box-shadow:
    0 6px 30px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(212, 175, 55, 0.1);
}

/* ============================================
   INFO BUTTON
   ============================================ */
.sd-info-button {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--sd-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.sd-info-button svg {
  width: 18px;
  height: 18px;
  color: var(--sd-accent);
}

.sd-info-button:hover {
  background: var(--sd-accent-subtle);
  border-color: var(--sd-accent);
  transform: scale(1.05);
}

/* Animation pulse pour inciter au clic */
@keyframes sd-info-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
  }
}

.sd-info-button.pulse {
  animation: sd-info-pulse 2s ease-in-out infinite;
}

/* ============================================
   INFO MODAL POPUP - Compact sans scroll
   ============================================ */
.sd-info-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sd-info-modal.active {
  opacity: 1;
  visibility: visible;
}

.sd-info-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.sd-info-modal-content {
  position: relative;
  width: 90%;
  max-width: 380px;
  background: #ffffff;
  border-radius: var(--sd-radius-lg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.sd-info-modal.active .sd-info-modal-content {
  transform: scale(1) translateY(0);
}

.sd-info-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: #f8f8f8;
}

.sd-info-modal-title {
  margin: 0;
  font-family: var(--sd-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #0a0a0a;
}

.sd-info-modal-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sd-info-modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
}

.sd-info-modal-close svg {
  width: 14px;
  height: 14px;
  color: #333;
}

.sd-info-modal-body {
  padding: 0.75rem 1rem;
}

.sd-info-modal-body .sd-info-section {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sd-info-modal-body .sd-info-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sd-info-modal-body .sd-info-section h4 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.25rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sd-accent);
}

.sd-info-modal-body .sd-info-section h4 svg {
  flex-shrink: 0;
}

.sd-info-modal-body .sd-info-section p {
  margin: 0;
  font-size: 0.72rem;
  color: #555;
  line-height: 1.4;
}

.sd-info-modal-body .sd-info-section a {
  color: var(--sd-accent);
  text-decoration: none;
  font-weight: 500;
}

.sd-info-modal-body .sd-info-section a:hover {
  text-decoration: underline;
}

/* ============================================
   SERVICE TYPE SELECTOR
   ============================================ */
.sd-service-selector {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--sd-border);
}

.sd-service-tab {
  flex: 1;
  padding: 0.5rem 0.5rem;
  background: transparent;
  border: none;
  color: var(--sd-text-muted);
  font-family: var(--sd-font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.sd-service-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--sd-accent);
  transition: width 0.3s ease;
}

.sd-service-tab:hover {
  color: var(--sd-text-secondary);
}

.sd-service-tab.active {
  color: var(--sd-text-primary);
}

.sd-service-tab.active::after {
  width: 50%;
}

/* ============================================
   BOOKING STEPS CONTAINER
   ============================================ */
.sd-booking-body {
  padding: 0.75rem;
  overflow: hidden;
  border-radius: 0 0 var(--sd-radius-md) var(--sd-radius-md);
}

.sd-booking-step {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.sd-booking-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   FORM STYLES
   ============================================ */
.sd-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sd-form-row {
  display: grid;
  gap: 0.4rem;
}

.sd-form-row--2 {
  grid-template-columns: 1fr 1fr;
}

.sd-form-row--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.sd-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sd-form-field--full {
  grid-column: 1 / -1;
}

.sd-form-label {
  font-family: var(--sd-font-body);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sd-text-muted);
}

/* Input Base */
.sd-input {
  width: 100%;
  padding: 0.45rem 0.55rem;
  background: #f8f8f8;
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-sm);
  color: var(--sd-text-primary);
  font-family: var(--sd-font-body);
  font-size: 0.75rem;
  transition: all 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.sd-input::placeholder {
  color: var(--sd-text-muted);
}

.sd-input:hover {
  border-color: var(--sd-border-hover);
}

.sd-input:focus {
  outline: none;
  border-color: var(--sd-accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--sd-accent-subtle);
}

.sd-phone-input-group {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 0.4rem;
}

.sd-phone-input-group .sd-country-code {
  min-width: 0;
  font-size: 0.7rem;
}

/* Textarea */
.sd-textarea {
  min-height: 100px;
  resize: vertical;
  font-family: var(--sd-font-body);
  line-height: 1.5;
}

/* Select */

/* Select options styling */

/* Textarea */
.sd-textarea {
  min-height: 80px;
  resize: vertical;
  font-family: var(--sd-font-body);
}

/* Field Hint */

/* Date and Time inputs */
.sd-input[type='date'],
.sd-input[type='time'] {
  color-scheme: light;
  position: relative;
}

/* Force 24h format by hiding AM/PM */
.sd-input[type='time']::-webkit-datetime-edit-ampm-field {
  display: none;
}

/* Calendar and clock icons color */
.sd-input[type='date']::-webkit-calendar-picker-indicator,
.sd-input[type='time']::-webkit-calendar-picker-indicator {
  filter: sepia(1) saturate(3) hue-rotate(10deg);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.sd-input[type='date']::-webkit-calendar-picker-indicator:hover,
.sd-input[type='time']::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Firefox date/time inputs */
.sd-input[type='date']::-moz-calendar-picker-indicator,
.sd-input[type='time']::-moz-calendar-picker-indicator {
  filter: sepia(1) saturate(3) hue-rotate(10deg);
  cursor: pointer;
}

/* Style for date/time popup in webkit browsers */
.sd-input[type='date']::-webkit-datetime-edit,
.sd-input[type='time']::-webkit-datetime-edit {
  padding: 0;
  color: var(--sd-text-primary);
}

.sd-input[type='date']::-webkit-datetime-edit-fields-wrapper,
.sd-input[type='time']::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

.sd-input[type='date']::-webkit-datetime-edit-text,
.sd-input[type='time']::-webkit-datetime-edit-text {
  color: var(--sd-text-muted);
  padding: 0 0.2rem;
}

.sd-input[type='date']::-webkit-datetime-edit-month-field,
.sd-input[type='date']::-webkit-datetime-edit-day-field,
.sd-input[type='date']::-webkit-datetime-edit-year-field,
.sd-input[type='time']::-webkit-datetime-edit-hour-field,
.sd-input[type='time']::-webkit-datetime-edit-minute-field {
  color: var(--sd-text-primary);
  padding: 0 0.2rem;
}

.sd-input[type='date']::-webkit-datetime-edit-month-field:focus,
.sd-input[type='date']::-webkit-datetime-edit-day-field:focus,
.sd-input[type='date']::-webkit-datetime-edit-year-field:focus,
.sd-input[type='time']::-webkit-datetime-edit-hour-field:focus,
.sd-input[type='time']::-webkit-datetime-edit-minute-field:focus {
  background: var(--sd-accent-subtle);
  color: var(--sd-accent);
  outline: none;
  border-radius: 2px;
}

/* ============================================
   WAITING TIME NOTICE
   ============================================ */
.sd-waiting-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--sd-radius-sm);
  margin: 0.5rem 0;
}

.sd-waiting-notice svg {
  width: 14px;
  height: 14px;
  color: var(--sd-accent);
  flex-shrink: 0;
}

.sd-waiting-notice span {
  font-family: var(--sd-font-body);
  font-size: 0.7rem;
  color: var(--sd-accent);
  font-weight: 500;
}

/* ============================================
   LUGGAGE SIZE SELECTOR
   ============================================ */
.sd-luggage-sizes {
  display: flex;
  gap: 0.375rem;
}

.sd-luggage-btn {
  flex: 1;
  padding: 0.55rem;
  background: #f8f8f8;
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-sm);
  color: var(--sd-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sd-luggage-btn svg {
  width: 16px;
  height: 16px;
}

.sd-luggage-btn:hover {
  border-color: var(--sd-border-hover);
  color: var(--sd-text-secondary);
}

.sd-luggage-btn.active {
  background: var(--sd-accent-subtle);
  border-color: var(--sd-accent);
  color: var(--sd-accent);
}

/* ============================================
   CHECKBOX STYLES
   ============================================ */
.sd-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  user-select: none;
  padding-top: 0.5rem;
  border-top: 1px solid var(--sd-border);
  margin-top: 0.25rem;
}

.sd-checkbox-wrapper input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.sd-checkbox-custom {
  width: 16px;
  height: 16px;
  border: 1px solid var(--sd-border);
  border-radius: 3px;
  background: #f8f8f8;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sd-checkbox-wrapper input:checked + .sd-checkbox-custom {
  background: var(--sd-accent);
  border-color: var(--sd-accent);
}

.sd-checkbox-wrapper input:checked + .sd-checkbox-custom::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 7px;
  border: solid #ffffff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.sd-checkbox-label {
  font-family: var(--sd-font-body);
  font-size: 0.75rem;
  color: var(--sd-text-secondary);
}

/* Return Time Field */
.sd-return-field {
  display: none;
  margin-top: 0.625rem;
  padding-left: 1.5rem;
}

.sd-return-field.visible {
  display: block;
}

/* ============================================
   BUTTONS
   ============================================ */
.sd-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: var(--sd-radius-sm);
  font-family: var(--sd-font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sd-btn svg {
  width: 14px;
  height: 14px;
}

/* Primary Button */
.sd-btn--primary {
  width: 100%;
  background: var(--sd-accent);
  color: #ffffff;
  margin-top: 0.5rem;
}

.sd-btn--primary:hover {
  background: var(--sd-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.sd-btn--primary:active {
  transform: translateY(0);
}

/* Secondary Button */
.sd-btn--secondary {
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid var(--sd-border);
  color: var(--sd-text-secondary);
  font-weight: 500;
}

.sd-btn--secondary:hover {
  border-color: var(--sd-border-hover);
  color: var(--sd-text-primary);
}

/* Secondary Alternative Button (for pay on site) */

/* Button Loading State */
.sd-btn.loading {
  position: relative;
  pointer-events: none;
}

.sd-btn.loading .sd-btn-icon,
.sd-btn.loading .sd-btn-text {
  opacity: 0;
}

.sd-btn.loading .sd-btn-loading-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sd-btn-loading-text {
  display: none;
  font-size: 0.8rem;
}

.sd-btn-loading-text::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: sd-spin 0.7s linear infinite;
}

.sd-btn--secondary.loading .sd-btn-loading-text::before {
  border-color: rgba(0, 0, 0, 0.2);
  border-top-color: var(--sd-accent);
}

@keyframes sd-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   STEP HEADER
   ============================================ */
.sd-step-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--sd-border);
}

.sd-step-title {
  font-family: var(--sd-font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sd-text-muted);
}

/* Route Info Display in Step 2 */
.sd-route-info-step2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  background: var(--sd-accent-subtle, #f9f7f3);
  border: 1px solid var(--sd-accent, #d4af37);
  border-radius: var(--sd-radius-md, 8px);
}

.sd-route-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sd-text, #1a1a1a);
}

.sd-route-info-item svg {
  color: var(--sd-accent, #d4af37);
  stroke: var(--sd-accent, #d4af37);
  flex-shrink: 0;
}

/* ============================================
   VEHICLE SELECTION
   ============================================ */
.sd-vehicles-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.sd-vehicle-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.sd-vehicle-card:hover:not(.disabled) {
  border-color: rgba(212, 175, 55, 0.35);
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.1);
  transform: translateY(-1px);
}

.sd-vehicle-card.selected {
  border-color: var(--sd-accent);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(212, 175, 55, 0.02) 100%);
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.15);
}

.sd-vehicle-card.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sd-vehicle-icon {
  width: 60px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sd-text-secondary);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
}

.sd-vehicle-card.selected .sd-vehicle-icon {
  color: var(--sd-accent);
  background: rgba(212, 175, 55, 0.08);
}

.sd-vehicle-icon svg {
  width: 24px;
  height: 24px;
}

.sd-vehicle-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.25s ease;
}

.sd-vehicle-card:hover:not(.disabled) .sd-vehicle-image {
  transform: scale(1.05);
}

.sd-vehicle-card.selected .sd-vehicle-image {
  box-shadow: inset 0 0 0 2px var(--sd-accent);
}

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

.sd-vehicle-name {
  font-family: var(--sd-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sd-text-primary);
  margin-bottom: 0.1rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.sd-vehicle-details {
  font-family: var(--sd-font-body);
  font-size: 0.62rem;
  color: var(--sd-text-muted);
  line-height: 1.4;
}

.sd-vehicle-qty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.4rem;
}

.sd-vehicle-qty-label {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sd-text-muted);
}

.sd-vehicle-qty-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sd-accent);
}

.sd-vehicle-price {
  font-family: var(--sd-font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sd-text-primary);
  white-space: nowrap;
  padding-left: 0.25rem;
  border-left: 2px solid rgba(212, 175, 55, 0.25);
}

/* Custom fleet card styling */
.sd-vehicle-card--custom {
  border-color: var(--sd-accent);
  background: var(--sd-accent-subtle);
}

.sd-vehicle-card--custom .sd-vehicle-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--sd-accent);
  opacity: 0.9;
}

.sd-vehicle-card--custom .sd-vehicle-name {
  color: var(--sd-accent);
}

/* ============================================
   VEHICLE CARDS WITH CONTROLS (Multi-select)
   ============================================ */
.sd-vehicle-card-multi {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  margin-bottom: 0.4rem;
  transition: all 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.sd-vehicle-card-multi:hover {
  border-color: rgba(212, 175, 55, 0.35);
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.1);
}

.sd-vehicle-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.sd-qty-btn {
  width: 28px;
  height: 28px;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  color: var(--sd-text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sd-qty-btn:hover {
  background: var(--sd-accent-subtle);
  border-color: var(--sd-accent);
  color: var(--sd-accent);
}

.sd-qty-btn:active {
  transform: scale(0.95);
}

.sd-qty-value {
  min-width: 22px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sd-text-primary);
}

/* Capacity Summary */
.sd-capacity-summary {
  margin-top: 0.5rem;
  padding: 0.5rem 0.625rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-sm);
}

.sd-capacity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 0;
  font-size: 0.7rem;
  color: var(--sd-text-secondary);
}

.sd-capacity-ok {
  color: #4ade80 !important;
  font-weight: 600;
}

.sd-capacity-warning {
  color: #fbbf24 !important;
  font-weight: 600;
}

.sd-capacity-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.625rem;
  padding: 0.625rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--sd-radius-sm);
}

.sd-capacity-alert svg {
  width: 16px;
  height: 16px;
  color: #fbbf24;
  flex-shrink: 0;
}

.sd-capacity-alert span {
  font-size: 0.75rem;
  color: #fbbf24;
  font-weight: 600;
}

.sd-capacity-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.625rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--sd-border);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sd-accent);
}

/* Compose Fleet Button */
.sd-compose-fleet-btn {
  width: 100%;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.sd-compose-fleet-btn svg {
  width: 16px;
  height: 16px;
}

/* Fleet Composer Modal */
.sd-fleet-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.sd-fleet-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sd-fleet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sd-fleet-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  background: var(--sd-bg-secondary);
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.sd-fleet-modal.active .sd-fleet-content {
  transform: scale(1);
}

.sd-fleet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid var(--sd-border);
}

.sd-fleet-header h3 {
  font-family: var(--sd-font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--sd-text-primary);
  margin: 0;
}

.sd-fleet-close {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--sd-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sd-fleet-close svg {
  width: 16px;
  height: 16px;
  color: var(--sd-text-secondary);
}

.sd-fleet-close:hover {
  border-color: var(--sd-accent);
  background: var(--sd-accent-subtle);
}

.sd-fleet-close:hover svg {
  color: var(--sd-accent);
}

.sd-fleet-body {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
}

.sd-fleet-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem;
  border-top: 1px solid var(--sd-border);
}

.sd-fleet-footer .sd-btn {
  flex: 1;
}

/* Price Display */
.sd-price-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--sd-accent-subtle);
  border-radius: var(--sd-radius-sm);
  margin-top: 0.5rem;
}

.sd-price-label {
  font-size: 0.75rem;
  color: var(--sd-text-secondary);
}

.sd-price-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sd-accent);
}

/* ============================================
   CLIENT FORM
   ============================================ */

/* Gender Select */

.sd-gender-btn {
  flex: 1;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-sm);
  color: var(--sd-text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sd-gender-btn:hover {
  border-color: var(--sd-border-hover);
}

.sd-gender-btn.active {
  background: var(--sd-accent-subtle);
  border-color: var(--sd-accent);
  color: var(--sd-accent);
}

/* ============================================
   PAYMENT STEP
   ============================================ */
.sd-payment-summary {
  padding: 0.875rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--sd-radius-md);
  margin-bottom: 1rem;
}

.sd-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  font-family: var(--sd-font-body);
  font-size: 0.75rem;
}

.sd-summary-row:not(:last-child) {
  border-bottom: 1px solid var(--sd-border);
}

.sd-summary-label {
  color: var(--sd-text-muted);
}

.sd-summary-value {
  color: var(--sd-text-primary);
  font-weight: 500;
}

/* Stripe Element */

.sd-card-errors {
  font-size: 0.7rem;
  color: var(--sd-error);
  min-height: 1rem;
  margin-top: 0.375rem;
}

/* Payment Total */
.sd-payment-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem;
  background: var(--sd-accent-subtle);
  border-radius: var(--sd-radius-sm);
  margin: 0.75rem 0;
}

/* Payment Buttons Container */

/* Secure Payment Notice */

/* ============================================
   CONFIRMATION
   ============================================ */
.sd-confirmation {
  text-align: center;
  padding: 1rem 0;
}

.sd-confirmation-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(52, 199, 89, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sd-confirmation-icon svg {
  width: 28px;
  height: 28px;
  color: var(--sd-success);
}

.sd-confirmation-details {
  text-align: left;
  padding: 0.875rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--sd-radius-md);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.sd-toast {
  position: fixed;
  top: 100px;
  right: 20px;
  padding: 0.875rem 1.25rem;
  background: var(--sd-bg-secondary);
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-md);
  backdrop-filter: blur(20px);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 320px;
}

.sd-toast.visible {
  transform: translateX(0);
}

.sd-toast.success {
  border-color: rgba(52, 199, 89, 0.4);
}

.sd-toast.error {
  border-color: rgba(255, 69, 58, 0.4);
}

.sd-toast-content {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.sd-toast-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sd-toast.success .sd-toast-icon {
  color: var(--sd-success);
}

.sd-toast.error .sd-toast-icon {
  color: var(--sd-error);
}

.sd-toast-message {
  font-size: 0.8rem;
  color: var(--sd-text-primary);
  line-height: 1.4;
}

/* ============================================
   GOOGLE MAPS AUTOCOMPLETE
   ============================================ */

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {

  .sd-booking-body {
    padding: 0.6rem;
  }

  .sd-booking-widget {
    margin-top: 40px;
  }

  .sd-form-row--2,
  .sd-form-row--3 {
    grid-template-columns: 1fr;
  }

  .sd-service-tab {
    padding: 0.4rem 0.3rem;
    font-size: 0.55rem;
  }

  .sd-input {
    padding: 0.4rem 0.5rem;
    font-size: 0.7rem;
  }

  .sd-vehicle-card {
    padding: 0.45rem 0.55rem;
    gap: 0.45rem;
    border-radius: 8px;
  }

  .sd-vehicle-icon {
    width: 50px;
    height: 34px;
    border-radius: 5px;
  }

  .sd-vehicle-name {
    font-size: 0.72rem;
  }

  .sd-vehicle-details {
    font-size: 0.56rem;
  }

  .sd-vehicle-price {
    font-size: 0.74rem;
  }
}

@media (max-width: 380px) {
  .sd-luggage-sizes {
    justify-content: flex-start;
  }

  .sd-luggage-btn {
    flex: 0 0 40px;
  }
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */

@keyframes sd-scroll-bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  40% {
    transform: rotate(45deg) translateY(6px);
  }
  60% {
    transform: rotate(45deg) translateY(3px);
  }
}

/* ============================================
   INFO SIDE PANEL
   ============================================ */
.sd-info-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.sd-info-panel.active {
  pointer-events: all;
  opacity: 1;
}

/* Responsive */

/* ============================================
   PAYMENT WARNING
   ============================================ */
.sd-payment-warning {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 9999;
  max-width: 500px;
  width: 90%;
  background: var(--sd-bg-secondary);
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: var(--sd-radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: all 0.3s ease;
}

.sd-payment-warning.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sd-payment-warning-content {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
}

.sd-payment-warning-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 193, 7, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sd-payment-warning-icon svg {
  width: 24px;
  height: 24px;
  color: #ffc107;
}

.sd-payment-warning-text h4 {
  font-family: var(--sd-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--sd-text-primary);
  margin: 0 0 0.5rem 0;
}

.sd-payment-warning-text p {
  font-family: var(--sd-font-body);
  font-size: 0.85rem;
  color: var(--sd-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.sd-payment-warning-text strong {
  color: #ffc107;
  font-weight: 600;
}

/* Payment Reminder in Confirmation */
.sd-payment-reminder {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  margin-top: 1rem;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: var(--sd-radius-sm);
}

.sd-payment-reminder svg {
  width: 20px;
  height: 20px;
  color: #ffc107;
  flex-shrink: 0;
}

.sd-payment-reminder span {
  font-family: var(--sd-font-body);
  font-size: 0.8rem;
  color: var(--sd-text-secondary);
  line-height: 1.4;
}

.sd-amount-warning {
  color: #ffc107 !important;
  font-weight: 700 !important;
}
/* ============================================
   FLEET COMPOSER - ONGLETS ALLER/RETOUR
   ============================================ */

.sd-fleet-tabs {
  display: flex;
  border-bottom: 1px solid var(--sd-border);
  margin: 0 -1.5rem;
  padding: 0 1.5rem;
}

.sd-fleet-tab {
  flex: 1;
  padding: 1rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--sd-text-secondary);
}

.sd-fleet-tab span {
  font-family: var(--sd-font-body);
  font-size: 0.9rem;
  font-weight: 600;
}

.sd-fleet-tab small {
  font-family: var(--sd-font-body);
  font-size: 0.7rem;
  opacity: 0.7;
}

.sd-fleet-tab:hover {
  background: rgba(255, 255, 255, 0.02);
}

.sd-fleet-tab.active {
  border-bottom-color: var(--sd-accent);
  color: var(--sd-accent);
}

.sd-fleet-tab.active small {
  color: var(--sd-text-secondary);
}

/* Info header dans le compositeur */
.sd-fleet-info {
  padding: 0.875rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-sm);
}

.sd-fleet-info p {
  font-family: var(--sd-font-body);
  font-size: 0.85rem;
  color: var(--sd-text-secondary);
  margin: 0;
}

.sd-fleet-info strong {
  color: var(--sd-text-primary);
  font-weight: 600;
}

.sd-fleet-info--return {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.05);
}

.sd-fleet-info-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem !important;
  padding-top: 0.5rem;
  border-top: 1px solid var(--sd-border);
  font-size: 0.75rem !important;
  color: var(--sd-accent) !important;
}

.sd-fleet-info-note svg {
  flex-shrink: 0;
  color: var(--sd-accent);
}

/* Info véhicule aller dans le mode retour */
.sd-vehicle-aller-info {
  font-size: 0.7rem;
  color: var(--sd-text-muted);
  margin-top: 0.25rem;
  font-style: italic;
}

/* Message flotte vide */
.sd-fleet-empty {
  padding: 2rem;
  text-align: center;
}

.sd-fleet-empty p {
  font-family: var(--sd-font-body);
  font-size: 0.85rem;
  color: var(--sd-text-muted);
  margin: 0;
}

/* Amélioration de l'affichage de la capacité */
.sd-capacity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--sd-text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sd-capacity-row:last-of-type {
  border-bottom: none;
}

.sd-capacity-ok {
  color: #4ade80 !important;
  font-weight: 600;
}

.sd-capacity-warning {
  color: #fbbf24 !important;
  font-weight: 600;
}

/* Bouton désactivé */
.sd-btn.disabled,
.sd-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Responsive pour les onglets */
@media (max-width: 480px) {
  .sd-fleet-tabs {
    margin: 0 -1rem;
    padding: 0 1rem;
  }

  .sd-fleet-tab {
    padding: 0.75rem 0.5rem;
  }

  .sd-fleet-tab span {
    font-size: 0.8rem;
  }

  .sd-fleet-tab small {
    font-size: 0.65rem;
  }
}

/* ============================================
   FLEET COMPOSER - AMÉLIORATIONS V2
   ============================================ */

/* Header du résumé de capacité */
.sd-capacity-header {
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--sd-border);
  font-family: var(--sd-font-body);
  font-size: 0.9rem;
  color: var(--sd-text-primary);
}

/* Indicateur de différence aller/retour */
.sd-diff {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.sd-diff--plus {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}

.sd-diff--minus {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

/* Carte véhicule sélectionnée */
.sd-vehicle-card-multi.selected {
  border-color: var(--sd-accent);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(212, 175, 55, 0.02) 100%);
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.15);
}

/* Bouton quantité désactivé */
.sd-qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.sd-qty-btn:disabled:hover {
  background: transparent;
  transform: none;
}

/* ============================================
   FLIP CARD ANIMATION - INFO PANEL
   ============================================ */

/* S'assurer que le flipper a une hauteur minimale */

/* Header de la face arrière */

.sd-info-section {
  margin-bottom: 0.875rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sd-info-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sd-info-section h4 {
  margin: 0 0 0.35rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #d4af37;
}

.sd-info-section p {
  margin: 0;
  font-size: 0.75rem;
  color: #333;
  line-height: 1.45;
}

.sd-info-section a {
  color: #d4af37;
  text-decoration: none;
}

.sd-info-section a:hover {
  text-decoration: underline;
}

/* ============================================
   PAYMENT STYLES AMÉLIORÉS
   ============================================ */

.sd-payment-summary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.sd-summary-section {
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sd-summary-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.sd-summary-section-title {
  font-family: var(--sd-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sd-accent);
  margin-bottom: 0.75rem;
}

.sd-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.sd-summary-label {
  color: var(--sd-text-muted);
  flex-shrink: 0;
  margin-right: 1rem;
}

.sd-summary-value {
  color: var(--sd-text-primary);
  text-align: right;
  word-break: break-word;
}

/* Card Element Stripe */
.sd-card-element-wrapper {
  margin-bottom: 1.5rem;
}

.sd-card-element {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-sm);
  padding: 1rem 1.25rem;
  min-height: 50px;
  transition: all 0.2s ease;
}

.sd-card-element:focus-within {
  border-color: var(--sd-accent);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.sd-card-errors {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #ef4444;
}

/* Apple Pay / Google Pay Button */
.sd-payment-request-btn {
  margin-bottom: 0.75rem;
}

.sd-payment-separator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.sd-separator-line {
  flex: 1;
  height: 1px;
  background: var(--sd-border);
}

.sd-separator-text {
  font-family: var(--sd-font-body);
  font-size: 0.7rem;
  color: var(--sd-text-muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Divider */
.sd-payment-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--sd-text-muted);
  font-size: 0.8rem;
}

.sd-payment-divider::before,
.sd-payment-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sd-border);
}

.sd-payment-divider span {
  padding: 0 1rem;
}

/* Bouton payer */
.sd-btn--pay {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  justify-content: center;
  gap: 0.75rem;
}

/* Alternative payer sur place */

/* Sécurité paiement */
.sd-payment-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sd-border);
  font-size: 0.8rem;
  color: var(--sd-text-muted);
}

.sd-payment-secure svg {
  width: 16px;
  height: 16px;
  color: #4ade80;
}

/* ============================================
   MISE À DISPOSITION - DURÉE JOUR/HEURE
   ============================================ */

/* Responsive flip */

/* ============================================
   MISE À DISPOSITION - DURÉE INPUTS
   ============================================ */

.sd-duration-inputs {
  display: flex;
  gap: 1rem;
}

.sd-duration-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-sm);
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}

.sd-duration-input:focus-within {
  border-color: var(--sd-accent);
}

.sd-duration-input input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--sd-text-primary);
  font-family: var(--sd-font-body);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  width: 60px;
  padding: 0.5rem 0;
  -moz-appearance: textfield;
}

.sd-duration-input input::-webkit-outer-spin-button,
.sd-duration-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sd-duration-input input:focus {
  outline: none;
}

.sd-duration-label {
  font-size: 0.85rem;
  color: var(--sd-text-muted);
  white-space: nowrap;
}

.sd-form-hint {
  margin: 0.5rem 0 0 0;
  font-size: 0.75rem;
  color: var(--sd-text-muted);
  font-style: italic;
}

/* ============================================
   MISE À DISPOSITION - INFO KILOMÉTRAGE
   ============================================ */

/* ============================================
   PAIEMENT - OPTIONS CARD/ONSITE
   ============================================ */

.sd-payment-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--sd-radius-md);
  transition: all 0.2s ease;
}

.sd-payment-total:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.sd-payment-total-label {
  font-family: var(--sd-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.sd-payment-total-value {
  font-family: var(--sd-font-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: #d4af37;
}

/* Options de paiement - Boutons avec contraste élevé */
.sd-payment-option {
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--sd-radius-md);
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.2s ease;
  background: #f8f8f8;
}

.sd-payment-option:hover {
  border-color: rgba(212, 175, 55, 0.6);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

/* Option sélectionnée - Style bouton actif */
.sd-payment-option.active,
.sd-payment-option:has(input[type='radio']:checked) {
  border-color: var(--sd-accent);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}

.sd-payment-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
}

.sd-payment-option-radio {
  display: flex;
  align-items: center;
}

.sd-payment-option-radio input[type='radio'] {
  display: none;
}

.sd-payment-option-radio label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.sd-radio-dot {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  position: relative;
  transition: all 0.2s ease;
  background: #ffffff;
}

.sd-radio-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 10px;
  height: 10px;
  background: var(--sd-accent);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.sd-payment-option-radio input[type='radio']:checked + label .sd-radio-dot {
  border-color: var(--sd-accent);
  border-width: 2px;
}

.sd-payment-option-radio input[type='radio']:checked + label .sd-radio-dot::after {
  transform: translate(-50%, -50%) scale(1);
}

.sd-payment-option-title {
  font-family: var(--sd-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sd-text-primary);
  letter-spacing: -0.01em;
}

.sd-payment-cards {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.sd-payment-cards img {
  height: 20px;
  opacity: 0.7;
}

.sd-payment-option-content {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.15);
}

/* Card Element Stripe - Taille réduite */
.sd-card-element-wrapper {
  margin-bottom: 0.75rem;
}

.sd-card-element-wrapper .sd-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--sd-text-secondary);
}

.sd-card-element {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-sm);
  padding: 1rem 1.25rem;
  min-height: 44px;
  transition: all 0.2s ease;
}

.sd-card-element:focus-within {
  border-color: var(--sd-accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.sd-card-errors {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--sd-error);
}

/* Bouton payer */
.sd-btn--pay {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--sd-accent) 0%, #c9a227 100%);
  border: none;
  color: #000;
  font-weight: 600;
}

.sd-btn--pay:hover {
  background: linear-gradient(135deg, var(--sd-accent-hover) 0%, #ddb52f 100%);
  transform: translateY(-1px);
}

.sd-btn--pay svg {
  width: 20px;
  height: 20px;
}

/* Paiement sur place */
.sd-payment-onsite-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 1rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--sd-radius-sm);
  font-size: 0.85rem;
  color: var(--sd-text-secondary);
  line-height: 1.5;
}

.sd-payment-onsite-info svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--sd-accent);
}

.sd-btn--onsite {
  width: 100%;
  padding: 1rem 1.5rem;
  justify-content: center;
  gap: 0.75rem;
}

/* Divider amélioré */
.sd-payment-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--sd-text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sd-payment-divider::before,
.sd-payment-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sd-border);
}

.sd-payment-divider span {
  padding: 0 1rem;
}

/* Sécurité */
.sd-payment-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sd-border);
  font-size: 0.8rem;
  color: var(--sd-text-muted);
}

.sd-payment-secure svg {
  width: 16px;
  height: 16px;
  color: #4ade80;
}

.sd-summary-section {
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sd-summary-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sd-summary-section-title svg {
  stroke: #d4af37;
  flex-shrink: 0;
}

.sd-summary-section--aller {
  border-left: 3px solid #4caf50;
}

.sd-summary-section--retour {
  border-left: 3px solid #2196f3;
}

.sd-summary-section--options {
  border-left: 3px solid #ff9800;
}

.sd-summary-subsection {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.sd-summary-row--passenger .sd-summary-label {
  color: #d4af37;
}

.sd-summary-row--passenger .sd-summary-value {
  color: #d4af37;
  font-weight: 600;
}

.sd-summary-row--price .sd-summary-value {
  color: #d4af37;
  font-weight: 600;
}

.sd-summary-notes {
  margin: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 13px;
  color: #aaa;
  font-style: italic;
  line-height: 1.5;
}

/* Playlist info styling */
.sd-playlist-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 193, 7, 0.1);
  border-left: 3px solid #ffc107;
  border-radius: 0 4px 4px 0;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #ffc107;
}

.sd-playlist-info svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: #ffc107;
}

.sd-playlist-info strong {
  color: #ffeb3b;
}

/* ============================================
   RESPONSIVE COMPLET - TOUS BREAKPOINTS
   ============================================ */

/* Extra Large Screens (1400px+) */
@media (min-width: 1400px) {

  .sd-booking-widget {
    padding: 1.5rem;
  }
}

/* Large Screens - Desktop (1200px - 1399px) */

/* Medium Screens - Small Desktop/Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {

  .sd-booking-widget {
    padding: 1.25rem;
  }
}

/* Tablet Landscape (769px - 991px) */
@media (min-width: 769px) and (max-width: 991px) {

  .sd-form-label {
    font-size: 0.7rem;
  }

  .sd-input {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* Tablet Portrait (601px - 768px) */
@media (min-width: 601px) and (max-width: 768px) {

  .sd-booking-widget {
    padding: 1.25rem;
  }

  .sd-booking-body {
    padding: 1rem;
  }

  .sd-form-row--2,
  .sd-form-row--3 {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .sd-service-tab {
    padding: 0.6rem 0.8rem;
    font-size: 0.7rem;
  }

  .sd-input {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }

  .sd-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .sd-vehicle-card {
    padding: 0.5rem 0.65rem;
  }

  .sd-vehicle-name {
    font-size: 0.78rem;
  }
}

/* Large Mobile (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {

  .sd-booking-widget {
    padding: 1rem;
  }

  .sd-booking-body {
    padding: 0.875rem;
  }

  .sd-form-row--2 {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .sd-form-row--3 {
    grid-template-columns: 1fr;
  }

  .sd-service-tab {
    padding: 0.5rem 0.6rem;
    font-size: 0.65rem;
  }

  .sd-input {
    padding: 0.55rem 0.65rem;
    font-size: 0.8rem;
  }

  .sd-form-label {
    font-size: 0.65rem;
  }

  .sd-btn {
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
  }

  .sd-vehicle-card {
    padding: 0.5rem 0.6rem;
    gap: 0.5rem;
    border-radius: 8px;
  }

  .sd-vehicle-icon {
    width: 52px;
    height: 36px;
  }

  .sd-duration-inputs {
    flex-direction: row;
  }

  .sd-duration-input {
    padding: 0.4rem 0.75rem;
  }

  .sd-duration-input input {
    font-size: 1rem;
  }

  .sd-duration-label {
    font-size: 0.75rem;
  }
}

/* Standard Mobile (376px - 480px) */
@media (min-width: 376px) and (max-width: 480px) {

  .sd-booking-widget {
    padding: 0.875rem;
  }

  .sd-booking-body {
    padding: 0.75rem;
  }

  .sd-service-selector {
    gap: 0.25rem;
  }

  .sd-service-tab {
    padding: 0.45rem 0.5rem;
    font-size: 0.6rem;
  }

  .sd-form-row--2,
  .sd-form-row--3 {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }

  .sd-form-field {
    margin-bottom: 0.5rem;
  }

  .sd-form-label {
    font-size: 0.6rem;
    margin-bottom: 0.25rem;
  }

  .sd-input {
    padding: 0.5rem 0.6rem;
    font-size: 0.75rem;
  }

  .sd-btn {
    padding: 0.625rem 0.875rem;
    font-size: 0.75rem;
  }

  .sd-btn svg {
    width: 14px;
    height: 14px;
  }

  .sd-vehicle-card {
    padding: 0.45rem 0.5rem;
    gap: 0.45rem;
    border-radius: 8px;
  }

  .sd-vehicle-icon {
    width: 48px;
    height: 32px;
  }

  .sd-vehicle-image {
    width: 48px;
    height: 32px;
  }

  .sd-vehicle-name {
    font-size: 0.7rem;
  }

  .sd-vehicle-details {
    font-size: 0.56rem;
  }

  .sd-vehicle-price {
    font-size: 0.72rem;
    padding-left: 0.2rem;
  }

  .sd-checkbox-wrapper {
    padding: 0.5rem 0;
  }

  .sd-checkbox-label {
    font-size: 0.7rem;
  }

  .sd-optional-field {
    padding: 0.625rem;
  }

  .sd-duration-inputs {
    flex-direction: column;
    gap: 0.5rem;
  }

  .sd-price-display {
    padding: 0.75rem;
  }

  .sd-price-label {
    font-size: 0.7rem;
  }

  .sd-price-value {
    font-size: 1.25rem;
  }

  .sd-step-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }

  .sd-step-title {
    text-align: center;
    font-size: 0.8rem;
  }

  .sd-info-section h4 {
    font-size: 0.75rem;
  }

  .sd-info-section p {
    font-size: 0.65rem;
  }
}

/* Small Mobile (320px - 375px) */
@media (max-width: 375px) {

  .sd-booking-widget {
    padding: 0.75rem;
    border-radius: var(--sd-radius-md);
  }

  .sd-booking-body {
    padding: 0.625rem;
  }

  .sd-service-selector {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .sd-service-tab {
    flex: 1 1 45%;
    padding: 0.4rem;
    font-size: 0.55rem;
    text-align: center;
  }

  .sd-form-row--2,
  .sd-form-row--3 {
    grid-template-columns: 1fr;
  }

  .sd-form-label {
    font-size: 0.55rem;
  }

  .sd-input {
    padding: 0.45rem 0.5rem;
    font-size: 0.7rem;
  }

  .sd-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
  }

  .sd-luggage-sizes {
    gap: 0.25rem;
  }

  .sd-luggage-btn {
    width: 36px;
    height: 36px;
  }

  .sd-luggage-btn svg {
    width: 16px;
    height: 16px;
  }

  .sd-vehicle-card {
    padding: 0.4rem 0.45rem;
    gap: 0.35rem;
    border-radius: 7px;
  }

  .sd-vehicle-icon {
    width: 42px;
    height: 28px;
    border-radius: 4px;
  }

  .sd-vehicle-image {
    width: 42px;
    height: 28px;
  }

  .sd-vehicle-name {
    font-size: 0.65rem;
  }

  .sd-vehicle-price {
    font-size: 0.68rem;
    padding-left: 0.15rem;
    border-left-width: 1.5px;
  }

  .sd-checkbox-label {
    font-size: 0.65rem;
  }

  .sd-checkbox-custom {
    width: 16px;
    height: 16px;
  }

  .sd-waiting-notice {
    padding: 0.5rem;
    font-size: 0.6rem;
  }

  .sd-waiting-notice svg {
    width: 14px;
    height: 14px;
  }

  .sd-duration-inputs {
    flex-direction: column;
    gap: 0.375rem;
  }

  .sd-duration-input {
    padding: 0.375rem 0.5rem;
  }

  .sd-duration-input input {
    font-size: 0.9rem;
    width: 50px;
  }

  .sd-duration-label {
    font-size: 0.7rem;
  }

  .sd-form-hint {
    font-size: 0.55rem;
  }

  .sd-price-display {
    padding: 0.625rem;
  }

  .sd-price-value {
    font-size: 1.1rem;
  }

  .sd-payment-option-header {
    padding: 0.625rem;
  }

  .sd-payment-option-title {
    font-size: 0.75rem;
  }

  .sd-payment-option-content {
    padding: 0.625rem;
  }

  .sd-info-section {
    margin-bottom: 0.625rem;
    padding-bottom: 0.5rem;
  }

  .sd-info-section h4 {
    font-size: 0.7rem;
  }

  .sd-info-section p {
    font-size: 0.6rem;
    line-height: 1.4;
  }
}

/* Extra Small Mobile (< 320px) */
@media (max-width: 319px) {

  .sd-booking-widget {
    padding: 0.5rem;
  }

  .sd-service-tab {
    font-size: 0.5rem;
    padding: 0.35rem;
  }

  .sd-input {
    font-size: 0.65rem;
    padding: 0.4rem;
  }

  .sd-btn {
    font-size: 0.65rem;
    padding: 0.45rem 0.625rem;
  }
}

/* ============================================
   CHAMPS OBLIGATOIRES ET VALIDATION
   ============================================ */

/* Astérisque obligatoire */
.sd-required {
  color: var(--sd-error);
  font-weight: 600;
  margin-left: 2px;
}

/* Messages d'erreur de champ - Dynamiques (pas de hauteur fixe) */
.sd-field-error {
  display: none;
  font-size: 0.7rem;
  color: var(--sd-error);
  margin-top: 2px;
  line-height: 1.2;
}

.sd-field-error.visible {
  display: block;
  animation: sd-fade-in 0.2s ease;
}

@keyframes sd-fade-in {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Input en erreur */
.sd-input.sd-input-error {
  border-color: var(--sd-error) !important;
  background-color: rgba(239, 68, 68, 0.05) !important;
}

.sd-input.sd-input-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

/* Animation shake pour erreur */
@keyframes sd-shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.sd-input.sd-shake {
  animation: sd-shake 0.5s ease;
}

/* Input valide */

/* ============================================
   ACCORDEONS RECAP PAIEMENT
   Style unifié avec sd-confirm-accordion (theme blanc/doré)
   ============================================ */

.sd-accordion {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
  background: #fafafa;
  margin-bottom: 6px;
}

.sd-accordion:hover {
  border-color: rgba(0, 0, 0, 0.15);
}

.sd-accordion-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  cursor: pointer;
  background: #fff;
  transition: background 0.2s;
  user-select: none;
}

.sd-accordion-header:hover {
  background: rgba(212, 175, 55, 0.05);
}

.sd-accordion-header svg:first-child {
  width: 14px;
  height: 14px;
  color: #d4af37;
  flex-shrink: 0;
}

.sd-accordion-header span:not(.sd-accordion-price) {
  flex: 1;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0a0a0a;
}

.sd-accordion-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: #d4af37;
  margin-right: 8px;
}

.sd-accordion-chevron {
  width: 12px;
  height: 12px;
  color: #999;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.sd-accordion.open .sd-accordion-chevron {
  transform: rotate(180deg);
}

.sd-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.sd-accordion.open .sd-accordion-content {
  max-height: 400px;
  padding: 0 10px 8px;
  overflow-y: auto;
}

.sd-summary-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sd-summary-row:last-child {
  border-bottom: none;
}

.sd-summary-label {
  font-size: 0.65rem;
  color: #666;
  min-width: 60px;
}

.sd-summary-value {
  flex: 1;
  font-size: 0.65rem;
  font-weight: 500;
  color: #0a0a0a;
  text-align: right;
}

/* Prix warning (paiement sur place) */
.sd-amount-warning {
  color: #f59e0b !important;
}

/* Rappel paiement sur place */
.sd-payment-reminder {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--sd-radius-md);
  padding: 12px 16px;
  margin-top: 16px;
}

.sd-payment-reminder svg {
  width: 18px;
  height: 18px;
  color: #f59e0b;
  flex-shrink: 0;
}

.sd-payment-reminder span {
  font-size: 0.8rem;
  color: #f59e0b;
}

/* ============================================
   GOOGLE MAPS AUTOCOMPLETE - Style blanc/doré
   ============================================ */

.pac-container {
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font-family: 'Inter', sans-serif;
  z-index: 10000 !important;
  margin-top: -2px;
}

.pac-container::after {
  display: none !important;
}

.pac-item {
  padding: 10px 16px;
  font-size: 0.85rem;
  color: #1a1a1a;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: background 0.15s ease;
  line-height: 1.5;
}

.pac-item:first-child {
  border-top: none;
}

.pac-item:hover,
.pac-item.pac-item-selected {
  background: rgba(212, 175, 55, 0.1);
}

.pac-item-query {
  color: #1a1a1a;
  font-weight: 500;
  font-size: 0.85rem;
}

.pac-matched {
  color: #d4af37;
  font-weight: 600;
}

.pac-icon {
  display: none;
}

.pac-item span:last-child {
  color: #666;
  font-size: 0.78rem;
}

/* ============================================
   MESSAGE INFO MISE A DISPOSITION
   ============================================ */

/* Info kilométrage mise à disposition */
.sd-vehicle-km-info {
  margin-top: 0.25rem;
  padding: 0.2rem 0.4rem;
  background: rgba(212, 175, 55, 0.06);
  border-left: 2px solid rgba(212, 175, 55, 0.5);
  border-radius: 0 4px 4px 0;
  font-size: 0.55rem;
  color: var(--sd-text-muted);
  line-height: 1.3;
}

@media (max-width: 600px) {
  .sd-phone-input-group {
    grid-template-columns: 100px 1fr;
    gap: 0.35rem;
  }
}
