/* 
 * Booking Details Page Styles
 * Aligned with modern white theme and two-column layout
 */
 
.columns-container{
  background-color: #E4E9EE;
}
.wk-te-booking-details-page {
  min-height: 100vh;
  padding-bottom: 60px;
  color: #1e293b;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

.wk-te-container {
  max-width: 1140px;
}
.wk-te-container h1 {
  font-size: 36px;
}

/* 1. Header Section */
.wk-te-booking-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  padding: 16px 0;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: -20px;
}

.wk-te-booking-header .wk-te-container {
  max-width: 1140px;
  margin: 0 auto;
}

.wk-te-booking-header h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
}

.wk-te-booking-subheader {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0f172ab2;
  font-size: 16px;
}

.wk-te-dot-sep {
  width: 2px;
  height: 2px;
  background: #0f172ab2;
  border-radius: 50%;
}

/* 2. Layout Grid */
.wk-te-booking-content-wrapper {
  width: 100%;
  min-height: calc(100vh - 180px);
}

.wk-te-booking-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 16px;
  align-items: start;
}

.wk-te-booking-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 3. Cards */
.wk-te-booking-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 23px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.wk-te-seat-selection-card {
  display: flex;
  gap: 18px;
  flex-direction: column;
}

.wk-te-card-head {
  margin-bottom: 0;
}

.wk-te-card-head h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.wk-te-card-sub {
  font-size: 13px;
  color: #64748b;
}

.wk-te-seat-input {
  display: none !important;
}

.wk-te-seat {
  border-radius: 8px !important;
  border-color: #e2e8f0 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}

.wk-te-seat.is-selected {
  background: #1ca89e !important;
  border-color: #1ca89e !important;
  color: #fff !important;
}

/* 4. Seat Selection Content */
.wk-te-seat-content {
  display: flex;
  gap: 16px;
}

.wk-te-seat-map-column {
  display: flex;
}

.wk-te-seat-selection-card .wk-te-layout-canvas--coach-card {
  overflow: hidden;
}

.wk-te-seat-selection-card .wk-te-seat-row-marker {
  left: 8px;
  align-items: center;
}

.wk-te-seat-legend-column {
  width: 180px;
  flex-shrink: 0;
}

.wk-te-legend-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wk-te-legend-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #0e1a25;
  text-transform: uppercase;
}

.wk-te-legend-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wk-te-legend-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  font-style: normal;
  letter-spacing: 0.05em;
}

.wk-te-legend-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wk-te-legend-item span {
  font-size: 13px;
  font-weight: 600;
  color: #2a3947;
}

.wk-te-legend-icon {
  display: inline-block;
  border: 1px solid #dfe7ef;
  border-radius: 4px;
  background: #fff;
}

.wk-te-legend-icon--seat {
  width: 16px;
  height: 16px;
}

.wk-te-legend-icon--sleeper {
  width: 16px;
  height: 32px;
}

.wk-te-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.wk-te-dot-normal {
  border: 1px solid #dfe7ef;
  background: #fff;
}

.wk-te-dot-selected {
  background: #1ca89e;
  border: 1px solid #1ca89e;
}

.wk-te-dot-taken {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

/* 5. Transport Details Section */
.wk-te-transport-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wk-te-company-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}

.wk-te-company-logo-circle {
  width: 52px;
  height: 52px;
  background: #f1f5f9;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: 700;
  color: #475569;
}

.wk-te-company-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wk-te-company-meta h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.wk-te-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.wk-te-rating i {
  color: #f59e0b;
}
.wk-te-rating strong {
  color: #0f172a;
}
.wk-te-rating span {
  color: #64748b;
}

.wk-te-trip-timeline {
  background: #1ca89e1a;
  border-radius: 12px;
  padding: 24px 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
}

.wk-te-timeline-point {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wk-te-timeline-point strong {
  font-size: 22px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: #0e1a25;
}

.wk-te-timeline-point:last-child {
  text-align: right;
  align-items: flex-end;
}

.wk-te-timeline-location {
  display: flex;
  flex-direction: column;
}

.wk-te-timeline-location span {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.wk-te-timeline-location small {
  font-size: 12px;
  color: #64748b;
}

.wk-te-timeline-path {
  flex: 1;
  height: 1px;
  background: #0f172a;
  position: relative;
  margin: 0;
}

.wk-te-duration {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #6b7c8c;
  white-space: nowrap;
}

.wk-te-details-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wk-te-details-content h4 {
  margin: 0 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.wk-te-details-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 0;
}

.wk-te-rich-text {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  white-space: pre-line;
}

.wk-te-rich-text p {
  margin: 0 0 8px;
}

.wk-te-rich-text p:last-child {
  margin-bottom: 0;
}

.wk-te-policy-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wk-te-policy-list li {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

.wk-te-policy-list strong {
  display: block;
  color: #0f172a;
  margin-bottom: 2px;
}

.wk-te-details-section {
  padding-top: 18.8px;
}
.wk-te-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.wk-te-features-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #475569;
}

.wk-te-features-grid li i {
  color: #4db7a6;
  font-size: 16px;
}

.wk-te-price-breakdown-sidebar {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wk-te-price-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wk-te-price-header h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 600;
}
/* 6. Price Breakdown Sidebar */
.wk-te-price-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wk-te-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #475569;
}

.wk-te-price-total {
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.wk-te-price-total span {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.wk-te-price-total strong {
  font-size: 36px;
  font-weight: 400;
  color: #0f172a;
}

.wk-te-btn-primary {
  width: 100%;
  height: 52px;
  background: #4db7a6;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
}

.wk-te-btn-primary:active {
  transform: scale(0.98);
}

.wk-te-btn-primary:hover {
  background: #3d9b8b;
}
.wk-te-btn-primary:disabled {
  background: #e2e8f0;
  color: #ffffff;
  cursor: not-allowed;
}

.wk-te-book-note {
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
  .wk-te-booking-layout {
    grid-template-columns: 1fr;
  }
  .wk-te-booking-sidebar {
    order: -1;
  }
}

@media (max-width: 767px) {
  .wk-te-seat-content {
    flex-direction: column;
  }
  .wk-te-seat-legend-column {
    width: 100%;
  }
  .wk-te-features-grid {
    grid-template-columns: 1fr;
  }
}
