/* ============================================================
   transport-style.css
   Place at: /assets/css/transport-style.css
   ============================================================ */

/* ── Wrapper & Grid ── */
/* .transport-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0px 20px;
} */
.transport-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
/*     margin-bottom: 30px; */
}
@media (max-width: 900px) { .transport-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .transport-product-grid { grid-template-columns: 1fr; } }

/* ── Card ── */
.transport-card {
    background: #f6f6f6;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
	justify-content: space-between;
}

.transport-card > a { text-decoration: none; color: inherit; }
.transport-card-img{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
   border-radius: 10px;
    overflow: hidden;
}

.transport-card-img img {
    width: 100%;
	height: 220px !important;
    object-fit: cover;
    display: block;
   
}
.transport-card-body { flex: 1;}
.transport-card-title { font-size:20px !important;
	font-weight:600 !important;
	margin-bottom: 10px !important;
    margin-top: 16px !important;
    color: #1e1e1e 
}
.transport-card-desc  { font-size: 16px; color: #666; line-height: 1.5; margin: 0; font-family: inherit !important; }
.transport-card-price { font-size: 20px; font-weight: 600; }
.transport-card-price strong { font-size: 16px; font-weight: 700; }
.transport-card-btn {
   background: #1dbb2f;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 600;
}
.transport-card-btn:hover { background: #16a34a; }

/* ── Loader / Spinner ── */
.transport-loader {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}
.transport-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #22c55e;
    border-radius: 50%;
    animation: transportSpin .8s linear infinite;
}
@keyframes transportSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ── Pagination ── */
.transport-pagination:not(:empty){
	display:flex;
	justify-content:center;
	align-items:center;
	gap:10px;
	margin-top:40px;
	font-family:inherit; 
}

.transport-pagination .page-numbers {
    padding: 10px 16px !important;
    border-radius: 20px !important;
    border: 1px solid #D9D9D9 !important;
    background-color: transparent !important;
    cursor: pointer;
    font-size: 14px !important;
    color: #121212 !important;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    font-family: inherit;
}
.transport-pagination .page-numbers.current,
.transport-pagination .page-numbers:hover {
    background-color: #20C210 !important;
    color: #fff !important;
    border-color: #20C210 !important; 
}


/* ============================================================
   PRICE TABLE
   ============================================================ */
.transport-description-block {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}
.transport-desc-title {
    background: #16a34a;
    color: #fff;
    margin: 0;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.transport-desc-content ul {
	display: flex;
	flex-direction: column;
	gap: 8px;
	list-style: none;
}

.transport-desc-content ul li {
	position: relative;
	padding-left: 16px;
}

.transport-desc-content ul li::before {
	content: "";
	position: absolute;
	left: 0px;
	top: 6px;
	width: 6px;
	height: 6px;
	background-image: url('/wp-content/uploads/2026/03/Ellipse-7.svg');
	background-size: contain;
	background-repeat: no-repeat;
}

.transport-price-group  { margin-bottom: 22px; }
.transport-price-group:last-child { margin-bottom: 0; }

.transport-vehicle-name {
    color: #1e1e1e;
    padding: 10px;
	font-weight: 400;
    border-bottom: 1px solid #ddd;
}

.transport-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.transport-price-table thead th {
	font-size: 14px;
	font-weight: 400;
  background-color: #E8F8E6;
  color: #505050;
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #EEE;
}

.transport-price-table tbody td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  color: #1e1e1e;
}

.transport-price-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.transport-price-cell {
  font-weight: 500;
  color: #1e1e1e;
  white-space: nowrap;
}



/* ============================================================
   PACKAGE DETAILS — [transport_package_details]
   ============================================================ */

.transport-package-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.transport-pkg-section {
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
}
.transport-pkg-section.pkg-includes {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.transport-pkg-section.pkg-excludes {
    background: #fff7ed;
    border-color: #fed7aa;
}

.transport-pkg-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
}
.pkg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: .85rem;
    font-weight: 700;
    flex-shrink: 0;
}
.pkg-icon-include {
    background: #16a34a;
    color: #fff;
}
.pkg-icon-exclude {
    background: #ea580c;
    color: #fff;
}

.transport-pkg-content ul {
    margin: 0;
    padding-left: 20px;
}
.transport-pkg-content ul li { margin-bottom: 5px; font-size: .93rem; color: #444; line-height: 1.5; }
.transport-pkg-content p    { margin: 0 0 6px; font-size: .93rem; color: #444; line-height: 1.5; }


/* ============================================================
   BOOKING FORM
   ============================================================ */
.transport-booking-form {
    padding: 14px;
	background-color: #FEFEFE;
	box-shadow: 0 5px 15px rgba(0,0,0,0.07);
	border-radius: 10px;
	font-family: inherit;
}

.transport-price-top {
    padding: 14px;
	background-color: #F2F2F7;
	border-radius: 8px;
	font-size: 16px;
	color: #8E8E93;
	margin-bottom: 20px;
}

.transport-live-price {
	font-weight: 700;
	color: #0F71DD;
	font-size: 24px;
	margin: 0 4px; 
}

#transport-booking-form {
	display:flex;
	flex-direction:column;
	gap:12px;
}

#transport-booking-form label {
   display: block;
	color: #878787;
	font-size: 14px;
}

.tbf-date-wrap {
	width: 100%;
}

#transport-booking-form select,
#transport-booking-form input[type="date"] {
    width: 100%;
	height: 52px;
	padding: 14px;
	background-color: #F6F6F6;
	border-radius: 8px;
	border: none;
	font-size: 15px;
	color: #141414;
	outline: none;
	box-sizing: border-box;
	cursor: pointer;
}

/* Date input — keep the native calendar icon, just style the border/focus */
#transport-booking-form input[type="date"] {
    cursor: pointer;
	position: relative; /* needed for absolute picker indicator */
}


/* Validation errors */
.transport-field-error {
    display: block;
    font-size: .78rem;
    color: #dc2626;
}

/* ── Date field ── */
.tsbf-date-wrap {
    position: relative;
}

.tsbf-input {
    width: 100%;
	cursor: pointer;
    padding: 14px;
    background-color: #F6F6F6;
    border-radius: 8px;
    border: none;
    color: #141414;
    font-size: 16px;
    outline: none;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.tsbf-input.has-error {
    border: 1px solid #e53935 !important;
    background: #fff5f5 !important;
}

/* .tsbf-wrap input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

.tsbf-date-icon {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #141414;
    display: flex;
    align-items: center;
} */

.tsbf-wrap input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.tsbf-date-icon {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* pass clicks through */
    color: #141414;
    display: flex;
    align-items: center;
    z-index: 1;
}

.tsbf-date-icon svg,
.tsbf-date-icon img {
    width: 18px;
    height: 18px;
}
/* TOTAL AMOUNT button */
#transport-calculate-btn {
    width: 100%;
	padding: 12px 24px;
	background-color: #00B531;
	color: #fff;
	border: none;
	border-radius: 70px;
	font-size: 16px;
	cursor: pointer;
	font-weight: 400;
}
#transport-calculate-btn:hover    { background: #16a34a; }
#transport-calculate-btn:disabled { background: #86efac; cursor: not-allowed; }
.transport-btn-price { font-weight: 800; }

/* CHECKOUT button */
#transport-book-btn {
    width: 100%;
	padding: 12px 24px;
	background-color: #00B531;
	color: #fff;
	border: none;
	border-radius: 70px;
	font-size: 14px;
	cursor: pointer;
	font-weight: 400;
	display:none;
}

/* Share row */
.transport-share {
    margin-top: 20px;
}

.transport-share-label {
  display: block;
	margin-bottom: 10px;
	font-size: 20px;
	color: #333;
	font-weight:500;
	padding-top:5px
}

.transport-share-icons {
  display: flex;
	gap: 12px;
	padding-top:5px;
}

.transport-share-icon img {
  width: 100%;
}


.transport-card-body {flex: 1;}
.transport-card-desc  { font-size: 16px; color: #666; line-height: 1.5; margin: 0; font-family: inherit !important; }

.transport-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
}
.transport-card-price { font-size: 20px; font-weight: 600; }

.transport-card-btn:hover { background: #16a34a; }


/* ── Pagination ── */
.transport-pagination:not(:empty){
	display:flex;
	justify-content:center;
	align-items:center;
	gap:10px;
	margin-top:40px;
	font-family:inherit; 
}

.transport-pagination .page-numbers {
    padding: 10px 16px !important;
    border-radius: 20px !important;
    border: 1px solid #D9D9D9 !important;
    background-color: transparent !important;
    cursor: pointer;
    font-size: 14px !important;
    color: #121212 !important;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    font-family: inherit;
}
.transport-pagination .page-numbers.current,
.transport-pagination .page-numbers:hover {
    background-color: #20C210 !important;
    color: #fff !important;
    border-color: #20C210 !important; 
}

#transport-booking-form input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

@media only screen and (max-width: 767px) {
	.transport-pkg-section {
    	padding: 10px;
	}
}


/* ============================================================
   NEW ADDITIONS ONLY — original CSS above is 100% unchanged
   ============================================================ */

/* ── Price table: vehicle name row — flex for badges ── */
.transport-vehicle-name {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Capacity badge (green) in price table header ── */
.transport-vehicle-cap-badge {
    display: inline-flex;
    align-items: center;
    background: #E8F8E6;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* ── Available units badge (blue) in price table header ── */
.transport-vehicle-avail-badge {
    display: inline-flex;
    align-items: center;
    background: #EFF6FF;
    color: #185FA5;
    border: 1px solid #BFDBFE;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* ── Round trip column: blue tint ── */
.transport-price-rt {
    font-weight: 600;
    color: #185FA5 !important;
}
.transport-price-table thead th:last-child {
    background-color: #EAF3FF;
    color: #185FA5;
}

/* ── Price per van note below table ── */
.transport-price-note {
    font-size: 12px;
    color: #888;
    margin: 6px 10px 4px;
    font-style: italic;
}

/* ── Vehicle display (single vehicle read-only) ── */
.tsbf-vehicle-display {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 52px;
    padding: 10px 16px;
    background: #E8F8E6;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
    box-sizing: border-box;
    width: 100%;
}
.tsbf-vehicle-name-text {
    font-size: 15px;
    font-weight: 600;
    color: #16a34a;
    flex: 1;
}
.tsbf-vehicle-cap {
    font-size: 12px;
    color: #16a34a;
    background: #fff;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 2px 10px;
    white-space: nowrap;
}
.tsbf-vehicle-avail {
    font-size: 12px;
    color: #185FA5;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 20px;
    padding: 2px 10px;
    white-space: nowrap;
}

/* ── Shared select style (tsbf-select) — matches existing input look ── */
.tsbf-select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    background-color: #F6F6F6;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 15px;
    color: #141414;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s, background .15s;
    /* Custom dropdown arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
/* .tsbf-select:focus {
    border-color: #00B531;
    background-color: #F0FDF4;
} */

/* ── Trip type radio labels ── */
.tsbf-trip-type {
    display: flex;
    gap: 10px;
}
.tsbf-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    padding: 13px 16px;
    background: #F6F6F6;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    user-select: none;
}
.tsbf-radio-label input[type="radio"] {
    width: auto !important;
    height: auto !important;
    accent-color:green;
    cursor: pointer;
    flex-shrink: 0;
}
.tsbf-radio-icon { font-size: 16px; color: #888; }
.tsbf-radio-text { font-size: 15px; color: #141414; font-weight: 500; }
/* .tsbf-radio-label:has(input:checked) { background: #E8F8E6; border-color: #00B531; }
.tsbf-radio-label:has(input:checked) .tsbf-radio-icon,
.tsbf-radio-label:has(input:checked) .tsbf-radio-text { color: #16a34a; } */

/* ── Plain text input (pickup / dropoff) ── */
.tsbf-text {
    cursor: text !important;
    height: 52px;
    border: 1px solid transparent !important;
    transition: border-color .15s, background .15s;
}
/* .tsbf-text:focus {
    border-color: #00B531 !important;
    background-color: #F0FDF4 !important;
} */
.tsbf-text::placeholder { color: #ADADAD; }

/* ── Return date wrap ── */
#transport-return-wrap { overflow: hidden; }

/* ── Van availability note below dropdown ── */
.tsbf-van-avail-note {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 3px;
    padding-left: 2px;
}

/* ── BOOK NOW button — blue ── */
/* #transport-book-btn {
    background-color: #00B531 !important;
    font-weight: 600 !important;
    letter-spacing: .03em;
}
#transport-book-btn:hover { background-color: #0a5bb8 !important; } */

/* ── Mobile ── */
@media only screen and (max-width: 767px) {
    .tsbf-trip-type { flex-direction: column; gap: 8px; }
    .transport-vehicle-name { flex-direction: column; align-items: flex-start; }
    .transport-vehicle-cap-badge,
    .transport-vehicle-avail-badge { margin-left: 0; }
}

