@charset "UTF-8";

/* Easycoach — additive styles for interactive widgets that the captured
   marketing site renders through JavaScript plugins (datepicker, seat map
   confirmation, booking wizard). Kept separate so the original stylesheet
   stays byte-for-byte identical. */

.ec-date-field {
  position: relative;
}

.ec-datepicker {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 60;
  width: 288px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(13, 35, 62, 0.14);
  padding: 10px 12px 12px;
  font-size: 14px;
}

.ec-datepicker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: #0d233e;
  padding: 4px 0 10px;
}

.ec-datepicker-header button {
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: #0d233e;
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.ec-datepicker-header button:hover {
  background: #f1f3f5;
}

.ec-datepicker-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.ec-datepicker-grid .ec-dow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #98a2b3;
  padding: 4px 0;
}

.ec-datepicker-grid .ec-day {
  border: 0;
  background: transparent;
  border-radius: 4px;
  height: 32px;
  font-size: 13px;
  color: #313b4b;
}

.ec-datepicker-grid .ec-day:hover:not(:disabled) {
  background: #fdeaea;
  color: #b5121b;
}

.ec-datepicker-grid .ec-day.active {
  background: #b5121b;
  color: #fff;
}

.ec-datepicker-grid .ec-day:disabled {
  color: #c9ced6;
  cursor: not-allowed;
}

/* ---------- seat picker ---------- */

.ec-seat-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 100%;
  background: #fff;
  z-index: 1055;
  box-shadow: -8px 0 32px rgba(13, 35, 62, 0.18);
  display: flex;
  flex-direction: column;
}

.ec-seat-panel .modal-body {
  overflow-y: auto;
  flex: 1 1 auto;
}

.ec-seat-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0.5;
  z-index: 1050;
}

.ec-seat-panel-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  color: #6b7280;
  line-height: 1;
}

.ec-seat-footer {
  border-top: 1px solid #eee;
  padding: 14px 18px 18px;
  background: #fff;
}

.ec-seat-footer .ec-seat-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 10px;
}

.ec-seat-footer .ec-seat-total b {
  color: #0d233e;
  font-size: 16px;
}

.ec-seat-footer .theme-btn {
  width: 100%;
}

/* ---------- booking wizard ---------- */

.ec-progress {
  background: #0d233e;
  padding: 22px 0;
}

.ec-progress .progress-tracker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ec-progress .progress-item {
  position: relative;
  flex: 1 1 0;
  max-width: 260px;
  text-align: center;
  color: #98a2b3;
  font-size: 14px;
}

.ec-progress .progress-item .item-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.ec-progress .progress-item .progess-item-label {
  white-space: nowrap;
}

.ec-progress .progress-item .ec-step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #cbd5e1;
  flex: 0 0 auto;
}

.ec-progress .progress-item.passed {
  color: #fff;
}

.ec-progress .progress-item.passed .ec-step-dot {
  border-color: #fff;
  background: #fff;
  color: #0d233e;
}

.ec-progress .progress-item.current {
  color: #fff;
  font-weight: 600;
}

.ec-progress .progress-item.current .ec-step-dot {
  border-color: #e11d24;
  background: #e11d24;
  color: #fff;
}

.ec-progress .progress-item + .progress-item::before {
  content: "";
  position: absolute;
  left: -50%;
  top: 11px;
  width: 100%;
  height: 2px;
  background: #33415c;
  z-index: 0;
}

.ec-progress .progress-item.passed::before,
.ec-progress .progress-item.current::before {
  background: #e11d24;
}

.ec-progress .progress-item .item-wrapper {
  position: relative;
  z-index: 1;
}

.ec-summary-img {
  width: 100%;
  border-radius: 6px;
}

.ec-ticket {
  border: 1px dashed #d7dbe3;
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.ec-ticket-qr {
  display: block;
  margin: 0 auto;
}

.ec-empty-state {
  padding: 40px 20px;
  text-align: center;
  color: #64748b;
}

/* ---------- small helpers ---------- */

.ec-mt-10 {
  margin-top: 10px;
}

.ec-mb-20 {
  margin-bottom: 20px;
}

.ec-stack-8 > * + * {
  margin-top: 8px;
}

.ec-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  background: #eef2f7;
  color: #33415c;
}

.ec-pill-red {
  background: #fdeaea;
  color: #b5121b;
}


/* Header is fixed only on the home page (as on the reference site); inner
   pages keep it in normal flow so the breadcrumb starts below it. */
.home-wrapper:has(> .hero-wrapper8) > .header-sec {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}


/* Brand tokens as resolved on the live site (a later :root rule wins over the
   component-level defaults). */
:root {
  --easycoachBlack: #000;
  --easycoachBlack200: #baf1bd;
  --easycoachRed: #b5151a;
}

/* ---------- results page ---------- */

.theme-search-area-section-inner .ec-inline-select {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: #313b4b;
  outline: none;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.search-result .reserve,
.search-result .remove {
  background: var(--easycoachRed);
  background-image: none;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
  padding: 0 16px;
  height: 38px;
  min-width: 104px;
}

.search-result .reserve:hover,
.search-result .remove:hover {
  background: #940f13;
}

.ec-empty-state h4 {
  color: #0d233e;
}

/* ---------- results page: inline search bar ---------- */

.theme-search-area-section .theme-search-area-section-inner {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
}

.theme-search-area-section .theme-search-area-section-inner .ec-inline-select {
  height: 46px;
}

.theme-search-area-section .theme-search-area-section-inner .theme-search-area-section-input {
  height: 46px;
  padding-left: 26px;
}

.theme-search-area-section .theme-search-area-section-inner .theme-search-area-section-icon {
  position: absolute;
  left: 12px;
}

.theme-search-area .theme-search-area-header {
  padding-top: 4px;
}

/* ---------- results list rows: single-line layout ---------- */

.ride-item-pair .sr-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.ride-item-pair .sr-row > .time-transfer {
  flex: 0 0 28%;
  max-width: 28%;
}

.ride-item-pair .sr-row > .col-lg-8 {
  flex: 0 0 42%;
  max-width: 42%;
}

.ride-item-pair .sr-row > .price-actions {
  flex: 0 0 30%;
  max-width: 30%;
}

.ride-item-pair .price-actions > .row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin: 0;
}

.ride-item-pair .price-actions > .row > div {
  width: 100%;
  max-width: 100%;
  flex: 0 0 auto;
  padding: 0;
  text-align: right;
}

.ride-item-pair .price-actions .in-cart.total .num {
  float: none;
  font-size: 20px;
  font-weight: 700;
  color: #0d233e;
}

.ride-item-pair .price-actions .in-cart.total .theme-footer-section-title {
  color: #0d233e !important;
  font-size: 20px;
  font-weight: 700;
}

.ride-item-pair .price-actions .action {
  display: flex;
  justify-content: flex-end;
}

.ride-item-pair .item-description {
  margin-bottom: 2px;
  color: #0d233e;
  font-weight: 600;
}

.ride-item-pair .seats-notice {
  color: #e08d3c;
  font-size: 13px;
  margin-bottom: 0;
}

/* results search bar fields */
.theme-search-area-section.theme-search-area-section-fade-white,
.theme-search-area-section {
  background-color: #fff;
  border-radius: 4px;
}

.theme-search-area-section .theme-search-area-section-inner .ec-inline-select {
  color: #313b4b;
  background: transparent;
}

.theme-search-area-section .theme-search-area-section-inner {
  background: #fff;
  border-radius: 4px;
}

/* seat panel: steering wheel sits above the seat grid */
.modal.left .bus-steering {
  display: block;
  width: 100%;
  float: none;
  margin: 0 0 8px;
  text-align: right;
  padding-top: 0;
}

.modal.left .bus-steering img {
  width: 30px;
  height: 30px;
}

.modal.left .modal-header .close {
  opacity: 0.6;
}

/* ---------- progress tracker fixes (override theme dashboard styles) ---------- */

.ec-progress .progress-tracker {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  height: auto !important;
}

.ec-progress .progress-item {
  flex: 1 1 0;
  max-width: 280px;
  position: relative;
  background: transparent !important;
  border: 0 !important;
  height: auto !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.ec-progress .progress-item .item-wrapper {
  background: transparent !important;
  border: 0 !important;
  height: auto !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.ec-progress .progress-item::before,
.ec-progress .progress-item::after {
  content: none !important;
}

.ec-progress .progress-item + .progress-item::before {
  content: "" !important;
  position: absolute !important;
  left: -50% !important;
  top: 10px !important;
  width: 100% !important;
  height: 2px !important;
  background: #33415c !important;
  z-index: 0 !important;
}

.ec-progress .progress-item.passed::before,
.ec-progress .progress-item.current::before {
  background: var(--easycoachRed) !important;
}

.ec-progress .progress-item .progress-tracker-completed {
  display: none !important;
}

/* ---------- payment waiting state ---------- */

.ec-pay-waiting {
  margin-top: 18px;
  border: 1px solid #e6e9ef;
  border-radius: 6px;
  background: #f8fafc;
  padding: 16px;
}

.ec-pay-waiting-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.ec-pay-waiting-head b {
  color: #0d233e;
  font-size: 15px;
}

.ec-spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #d6dbe4;
  border-top-color: #b5151a;
  display: inline-block;
  flex: 0 0 auto;
  animation: ec-spin 0.9s linear infinite;
  margin-top: 2px;
}

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

.ec-pay-waiting .theme-btn {
  margin-top: 6px;
  padding: 8px 14px;
  font-size: 13px;
}
