/* Step Transition Animations */
.bookeasy-step {
  animation: stepFadeIn 0.4s ease-out;
}
@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.bookeasy-step-loading {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  flex-direction: column;
  gap: 16px;
}
.bookeasy-step-loading .step-loader {
  width: 40px;
  height: 40px;
  border: 4px solid #e2e8f0;
  border-top-color: #1C3385;
  border-radius: 50%;
  animation: stepSpin 0.7s linear infinite;
}
@keyframes stepSpin {
  to { transform: rotate(360deg); }
}
.bookeasy-step-loading p {
  color: #64748b;
  font-size: 0.95rem;
}

/* BookEasy Multi-Step Moving Quote Form Styles */

/*REM CALC*/
/*
1rem = 25.33px on 1440px width
remValue = designPixelValue / 25.33px (at 1440px viewport)
*/

@media (min-width: 48rem) {
  :root {
    font-size: calc(1rem + ((1vw - 0.8rem) * 1.389));
  }
}
:root {
  --primary-blue: #1c3385;
  --primary-orange: #e5891c;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
  --text-dark: #333333;
  --text-light: #666666;
}

.bookeasy-field-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #9f1239;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.bookeasy-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.truck-option.bookeasy-invalid .truck-card {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.select2-container {
  width: 100% !important;
  max-width: 100%;
}

.select2-container .select2-selection--single {
  min-height: 46px;
  border: 2px solid #d9e1f2;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  transition: all 0.2s ease;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  color: #1e293b;
  line-height: 42px;
  padding-left: 14px;
  padding-right: 40px;
  font-weight: 500;
}

.select2-container .select2-selection--single .select2-selection__arrow {
  height: 42px;
  right: 10px;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
  border-color: #1c3385 transparent transparent transparent;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #1c3385;
  box-shadow: 0 0 0 3px rgba(28, 51, 133, 0.14);
}

.select2-dropdown {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  border: 1px solid #dbe4ff;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.12);
  overflow: hidden;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  width: 100% !important;
  box-sizing: border-box;
}

.select2-results__options {
  max-height: 260px;
}

.select2-container--default .select2-results__option {
  padding: 10px 12px;
  font-size: 14px;
  white-space: normal;
  word-break: break-word;
  line-height: 1.45;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: #1c3385;
  color: #fff;
}

.select2-container--default .select2-results__group {
  padding: 10px 12px 6px;
  color: #1c3385;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #eef4ff;
  border-top: 1px solid #dbe5ff;
}

.bookeasy-select2-location-option {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bookeasy-select2-location-name {
  display: block;
  font-weight: 600;
  color: inherit;
}

.bookeasy-select2-location-meta {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable .bookeasy-select2-location-meta {
  color: rgba(255, 255, 255, 0.82);
}

.time-group .select2-container--open,
.bookeasy-location-group .select2-container--open,
.bookeasy-floor-details .select2-container--open {
  width: 100% !important;
  max-width: 100% !important;
}
.container {
  width: 100%;
  max-width: 47.3746rem;
}

/* Main Container */
#bookeasy-quote-container {
  display: flex;
  max-width: 1200px;
  margin: 20px auto;
  gap: 30px;
  font-family: "Arial", sans-serif;
}

#bookeasy-quote-form {
  flex: 2;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

#bookeasy-quote-sidebar {
  flex: 1;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 20px;
  border: 2px solid #e9ecef;
}

/* Progress Bar */
.bookeasy-progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 0 10px;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.bookeasy-progress-bar::-webkit-scrollbar {
  display: none;
}

.bookeasy-progress-step {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  background: #e9ecef;
  color: #6c757d;
  border-radius: 25px;
  margin: 0 5px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  min-width: 0;
}

.bookeasy-progress-label {
  display: block;
  line-height: 1.3;
}

.bookeasy-progress-label-short {
  display: none;
}

.bookeasy-progress-step.active {
  background: #1c3385;
  color: white;
}

.bookeasy-progress-step.completed {
  background: #e5891c;
  color: white;
}

/* Form Steps */
.bookeasy-step {
  min-height: 400px;
  animation: fadeIn 0.5s ease;
}

.bookeasy-step h3 {
  color: #1c3385;
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

/* Item Selection (Step 2 for Book Moving Service) */
.bookeasy-item-selection-container {
  max-width: 1000px;
  margin: 0 auto;
}

.bookeasy-actions-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  padding: 0 15px;
}

.bookeasy-clear-list {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #6c757d;
  font-size: 14px;
  transition: color 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
}

.bookeasy-clear-list:hover {
  color: #1c3385;
  background: #f8f9fa;
  border-color: #e9ecef;
}

.bookeasy-room-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 15px;
}

.bookeasy-room-tab {
  padding: 10px 20px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: #495057;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.bookeasy-room-tab:hover {
  border-color: #1c3385;
  color: #1c3385;
  transform: translateY(-1px);
}

.bookeasy-room-tab.active {
  background: #1c3385;
  color: white;
  border-color: #1c3385;
}

.bookeasy-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.bookeasy-item-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.bookeasy-item-card:hover {
  border-color: #1c3385;
  box-shadow: 0 4px 12px rgba(28, 51, 133, 0.15);
  transform: translateY(-2px);
}

.bookeasy-item-text {
  font-weight: 500;
  color: #2c3e50;
  font-size: 15px;
  flex: 1;
}

.bookeasy-item-add {
  width: 28px;
  height: 28px;
  background: #1c3385;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
}

.bookeasy-item-card:hover .bookeasy-item-add {
  background: #e5891c;
  transform: scale(1.1);
}

.bookeasy-item-counter {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 20px;
  padding: 6px 12px;
}

.bookeasy-counter-btn {
  width: 11px;
  height: 20px;
  background: #1c3385;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.2s ease;
  user-select: none;
  border-radius: 100%;
  padding: 15px;
}

.bookeasy-counter-btn:hover {
  background: #e5891c;
}

.bookeasy-counter-btn:active {
  transform: scale(0.95);
}

.bookeasy-counter-btn:disabled {
  background: #dee2e6;
  color: #6c757d;
  cursor: not-allowed;
  transform: none;
}

.bookeasy-counter-value {
  width: 50px;
  height: 36px;
  text-align: center;
  border: none;
  background: white;
  font-weight: 600;
  color: #1c3385;
  font-size: 16px;
  outline: none;
  padding: 0;
  margin: 0;
  appearance: textfield;
  -moz-appearance: textfield; /* Hide spinner in Firefox */
}

.bookeasy-counter-value::-webkit-outer-spin-button,
.bookeasy-counter-value::-webkit-inner-spin-button {
  -webkit-appearance: none; /* Hide spinner in Chrome/Safari */
  margin: 0;
}
.bookeasy-selected-items-summary {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  margin-top: 25px;
}

.bookeasy-selected-items-summary h4 {
  color: #1c3385;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

#bookeasy-selected-items-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.bookeasy-selected-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 14px;
}

.bookeasy-selected-item-name {
  color: #2c3e50;
  font-weight: 500;
}

.bookeasy-selected-item-count {
  background: #e5891c;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold;
}

/* Service and Truck Options */
.bookeasy-service-options,
.truck-selection-container {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.bookeasy-option {
  display: block;
  cursor: pointer;
  position: relative;
  margin-bottom: 10px;
}

.bookeasy-option input[type="checkbox"] {
  display: none;
}

.bookeasy-option-content {
  display: block;
  padding: 20px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  background: #fff;
  transition: all 0.3s ease;
  text-align: center;
}

.bookeasy-option input[type="checkbox"]:checked + .bookeasy-option-content {
  border-color: #1c3385;
  background: #f0f8ff;
  box-shadow: 0 0 10px rgba(28, 51, 133, 0.2);
}

.bookeasy-option-content strong {
  display: block;
  color: #1c3385;
  font-size: 18px;
  margin-bottom: 8px;
}

.bookeasy-option-content p {
  color: #6c757d;
  margin: 0;
  font-size: 14px;
}

/* Date and Time Calendar */
.bookeasy-calendar-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.bookeasy-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  background: linear-gradient(135deg, #1c3385, #0f1e4d);
  color: white;
}

.bookeasy-calendar-header h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.bookeasy-calendar-nav {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.bookeasy-calendar-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.bookeasy-calendar-grid {
  padding: 0;
}

.bookeasy-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.bookeasy-weekday {
  padding: 15px;
  text-align: center;
  font-weight: 700;
  color: #495057;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bookeasy-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #e9ecef;
}

.bookeasy-calendar-day {
  background: white;
  padding: 8px;
  min-height: 120px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.bookeasy-calendar-day:hover {
  background: #f0f8ff;
  transform: scale(1.02);
  box-shadow: 0 2px 10px rgba(28, 51, 133, 0.2);
}

.bookeasy-calendar-day.other-month {
  background: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
}

.bookeasy-calendar-day.other-month:hover {
  background: #f8f9fa;
  transform: none;
  box-shadow: none;
}

.bookeasy-calendar-day.today {
  background: #e3f2fd;
  border: 2px solid #e5891c;
}

.bookeasy-calendar-day.selected {
  background: #1c3385;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(28, 51, 133, 0.4);
}

.bookeasy-day-number {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #1c3385;
}

.bookeasy-calendar-day.selected .bookeasy-day-number {
  color: white;
}

.bookeasy-day-slots {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bookeasy-time-slot-mini {
  padding: 2px 4px;
  font-size: 10px;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.bookeasy-time-slot-mini.available {
  background: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

.bookeasy-time-slot-mini.available:hover {
  background: #e5891c;
  color: white;
  transform: scale(1.1);
}

.bookeasy-time-slot-mini.booked {
  background: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
  cursor: not-allowed;
  opacity: 0.7;
}

.bookeasy-time-slot-mini.selected {
  background: #e5891c;
  color: white;
  border-color: #cc7a19;
  font-weight: bold;
}

.bookeasy-selected-datetime {
  background: #f8f9fa;
  padding: 25px;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.bookeasy-selected-datetime h4 {
  color: #1c3385;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

#selected-date-display {
  font-size: 18px;
  color: #1c3385;
  font-weight: 600;
  margin-bottom: 20px;
  padding: 10px;
  background: white;
  border-radius: 8px;
  border: 2px solid #1c3385;
}

.bookeasy-time-slots-for-date {
  max-width: 500px;
  margin: 0 auto;
}

.bookeasy-time-slot-large {
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

.bookeasy-time-slot-large.available {
  border-color: #1c3385;
  color: #1c3385;
}

.bookeasy-time-slot-large.available:hover {
  background: #1c3385;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(28, 51, 133, 0.3);
}

.bookeasy-time-slot-large.booked {
  background: #f8f9fa;
  color: #6c757d;
  border-color: #dee2e6;
  cursor: not-allowed;
  opacity: 0.6;
}

.bookeasy-time-slot-large.selected {
  background: #e5891c;
  color: white;
  border-color: #e5891c;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 137, 28, 0.3);
}

.bookeasy-calendar-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background: white;
}

.bookeasy-no-slots {
  text-align: center;
  color: #6c757d;
  padding: 20px;
  font-style: italic;
}

/* Calendar animations */
.bookeasy-calendar-day {
  animation: fadeInCalendar 0.3s ease;
}

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

.bookeasy-calendar-slide-left {
  animation: slideLeft 0.4s ease;
}

.bookeasy-calendar-slide-right {
  animation: slideRight 0.4s ease;
}

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

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

/* Location Details with Autocomplete */
.bookeasy-location-container {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.bookeasy-location-group {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  position: relative;
}

.bookeasy-location-group h4 {
  color: #1c3385;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.bookeasy-location-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #495057;
}

.bookeasy-location-search-container {
  position: relative;
  margin-bottom: 15px;
}

.bookeasy-location-autocomplete {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
}

.bookeasy-location-autocomplete:focus {
  outline: none;
  border-color: #1c3385;
  box-shadow: 0 0 0 3px rgba(28, 51, 133, 0.1);
}

.bookeasy-location-autocomplete.loading {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="3" fill="none" stroke="%231C3385" stroke-width="2" stroke-dasharray="5 5"><animateTransform attributeName="transform" type="rotate" dur="1s" repeatCount="indefinite" values="0 8 8;360 8 8"/></circle></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 40px;
}

.bookeasy-location-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e9ecef;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bookeasy-location-dropdown.show {
  display: block;
}

.bookeasy-location-option {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f8f9fa;
  transition: background-color 0.2s ease;
}

.bookeasy-location-option:hover {
  background-color: #f8f9fa;
}

.bookeasy-location-option.highlighted {
  background-color: #1c3385;
  color: white;
}

.bookeasy-location-option:last-child {
  border-bottom: none;
}

.bookeasy-location-rate {
  background: #e8f5e8;
  border: 1px solid #e5891c;
  border-radius: 5px;
  padding: 8px 12px;
  margin-bottom: 15px;
  text-align: center;
}

.rate-label {
  font-size: 14px;
  color: #155724;
  font-weight: 600;
}

.rate-amount {
  color: #e5891c;
  font-weight: bold;
}

.bookeasy-location-group textarea,
.bookeasy-location-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

.bookeasy-location-group textarea:focus,
.bookeasy-location-group select:focus {
  outline: none;
  border-color: #1c3385;
}

.bookeasy-location-group textarea {
  height: 80px;
  resize: vertical;
}

.bookeasy-checkbox {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 10px;
}

.bookeasy-checkbox input[type="checkbox"] {
  width: auto !important;
  margin: 0;
  transform: scale(1.2);
  accent-color: #1c3385;
}

/* Additional Services */
.bookeasy-additional-services {
  display: grid;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.bookeasy-service-checkbox {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}

.bookeasy-service-checkbox:hover {
  border-color: #1c3385;
  box-shadow: 0 2px 8px rgba(28, 51, 133, 0.1);
}

.bookeasy-service-checkbox input[type="checkbox"] {
  margin-right: 15px;
  transform: scale(1.3);
  margin-top: 0;
  accent-color: #1c3385;
}

.bookeasy-service-checkbox
  input[type="checkbox"]:checked
  + .bookeasy-service-details {
  color: #1c3385;
}

.bookeasy-service-details {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bookeasy-service-details strong {
  font-size: 16px;
  color: #1c3385;
}

.bookeasy-price {
  font-weight: 600;
  color: #e5891c;
  font-size: 14px;
}

/* Customer Info */
.bookeasy-customer-info {
  max-width: 500px;
  margin: 0 auto 30px auto;
}

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

.bookeasy-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1c3385;
}

.bookeasy-form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.bookeasy-form-group input:focus {
  outline: none;
  border-color: #1c3385;
  box-shadow: 0 0 0 3px rgba(28, 51, 133, 0.1);
}

/* Quote Summary */
.bookeasy-quote-summary {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  margin-bottom: 30px;
}

.bookeasy-quote-summary h4 {
  color: #1c3385;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

#quote-details {
  margin-bottom: 15px;
}

.quote-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

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

.bookeasy-total-quote {
  text-align: center;
  padding: 15px;
  background: #1c3385;
  color: white;
  border-radius: 8px;
  font-size: 18px;
}

/* Sidebar */
#bookeasy-quote-sidebar h4 {
  color: #1c3385;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

#sidebar-quote-details {
  margin-bottom: 20px;
  color: #6c757d;
}

#sidebar-quote-details .location-rate {
  color: #e5891c;
  font-size: 12px;
  font-weight: 600;
}

.bookeasy-sidebar-total {
  text-align: center;
  padding: 15px;
  background: #e5891c;
  color: white;
  border-radius: 8px;
  font-size: 18px;
}

/* Navigation Buttons */
.bookeasy-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.bookeasy-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bookeasy-prev-btn {
  background: #6c757d;
  color: white;
}

.bookeasy-prev-btn:hover {
  background: #5a6268;
}

.bookeasy-next-btn {
  background: #1c3385;
  color: white;
}

.bookeasy-next-btn:hover {
  background: #0f1e4d;
}

.bookeasy-submit-btn {
  width: 100%;
  padding: 15px;
  background: #e5891c;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bookeasy-submit-btn:hover {
  background: #cc7a19;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 137, 28, 0.3);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bookeasy-step.fade-out {
  animation: fadeOut 0.3s ease;
}

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

/* Loading State */
.bookeasy-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.bookeasy-spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #1c3385;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

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

/* Error Messages */
.bookeasy-error {
  background: #f8d7da;
  color: #721c24;
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 15px;
  border: 1px solid #f5c6cb;
}

.bookeasy-success {
  background: #d4edda;
  color: #155724;
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 15px;
  border: 1px solid #c3e6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
  #bookeasy-quote-container {
    flex-direction: column;
    margin: 10px;
    gap: 20px;
  }

  .bookeasy-progress-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 -4px 24px;
    padding: 0 4px 6px;
    scroll-snap-type: x proximity;
  }

  .bookeasy-progress-step {
    font-size: 12px;
    flex: 0 0 160px;
    min-width: 160px;
    padding: 10px 12px;
    margin: 0;
    border-radius: 18px;
    scroll-snap-align: start;
  }

  .bookeasy-service-options,
  .bookeasy-truck-options {
    grid-template-columns: 1fr;
  }

  .bookeasy-location-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bookeasy-navigation {
    flex-direction: column;
    gap: 10px;
  }

  #bookeasy-quote-form,
  #bookeasy-quote-sidebar {
    padding: 20px;
  }

  /* Calendar Mobile Styles */
  .bookeasy-calendar-container {
    margin: 0;
  }

  .bookeasy-calendar-header {
    padding: 15px 20px;
  }

  .bookeasy-calendar-header h4 {
    font-size: 20px;
  }

  .bookeasy-calendar-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .bookeasy-weekday {
    padding: 10px 5px;
    font-size: 12px;
  }

  .bookeasy-calendar-day {
    min-height: 80px;
    padding: 5px;
  }

  .bookeasy-day-number {
    font-size: 14px;
    margin-bottom: 3px;
  }

  .bookeasy-time-slot-mini {
    padding: 1px 2px;
    font-size: 8px;
    margin: 1px 0;
  }

  .bookeasy-selected-datetime {
    padding: 20px 15px;
  }

  .bookeasy-time-slots-for-date {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .bookeasy-time-slot-large {
    padding: 12px 15px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .bookeasy-progress-step {
    flex-basis: 132px;
    min-width: 132px;
    font-size: 11px;
    padding: 10px 10px;
  }

  .bookeasy-progress-label-long {
    display: none;
  }

  .bookeasy-progress-label-short {
    display: block;
  }

  .bookeasy-step h3 {
    font-size: 20px;
  }

  .bookeasy-option-content strong {
    font-size: 16px;
  }

  .bookeasy-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Ultra Mobile Calendar */
  .bookeasy-calendar-header {
    padding: 10px 15px;
  }

  .bookeasy-calendar-header h4 {
    font-size: 18px;
  }

  .bookeasy-calendar-nav {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .bookeasy-weekday {
    padding: 8px 2px;
    font-size: 10px;
  }

  .bookeasy-calendar-day {
    min-height: 60px;
    padding: 3px;
  }

  .bookeasy-day-number {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .bookeasy-time-slot-mini {
    padding: 1px;
    font-size: 7px;
    border-radius: 2px;
  }

  .bookeasy-time-slots-for-date {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .bookeasy-time-slot-large {
    padding: 10px 12px;
    font-size: 12px;
  }

  #selected-date-display {
    font-size: 16px;
    padding: 8px;
  }

  .bookeasy-selected-datetime h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }
}


.btn-primary {
  background: linear-gradient(135deg, #1c3385 0%, #e5891c 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(28, 51, 133, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(28, 51, 133, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(108, 117, 125, 0.4);
}

.total-summary {
  background: linear-gradient(135deg, #1c3385 0%, #e5891c 100%);
  color: white;
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  margin: 30px 0;
  box-shadow: 0 15px 30px rgba(28, 51, 133, 0.3);
}

.total-items {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.total-label {
  font-size: 0.6rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-highlight {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  padding: 15px 25px;
  border-radius: 15px;
  margin: 15px 0;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.loading-message {
  text-align: center;
  padding: 60px;
  color: #6c757d;
  font-size: 1rem;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #e9ecef;
  border-top: 5px solid #1c3385;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

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

.error-message {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 30px;
  border-left: 5px solid #dc3545;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

.stats-bar {
  display: flex;
  justify-content: space-around;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 20px;
  border-radius: 15px;
  margin: 25px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1rem;
  font-weight: 700;
  color: #1c3385;
  display: block;
}

.stat-label {
  font-size: 0.6rem;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

  .checkout-actions {
    flex-direction: column;
  }

  .checkout-header h1 {
    font-size: 1rem;
  }

  .date-large {
    font-size: 0.8rem;
  }

  .stats-bar {
    flex-direction: column;
    gap: 15px;
  }
}

/* Booking Summary Code */

.booking-summary-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(28, 51, 133, 0.07);
  overflow: hidden;
}

.summary-header {
  text-align: center;
  padding: 32px 24px 28px;
  background: linear-gradient(135deg, #1C3385 0%, #263f8f 100%);
  color: #fff;
}

.summary-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.summary-header p {
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.85;
}

/* ── Invoice Table Layout ── */
.bks-invoice {
  padding: 24px;
}

.bks-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.bks-table thead th {
  background: #f0f4ff;
  color: #1C3385;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 2px solid #dde5ff;
}

.bks-table tbody td {
  padding: 14px 18px;
  font-size: 0.92rem;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

.bks-table tbody tr:last-child td {
  border-bottom: none;
}

.bks-table tbody tr:hover {
  background: #fafbff;
}

.bks-table-label {
  font-weight: 600;
  color: #475569;
  width: 180px;
  white-space: nowrap;
}

.bks-table-value {
  color: #0f172a;
  font-weight: 500;
}

.bks-table-value strong {
  font-weight: 700;
  color: #0f172a;
}

/* Dot indicators in table */
.bks-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.bks-dot-origin {
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.bks-dot-dest {
  background: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.bks-meta {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* Vehicle specs inline in table */
.bks-vehicle-specs-inline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.bks-vehicle-specs-inline .truck-spec-item {
  display: inline-block;
  padding: 4px 10px;
  background: #1C3385;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 6px;
}

/* Pricing Table */
.bks-table-pricing thead th {
  background: #1C3385;
  color: #fff;
}

.bks-th-amount {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}

.bks-table-pricing tbody td {
  font-size: 0.95rem;
}

.bks-table-pricing tbody td:first-child {
  color: #334155;
}

.bks-table-pricing tbody td.bks-th-amount {
  font-weight: 600;
  color: #0f172a;
}

.bks-total-row td {
  background: linear-gradient(135deg, #1976ea 0%, #1C3385 100%) !important;
  color: #fff !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  padding: 18px !important;
  border-bottom: none !important;
}

.bks-total-row td.bks-th-amount {
  color: #fff !important;
  font-size: 1.25rem !important;
}

/* Section title (reused for contract) */
.bks-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1C3385;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eef3ff;
}

.bks-section-title svg {
  opacity: 0.7;
}
/* Contract */
.bks-contract {
  padding: 24px;
  margin: 0 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.bks-agreement-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #1C3385;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.bks-agreement-btn:hover {
  background: #152a6e;
}

.bks-agreement-check {
  margin-top: 10px;
}

.bks-agreement-check label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #1e293b;
  line-height: 1.5;
}

.bks-agreement-check input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #1C3385;
  flex-shrink: 0;
}

/* Confirm */
.bks-confirm {
  text-align: center;
  padding: 28px 24px 32px;
}

.bks-confirm-btn {
  background: linear-gradient(135deg, #e5891c 0%, #d97706 100%);
  color: white;
  border: none;
  padding: 14px 42px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(229, 137, 28, 0.3);
}

.bks-confirm-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229, 137, 28, 0.4);
}

.bks-confirm p {
  margin: 12px 0 0;
  color: #94a3b8;
  font-size: 0.82rem;
}

/* Loading */
.loading-state {
  text-align: center;
  padding: 60px 20px;
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e5e7eb;
  border-top: 3px solid #1C3385;
  border-radius: 50%;
  animation: bks-spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

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

/* Mobile */
@media (max-width: 640px) {
  .booking-summary-container {
    border-radius: 14px;
  }

  .bks-invoice {
    padding: 16px;
  }

  .bks-table {
    margin-bottom: 16px;
  }

  .bks-table thead th {
    padding: 10px 14px;
    font-size: 0.72rem;
  }

  .bks-table tbody td {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .bks-table-label {
    width: auto;
    white-space: normal;
  }

  .bks-total-row td {
    padding: 14px !important;
    font-size: 1rem !important;
  }

  .bks-total-row td.bks-th-amount {
    font-size: 1.1rem !important;
  }

  .bks-contract {
    margin: 0 16px;
  }

  .bks-vehicle-specs-inline {
    flex-direction: column;
  }
}

.booking-summary-container h3 {
  margin-bottom: 0 !important;
}
/* Add to your existing CSS or replace the basic form styles */

.bookeasy-user-form-container {
  margin: 40px auto;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 2px solid #1c3385;
  position: relative;
  padding: 0px;
}

.bookeasy-user-form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #1c3385 0%, #e5891c 100%);
}

.bookeasy-user-form-header {
  background: linear-gradient(135deg, #1c3385 0%, #0f1e4d 100%);
  color: white;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bookeasy-user-form-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shimmer 3s infinite;
}

/* @keyframes shimmer {
            0% { left: -100%; }
            100% { left: 100%; }
        } */

.bookeasy-user-form-header h2 {
  margin: 0 0 10px 0;
  font-size: 28px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bookeasy-user-form-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 16px;
  font-weight: 300;
}

.bookeasy-user-form-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  backdrop-filter: blur(10px);
}

.bookeasy-user-form-body {
  padding: 40px;
}

.bookeasy-user-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.bookeasy-user-form-row .bookeasy-user-form-group {
  flex: 1;
}

.bookeasy-user-form-group {
  margin-bottom: 25px;
  position: relative;
}

.bookeasy-user-form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: #1c3385;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bookeasy-user-form-group label.required::after {
  content: "*";
  color: #e5891c;
  margin-left: 5px;
  font-size: 16px;
}

.bookeasy-user-form-control {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
  box-sizing: border-box;
  font-family: inherit;
}

.bookeasy-user-form-control:focus {
  outline: none;
  border-color: #1c3385;
  box-shadow: 0 0 0 4px rgba(28, 51, 133, 0.1);
  transform: translateY(-1px);
}

.bookeasy-user-form-control:valid {
  border-color: #28a745;
}

.bookeasy-user-form-control::placeholder {
  color: #6c757d;
  opacity: 0.7;
}

.bookeasy-user-form-control.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.bookeasy-user-textarea {
  height: 100px;
  resize: vertical;
  min-height: 80px;
  max-height: 200px;
}

.bookeasy-user-form-checkbox-group {
  margin: 30px 0;
}

.bookeasy-user-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.bookeasy-user-form-checkbox:hover {
  border-color: #1c3385;
  background: #f0f8ff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(28, 51, 133, 0.1);
}

.bookeasy-user-form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #1c3385;
  cursor: pointer;
}

.bookeasy-user-form-checkbox-text {
  font-size: 14px;
  line-height: 1.5;
  color: #495057;
}

.bookeasy-user-form-checkbox-text a {
  color: #1c3385;
  text-decoration: none;
  font-weight: 600;
}

.bookeasy-user-form-checkbox-text a:hover {
  color: #e5891c;
  text-decoration: underline;
}

.bookeasy-user-form-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e9ecef;
  margin-bottom: 1rem;
}

.bookeasy-user-btn {
  padding: 15px 35px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.bookeasy-user-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  z-index: 1;
}

.bookeasy-user-btn:hover::before {
  width: 300px;
  height: 300px;
}

.bookeasy-user-btn > * {
  position: relative;
  z-index: 2;
}

.bookeasy-user-btn-primary {
  background: linear-gradient(135deg, #1c3385 59%, white 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(28, 51, 133, 0.3);
  border: 0px;
  border-radius: 10px;
}

.bookeasy-user-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(28, 51, 133, 0.4);
}

.bookeasy-user-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.bookeasy-user-btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}

.bookeasy-user-btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(108, 117, 125, 0.4);
}

.bookeasy-user-btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

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

.bookeasy-user-form-error {
  color: #dc3545;
  font-size: 13px;
  margin-top: 8px;
  font-weight: 500;
  display: none;
}

.bookeasy-user-form-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  border-left: 4px solid #28a745;
  font-weight: 500;
  display: none;
}

.bookeasy-user-form-alert {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  border-left: 4px solid #dc3545;
  font-weight: 500;
  display: none;
}

.bookeasy-user-form-summary {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
  border: 2px solid #2196f3;
}

.bookeasy-user-form-summary h4 {
  color: #1c3385;
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 700;
}

.bookeasy-user-form-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(28, 51, 133, 0.1);
}

.bookeasy-user-form-summary-item:last-child {
  border-bottom: none;
}

.bookeasy-user-form-summary-label {
  font-weight: 600;
  color: #495057;
}

.bookeasy-user-form-summary-value {
  color: #1c3385;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .bookeasy-user-form-container {
    margin: 20px;
    border-radius: 15px;
  }

  .bookeasy-user-form-header {
    padding: 25px 20px;
  }

  .bookeasy-user-form-header h2 {
    font-size: 24px;
  }

  .bookeasy-user-form-body {
    padding: 30px 20px;
  }

  .bookeasy-user-form-row {
    flex-direction: column;
    gap: 0;
  }

  .bookeasy-user-form-actions {
    flex-direction: column;
  }

  .bookeasy-user-btn {
    width: 100%;
  }
}

/* Focus visible for accessibility */
.bookeasy-user-form-control:focus-visible,
.bookeasy-user-form-checkbox:focus-visible,
.bookeasy-user-btn:focus-visible {
  outline: 2px solid #e5891c;
  outline-offset: 2px;
}
.bookeasy-btn-confirm {
  color: var(--ast-global-color-4);
  background-color: var(--ast-global-color-1);
  border-color: rgba(0, 0, 0, 0);
  border-radius: 8px;
}
.bookeasy-calendar-day.other-month.disabled.unavailable {
  background: antiquewhite;
}
/* CBM Input Field Styling to match your design system */

.bookeasy-selected-items-cbm {
    border: 2px solid #1c3385;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    box-shadow: 0 5px 15px rgba(28, 51, 133, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bookeasy-selected-items-cbm::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1c3385 0%, #e5891c 100%);
}

.bookeasy-selected-items-cbm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(28, 51, 133, 0.2);
}

.bookeasy-selected-items-cbm span {
    font-weight: 700;
    color: #1c3385;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bookeasy-selected-items-cbm span::before {
    content: "📦";
    font-size: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

#total-cbm {
    width: 120px;
    padding: 12px 18px;
    border: 2px solid #1c3385;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #1c3385;
    background: white;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    outline: none;
    font-family: inherit;
}

#total-cbm:focus {
    border-color: #e5891c;
    box-shadow: 0 0 0 4px rgba(229, 137, 28, 0.1);
    transform: scale(1.05);
    background: #fffbf5;
}

#total-cbm:hover {
    border-color: #e5891c;
    background: #fffbf5;
}

/* Hide spinner arrows for number input */
#total-cbm::-webkit-outer-spin-button,
#total-cbm::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#total-cbm[type="number"] {
  appearance: textfield;
    -moz-appearance: textfield;
}

.bookeasy-selected-items-cbm .cbm-unit {
    background: linear-gradient(135deg, #e5891c 0%, #cc7a19 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(229, 137, 28, 0.3);
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.cbm-recommendation {
    background: linear-gradient(135deg, #e3f2fd 0%, #f1f8e9 100%);
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
    animation: slideIn 0.3s ease-out;
}

.cbm-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2e7d32;
    font-weight: 600;
    margin-bottom: 8px;
}

.cbm-info i {
    color: #ffc107;
    font-size: 18px;
}

.recommended-truck {
    background: white;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
    font-weight: 500;
    color: #1b5e20;
}

.trips-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: #ff9800;
    font-weight: 500;
}

.access-note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: #2196f3;
    font-style: italic;
}

/* Enhanced Truck Selection Step */
.cbm-summary {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: center;
}

.cbm-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    color: #495057;
}

.cbm-display i {
    color: #007bff;
    font-size: 20px;
}

.access-restriction {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.access-restriction .bookeasy-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-weight: 500;
    color: #856404;
}

/* Truck Recommendation Section */
.truck-recommendation {
    margin-bottom: 32px;
}

.recommendation-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #28a745;
    font-size: 16px;
    font-weight: 600;
}

.recommendation-header i {
    color: #ffc107;
}

.recommended-option .bookeasy-option {
    border: 2px solid #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.recommended-option .bookeasy-option::before {
    content: "RECOMMENDED";
    position: absolute;
    top: 26px;
    right: -50px;
    background: #28a745;
    color: white;
    padding: 4px 40px;
    font-size: 10px;
    font-weight: bold;
    transform: rotate(45deg);
    letter-spacing: 1px;
    z-index: 2;
}

/* Enhanced Truck Options */
.bookeasy-option {
    position: relative;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    background: white;
}

.bookeasy-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bookeasy-option.smaller-option {
    border-color: #ffc107;
    background: #fffbf0;
}

.bookeasy-option.smaller-option .capacity-badge.insufficient {
    background: #ff9800;
    color: white;
}

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

.truck-header strong {
    display: flex;
    align-items: center;
    gap: 8px;
}

.capacity-badge {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.capacity-badge.sufficient {
    background: #28a745;
}

.capacity-badge.insufficient {
    background: #dc3545;
}

/* Trip Calculation Display */
.trip-calculation {
    margin-top: 12px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

.single-trip-calc {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.multiple-trips-calc {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.trip-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 8px;
}

.trip-breakdown {
    padding-left: 24px;
    font-size: 13px;
    color: #6c757d;
}

.single-trip {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #28a745;
    font-weight: 500;
    margin-top: 8px;
}

.trips-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    margin-top: 8px;
}

.trips-indicator.multiple-trips {
    color: #e65100;
}

.trips-indicator.warning {
    color: #dc3545;
}

.warning-text {
    display: block;
    color: #dc3545;
    font-style: italic;
    margin-top: 4px;
}

.efficiency-note, .cost-note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: #6c757d;
}

/* Other Options Section */
.other-options {
    border-top: 2px solid #dee2e6;
    padding-top: 24px;
}

.other-options h4 {
    color: #495057;
    margin-bottom: 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Cost Breakdown */
.cost-breakdown {
    margin-top: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 13px;
}

.cost-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #dee2e6;
}

/* Trip Summary in Booking Summary */
.trip-summary-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.trip-summary-section h3 {
    margin-bottom: 16px;
    color: #495057;
}

.trip-summary-details .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

.trip-summary-details .summary-item:last-child {
    border-bottom: none;
}

.trips-count {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

/* Enhanced Error and Warning Styles */
.bookeasy-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bookeasy-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bookeasy-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Simple Date/Time Input Styles (replaces calendar) */
.simple-datetime-container {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.datetime-row {
    display: flex;
    gap: 20px;
    align-items: end;
}

.datetime-group {
    flex: 1;
}

.datetime-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
}

.datetime-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.datetime-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .truck-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .cbm-display {
        flex-direction: column;
        gap: 8px;
    }
    
    .recommended-option .bookeasy-option::before {
        font-size: 10px;
        padding: 2px 30px;
        right: -30px;
    }
    
    .trip-summary-details .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .datetime-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .access-restriction .bookeasy-checkbox {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Animation for smooth transitions */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base Booking System Styles */
.bookeasy-step {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.bookeasy-step h3 {
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
    text-align: center;
}

.bookeasy-selected-items-cbm {
    background: #f8f9fa;
    border: 2px solid #007bff;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    text-align: center;
}

.bookeasy-selected-items-cbm input {
    width: 100px;
    text-align: center;
    margin: 0 8px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
}

.bookeasy-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.bookeasy-checkbox input[type="checkbox"] {
    margin-right: 8px;
}
span.bookeasy-item-cbm-display {
    margin-right: 10px;
}
.bookeasy-user-form-row input{
    padding: 5px;
    width: 100%;
    border: 1px solid navy;
    border-radius: 7px;
}
.bookeasy-user-form-row{
  padding: 10px;
}
.truck-cost-summary {
    background: #e8f5e8;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.truck-cost-summary h4 {
    margin: 0 0 15px 0;
    color: #155724;
    font-size: 1.1em;
}

.truck-cost-summary h4 i {
    margin-right: 8px;
}

.cost-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.truck-name {
    font-weight: 600;
    color: #495057;
}

.truck-cost {
    font-size: 1.2em;
    font-weight: bold;
    color: #28a745;
}

.trip-info {
    font-size: 0.9em;
    color: #6c757d;
    text-align: center;
}

.trip-info i {
    margin-right: 5px;
}

.price-breakdown {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.price-item.services-total {
    background: #f0f8ff;
    padding: 15px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid #b3d9ff;
}

.price-label {
    font-weight: 500;
    color: #495057;
}

.price-label i {
    margin-right: 8px;
    color: #007bff;
}

.price-label small {
    display: block;
    font-size: 0.8em;
    color: #6c757d;
    font-weight: normal;
    margin-top: 2px;
}

.price-value {
    font-weight: 600;
    color: #007bff;
}

.additional-services-section {
    margin: 15px 0;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.services-header {
    background: #f8f9fa;
    padding: 12px 15px;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
}

.services-header i {
    margin-right: 8px;
    color: #28a745;
}

.service-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f8f9fa;
    font-size: 0.9em;
}

.service-breakdown-item:last-child {
    border-bottom: none;
}

.service-name {
    font-weight: 500;
    color: #495057;
}

.service-calculation {
    color: #6c757d;
    font-style: italic;
    font-size: 0.85em;
}

.service-cost {
    font-weight: 600;
    color: #28a745;
}

.total-price {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin: 25px 0;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
}

.total-price h2 {
    margin: 0 0 10px 0;
    font-size: 2.2em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price-note {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9em;
}

.back-office-services {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
}

.services-note {
    display: flex;
    align-items: flex-start;
    color: #856404;
}

.services-note i {
    margin-right: 10px;
    margin-top: 2px;
    color: #f39c12;
}

/* Truck selection recommendation styles */
.cbm-summary {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.cbm-display {
    font-size: 1.1em;
    color: #1565c0;
}

.cbm-display i {
    margin-right: 8px;
}

.access-restriction {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
}

.access-restriction label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.access-restriction i {
    margin-right: 8px;
}

.truck-recommendation {
    margin-bottom: 30px;
}

.recommendation-header {
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
}

.recommendation-header i {
    margin-right: 8px;
}

.recommended-option .bookeasy-option {
    border: 3px solid #28a745;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: #f8fff9;
}

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

.capacity-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
}

.capacity-badge.sufficient {
    background: #d4edda;
    color: #155724;
}

.capacity-badge.insufficient {
    background: #f8d7da;
    color: #721c24;
}

.trips-indicator {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9em;
}

.trips-indicator.multiple-trips {
    background: #fff3cd;
    color: #856404;
}

.trips-indicator.multiple-trips.warning {
    background: #f8d7da;
    color: #721c24;
}

.single-trip {
    background: #d1ecf1;
    color: #0c5460;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 0.9em;
}

.single-trip i {
    margin-right: 6px;
    color: #28a745;
}

.other-options {
    margin-top: 30px;
}

.other-options h4 {
    margin-bottom: 15px;
    color: #495057;
}

.other-options h4 i {
    margin-right: 8px;
}

.smaller-option .bookeasy-option {
    opacity: 0.8;
    border-color: #ffc107;
}

.warning-text {
    color: #dc3545;
    font-style: italic;
}

.bookeasy-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.bookeasy-error i {
    margin-right: 8px;
}
.bookeasy-calendar-day {
    cursor: pointer;
    transition: all 0.2s ease;
}

.bookeasy-calendar-day:hover {
    background-color: #f3f4f6;
}

.bookeasy-calendar-day.selected {
    background-color: #dbeafe;
    border: 2px solid #3b82f6;
}

.bookeasy-calendar-day.today {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
}

.bookeasy-calendar-day.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bookeasy-calendar-day.unavailable {
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
}

.bookeasy-unavailable-indicator {
    font-size: 10px;
    background: #ef4444;
    color: white;
    padding: 1px 4px;
    border-radius: 2px;
    margin-top: 2px;
    display: inline-block;
}

/* Time Range Selection Styles */
.time-range-container {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.time-group {
    flex: 1;
    min-width: 200px;
  position: relative;
}

.time-group .select2-container {
    display: none !important;
}

.time-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.bookeasy-time-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background: white;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.bookeasy-time-select:disabled {
    background: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
}

.bookeasy-time-select option:disabled {
    color: #9ca3af;
    font-style: italic;
}

.bookeasy-time-select option.booked {
    background-color: #fee2e2;
    color: #991b1b;
}

.bookeasy-time-select option.available {
    background-color: #f0fdf4;
    color: #166534;
}

/* Time Range Summary */
.time-range-summary {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.time-range-summary p {
    margin: 0;
    color: #064e3b;
    font-size: 16px;
    line-height: 1.6;
}

.time-range-summary strong {
    color: #047857;
    font-size: 18px;
}

.time-range-summary small {
    color: #065f46;
    font-size: 14px;
    font-weight: 500;
}

/* Error Messages */
.time-range-error {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 12px 0;
    font-size: 14px;
    font-weight: 500;
}

.time-range-error.hidden {
    display: none;
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    margin: 10px 0;
}

/* Selected DateTime Container */
.bookeasy-selected-datetime {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

.bookeasy-selected-datetime h4 {
    color: #1e293b;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
}

#selected-date-display {
    background: #e0f2fe;
    border: 1px solid #81d4fa;
    color: #0277bd;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

/* Calendar Grid Improvements */
.bookeasy-calendar-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.bookeasy-calendar-header {
    background: #1e293b;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bookeasy-calendar-nav {
    background: #334155;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.bookeasy-calendar-nav:hover {
    background: #475569;
}

#calendar-month-year {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.bookeasy-calendar-grid {
    background: white;
}

.bookeasy-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.bookeasy-weekday {
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    color: #475569;
    font-size: 14px;
}

.bookeasy-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e2e8f0;
    padding: 1px;
}

.bookeasy-calendar-day {
    background: white;
    min-height: 80px;
    padding: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.bookeasy-day-number {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.bookeasy-day-slots {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bookeasy-calendar-day.other-month .bookeasy-day-number {
    color: #cbd5e1;
}

.bookeasy-calendar-day.other-month {
    background: #f8fafc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .time-range-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .time-group {
        min-width: unset;
    }
    
    .bookeasy-calendar-day {
        min-height: 60px;
        font-size: 14px;
    }
    
    .bookeasy-time-select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .time-range-summary {
        padding: 16px;
    }
    
    #calendar-month-year {
        font-size: 20px;
    }
    
    .bookeasy-calendar-header {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .bookeasy-calendar-day {
        min-height: 50px;
        padding: 4px;
    }
    
    .bookeasy-weekday {
        padding: 8px 4px;
        font-size: 12px;
    }
    
    .bookeasy-unavailable-indicator {
        font-size: 8px;
        padding: 1px 2px;
    }
}

/* Animation for time range selection */
.time-range-container {
    animation: slideIn 0.3s ease-out;
}

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

.time-range-summary {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Focus indicators for accessibility */
.bookeasy-calendar-day:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.bookeasy-time-select:focus {
    outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bookeasy-calendar-day.selected {
        border: 3px solid #000;
        background-color: #fff;
    }
    
    .time-range-summary {
        border: 3px solid #000;
        background: #fff;
    }
    
    .time-range-error {
        border: 3px solid #000;
        background: #fff;
        color: #000;
    }
}
.loading-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.dots {
   width: 56px;
   height: 13.4px;
   background: radial-gradient(circle closest-side,#ff4500 90%,#0000) 0%   50%,
        radial-gradient(circle closest-side,#ff4500 90%,#0000) 50%  50%,
        radial-gradient(circle closest-side,#ff4500 90%,#0000) 100% 50%;
   background-size: calc(100%/3) 100%;
   background-repeat: no-repeat;
   animation: dots-zcf63l 1s infinite linear;
}

@keyframes dots-zcf63l {
   33% {
      background-size: calc(100%/3) 0%  ,calc(100%/3) 100%,calc(100%/3) 100%;
   }

   50% {
      background-size: calc(100%/3) 100%,calc(100%/3) 0%  ,calc(100%/3) 100%;
   }

   66% {
      background-size: calc(100%/3) 100%,calc(100%/3) 100%,calc(100%/3) 0%;
   }
}

/* Select2 dropdown clipping fix */
#bookeasy-quote-form {
  overflow: visible !important;
}

.select2-container {
  z-index: 9998;
}

.select2-container--open {
  z-index: 9999;
}

.select2-dropdown {
  z-index: 10000;
}

.bookeasy-toast-container {
  position: fixed;
  top: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 20000;
  pointer-events: none;
}

.bookeasy-toast {
  min-width: 280px;
  max-width: 420px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid transparent;
  color: #0f172a;
  background: #fff;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: auto;
}

.bookeasy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bookeasy-toast-success {
  background: #ecfdf5;
  border-color: #86efac;
  color: #166534;
}

.bookeasy-toast-error {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.bookeasy-toast-info {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.bookeasy-toast-message {
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
}

.bookeasy-toast-close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px;
}

@media (max-width: 640px) {
  .bookeasy-toast-container {
    left: 12px;
    right: 12px;
    top: 12px;
  }

  .bookeasy-toast {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}

  /* Summary and Calendar Refresh */
  .summary-highlight-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 24px;
  }

  .summary-highlight-item {
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f7faff 0%, #ffffff 100%);
    border: 1px solid #dbe5ff;
    box-shadow: 0 10px 24px rgba(28, 51, 133, 0.06);
  }

  .summary-highlight-label {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .summary-highlight-item strong {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.45;
  }

  .route-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  }

  .route-summary-stack {
    position: relative;
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
  }

  .route-stop {
    position: relative;
    padding: 18px 18px 18px 22px;
    border-radius: 18px;
    border: 1px solid #d9e4ff;
    background: #fff;
  }

  .route-stop::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
  }

  .route-stop-start::before {
    background: #1d4ed8;
    box-shadow: 0 0 0 6px rgba(29, 78, 216, 0.12);
  }

  .route-stop-end::before {
    background: #f97316;
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.14);
  }

  .route-connector {
    margin-left: 15px;
    width: 2px;
    min-height: 22px;
    background: linear-gradient(180deg, #bfdbfe 0%, #fdba74 100%);
  }

  .route-stop-label {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .route-stop-value {
    display: block;
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .route-stop-meta {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .route-stop-meta:empty {
    display: none;
  }

  .bookeasy-calendar-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
  }

  .bookeasy-calendar-intro h3 {
    margin: 0 0 8px;
    color: #102a71;
    font-size: 1.95rem;
    font-weight: 800;
  }

  .bookeasy-calendar-intro p {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
  }

  .bookeasy-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }

  .calendar-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid #dbe5ff;
    background: #fff;
    color: #475569;
    font-size: 0.86rem;
    font-weight: 600;
  }

  .calendar-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }

  .calendar-legend-dot.is-available {
    background: #22c55e;
  }

  .calendar-legend-dot.is-selected {
    background: #f97316;
  }

  .calendar-legend-dot.is-unavailable {
    background: #94a3b8;
  }

  .bookeasy-calendar-container {
    border: 1px solid #dbe5ff;
    border-radius: 28px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    width: 100%;
    max-width: 100%;
  }

  .bookeasy-calendar-header {
    padding: 22px 26px;
    background: linear-gradient(135deg, #102a71 0%, #1c4aa8 100%);
  }

  .bookeasy-calendar-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    font-weight: 700;
  }

  .bookeasy-calendar-nav:hover {
    background: rgba(255, 255, 255, 0.22);
  }

  #calendar-month-year {
    font-size: 1.6rem;
    letter-spacing: -0.03em;
  }

  .bookeasy-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    background: #eef4ff;
    border-bottom: 1px solid #dbe5ff;
  }

  .bookeasy-weekday {
    padding: 14px 8px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
  }

  .bookeasy-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    padding: 16px;
    background: linear-gradient(180deg, #f4f8ff 0%, #fdfefe 100%);
  }

  .bookeasy-calendar-day {
    min-width: 0;
    min-height: 94px;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid #e3ebff;
    box-shadow: 0 10px 20px rgba(148, 163, 184, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .bookeasy-calendar-day:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(59, 130, 246, 0.12);
    border-color: #bfdbfe;
  }

  .bookeasy-calendar-day.selected {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    border-color: #fb923c;
    box-shadow: 0 18px 30px rgba(249, 115, 22, 0.18);
  }

  .bookeasy-calendar-day.selected .bookeasy-day-number {
    color: #9a3412;
  }

  .bookeasy-calendar-day.selected .bookeasy-unavailable-indicator {
    background: rgba(255, 255, 255, 0.86);
    color: #1d4ed8;
  }

  .bookeasy-calendar-day.today {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
  }

  .bookeasy-calendar-day.unavailable,
  .bookeasy-calendar-day.other-month {
    box-shadow: none;
  }

  .bookeasy-day-number {
    min-width: 0;
    font-size: 1rem;
    font-weight: 700;
  }

  .bookeasy-unavailable-indicator {
    align-self: flex-start;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

  .bookeasy-unavailable-indicator.is-full {
    background: #fef2f2;
    color: #dc2626;
  }

  .bookeasy-unavailable-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.12);
    color: inherit;
    font-size: 0.68rem;
    font-weight: 800;
  }

  .bookeasy-unavailable-indicator.is-full .bookeasy-unavailable-label {
    font-weight: 800;
  }

  .bookeasy-unavailable-label {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bookeasy-calendar-help {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 18px 22px 0;
  }

  .calendar-help-card {
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid #dbe5ff;
    background: linear-gradient(135deg, #eef4ff 0%, #ffffff 100%);
  }

  .calendar-help-card strong {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.45;
  }

  .calendar-help-card p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .calendar-help-label {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .bookeasy-selected-datetime {
    margin: 18px 22px 22px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid #dbe5ff;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  }

  .selected-date-pill {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #eef4ff;
    border: 1px solid #cddcff;
    color: #102a71;
  }

  .selected-date-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
  }

  .time-range-summary {
    border-radius: 18px;
    border: 1px solid #c7d2fe;
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
  }

  .time-range-summary p {
    margin: 0;
    color: #1e293b;
    line-height: 1.65;
  }

  @media (max-width: 900px) {
    .summary-grid,
    .summary-highlight-bar,
    .bookeasy-calendar-help {
      grid-template-columns: 1fr;
    }

    .bookeasy-calendar-intro {
      flex-direction: column;
    }

    .bookeasy-calendar-legend {
      justify-content: flex-start;
    }
  }

  @media (max-width: 640px) {
    #bookeasy-quote-form {
      padding: 16px;
    }

    .bookeasy-calendar-header {
      padding: 16px 14px;
      gap: 10px;
    }

    #calendar-month-year {
      flex: 1;
      min-width: 0;
      font-size: 1.2rem;
      line-height: 1.15;
      text-align: center;
    }

    .bookeasy-calendar-weekdays {
      grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .bookeasy-calendar-days {
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 6px;
      padding: 10px;
    }

    .bookeasy-calendar-day {
      min-height: 72px;
      padding: 6px;
      border-radius: 14px;
    }

    .bookeasy-calendar-day.has-partial-unavailable,
    .bookeasy-calendar-day.fully-booked {
      padding-bottom: 24px;
    }

    .bookeasy-calendar-day.has-partial-unavailable::after,
    .bookeasy-calendar-day.fully-booked::after {
      content: attr(data-mobile-badge);
      position: absolute;
      left: 50%;
      bottom: 6px;
      transform: translateX(-50%);
      min-width: 28px;
      height: 18px;
      padding: 0 8px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: #1d4ed8;
      color: #ffffff;
      font-size: 0.54rem;
      font-weight: 800;
      line-height: 1;
      box-shadow: 0 6px 12px rgba(29, 78, 216, 0.22);
    }

    .bookeasy-calendar-day.fully-booked::after {
      background: #dc2626;
      box-shadow: 0 6px 12px rgba(220, 38, 38, 0.2);
    }

    .bookeasy-weekday {
      min-width: 0;
      padding: 10px 2px;
      font-size: 0.64rem;
      letter-spacing: 0.04em;
    }

    .bookeasy-day-number {
      font-size: 0.88rem;
    }

    .bookeasy-unavailable-indicator {
      display: none;
    }

    .bookeasy-selected-datetime {
      margin: 14px;
      padding: 18px;
    }

    .summary-highlight-item,
    .calendar-help-card,
    .route-stop {
      padding: 14px 16px;
    }
  }

  @media (max-width: 420px) {
    #bookeasy-quote-form {
      padding: 12px;
    }

    .bookeasy-calendar-container {
      border-radius: 22px;
    }

    .bookeasy-calendar-header {
      padding: 14px 12px;
    }

    .bookeasy-calendar-nav {
      width: 36px;
      height: 36px;
      flex: 0 0 36px;
    }

    #calendar-month-year {
      font-size: 1.02rem;
    }

    .bookeasy-calendar-days {
      gap: 4px;
      padding: 8px;
    }

    .bookeasy-calendar-day {
      min-height: 64px;
      padding: 5px;
      border-radius: 12px;
    }

    .bookeasy-calendar-day.has-partial-unavailable,
    .bookeasy-calendar-day.fully-booked {
      padding-bottom: 21px;
    }

    .bookeasy-calendar-day.has-partial-unavailable::after,
    .bookeasy-calendar-day.fully-booked::after {
      bottom: 4px;
      min-width: 24px;
      height: 16px;
      padding: 0 6px;
      font-size: 0.48rem;
    }

    .bookeasy-weekday {
      font-size: 0.58rem;
      padding: 8px 1px;
    }

    .bookeasy-day-number {
      font-size: 0.8rem;
    }

  }