/* Rehlla Transfers — follows the Traveler theme: orange accent, navy text, light grey borders, rounded cards. */
.rtf-search, .rtf-wrap {
	--rtf-main: var(--main-color, #f79622);
	--rtf-ink: var(--link-color, #1a2b48);
	--rtf-grey: var(--grey-color, #5e6d77);
	--rtf-line: #e6e9ee;
	--rtf-soft: #f5f7fa;
	--rtf-radius: 10px;
	color: var(--rtf-ink);
}

/* ---------- search form ---------- */
.rtf-search { background: #fff; border-radius: var(--rtf-radius); padding: 18px 20px; box-shadow: 0 8px 30px rgba(26, 43, 72, .12); text-align: left; }
.rtf-search.rtf-compact { box-shadow: none; padding: 16px 18px 18px; }
.rtf-search-top { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-bottom: 14px; }
.rtf-pills { display: inline-flex; background: var(--rtf-soft); border-radius: 999px; padding: 3px; }
.rtf-pill { border: 0; background: none; padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--rtf-grey); cursor: pointer; }
.rtf-pill.active { background: var(--rtf-main); color: #fff; }
.rtf-dir, .rtf-return-toggle { display: inline-flex; gap: 16px; font-size: 14px; color: var(--rtf-ink); }
.rtf-dir label, .rtf-return-toggle { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 500; cursor: pointer; }
.rtf-dir input, .rtf-return-toggle input { accent-color: var(--rtf-main); margin: 0; }
.rtf-search-fields { display: flex; flex-wrap: wrap; border: 1px solid var(--rtf-line); border-radius: var(--rtf-radius); }
.rtf-field { flex: 1 1 170px; padding: 10px 14px; border-right: 1px solid var(--rtf-line); min-width: 0; position: relative; }
.rtf-field:last-child { border-right: 0; }
.rtf-field > label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--rtf-grey); margin: 0 0 4px; }
.rtf-field input[type=text], .rtf-field input[type=date], .rtf-field input[type=time], .rtf-field select {
	border: 0; padding: 0; height: 28px; width: 100%; font-size: 15px; font-weight: 500; color: var(--rtf-ink); background: transparent; box-shadow: none; outline: none;
}
.rtf-field-place, .rtf-field-airport { flex-basis: 230px; flex-grow: 2; }
.rtf-select, .rtf-place { display: flex; align-items: center; gap: 8px; position: relative; }
.rtf-select i, .rtf-place > i { color: var(--rtf-main); }
.rtf-place.rtf-picked > i { color: #12b76a; }
.rtf-datetime { display: flex; gap: 6px; }
.rtf-datetime input[type=time] { max-width: 92px; }
.rtf-field-submit { flex: 0 0 auto; display: flex; align-items: center; padding: 8px; }
.rtf-btn { background: var(--rtf-main) !important; border-color: var(--rtf-main) !important; color: #fff !important; border-radius: 8px !important; font-weight: 600; padding: 12px 24px; white-space: nowrap; }
.rtf-btn:hover { filter: brightness(.95); }
.rtf-btn-lg { padding: 15px 34px; font-size: 16px; }
.rtf-field-submit .rtf-btn { height: 100%; min-height: 50px; }
.rtf-counter { display: inline-flex; align-items: center; gap: 4px; }
.rtf-counter button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rtf-line); background: #fff; color: var(--rtf-ink); font-size: 16px; line-height: 1; cursor: pointer; padding: 0; }
.rtf-counter button:hover { border-color: var(--rtf-main); color: var(--rtf-main); }
.rtf-counter input { width: 40px; text-align: center; border: 0; font-weight: 600; font-size: 15px; -moz-appearance: textfield; background: transparent; }
.rtf-counter input::-webkit-inner-spin-button { -webkit-appearance: none; }
.rtf-field-pax { flex: 0 0 150px; }
.rtf-suggest { position: absolute; z-index: 9999; top: calc(100% + 8px); left: -14px; right: -14px; min-width: 280px; background: #fff; border: 1px solid var(--rtf-line); border-radius: var(--rtf-radius); box-shadow: 0 12px 30px rgba(26, 43, 72, .16); margin: 0; padding: 6px 0; list-style: none; max-height: 320px; overflow: auto; }
.rtf-suggest li { padding: 9px 14px; cursor: pointer; line-height: 1.35; }
.rtf-suggest li strong { display: block; font-size: 14px; color: var(--rtf-ink); }
.rtf-suggest li small { color: var(--rtf-grey); font-size: 12px; }
.rtf-suggest li.active, .rtf-suggest li:hover { background: var(--rtf-soft); }
.rtf-search-error { color: #d92d20; margin: 10px 0 0; font-size: 14px; }

/* show / hide by mode */
.rtf-search[data-type="airport"] .rtf-only-c2c,
.rtf-search[data-type="c2c"] .rtf-only-airport,
.rtf-search:not([data-return="1"]) .rtf-only-return,
.rtf-search[data-dir="arr"] .rtf-only-dep,
.rtf-search[data-dir="dep"] .rtf-only-arr,
.rtf-search[data-type="c2c"] .rtf-only-arr { display: none !important; }
.rtf-search[data-type="c2c"] .rtf-only-dep { display: inline !important; }
.rtf-only-airport.rtf-field-hotel-wrap, .rtf-only-c2c { display: contents; }
.rtf-search[data-dir="dep"] .rtf-field-hotel-wrap .rtf-field { order: -1; }
.rtf-search[data-dir="dep"] .rtf-field-airport { order: 0; }

/* inside the theme's home search tabs */
.search-form-wrapper .tab-pane#rl_transfer .rtf-search { margin: 0; }
.search-form-wrapper .tab-pane#rl_transfer { text-align: left; }

/* ---------- booking page ---------- */
.rtf-wrap { margin: 10px 0 40px; }
.rtf-hero-search { max-width: 1140px; margin: 0 auto; }
.rtf-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; counter-reset: s; flex-wrap: wrap; }
.rtf-steps li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--rtf-grey); font-size: 14px; }
.rtf-steps li:not(:last-child)::after { content: ''; width: 36px; height: 2px; background: var(--rtf-line); margin-left: 6px; }
.rtf-steps li span { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--rtf-soft); color: var(--rtf-grey); }
.rtf-steps li.current { color: var(--rtf-ink); }
.rtf-steps li.current span, .rtf-steps li.done span { background: var(--rtf-main); color: #fff; }
.rtf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.rtf-side { position: sticky; top: 100px; }
.rtf-title { font-size: 24px; margin: 0 0 16px; color: var(--rtf-ink); }
.rtf-summary, .rtf-trust, .rtf-details fieldset, .rtf-car, .rtf-card, .rtf-empty, .rtf-track-form, .rtf-chosen { background: #fff; border: 1px solid var(--rtf-line); border-radius: var(--rtf-radius); }
.rtf-summary { padding: 18px; }
.rtf-summary h3 { font-size: 18px; margin: 0 0 12px; }
.rtf-summary-leg + .rtf-summary-leg { border-top: 1px dashed var(--rtf-line); margin-top: 10px; padding-top: 10px; }
.rtf-leg-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--rtf-main); background: #fff4e6; border-radius: 4px; padding: 2px 6px; }
.rtf-route { margin: 6px 0; line-height: 1.7; }
.rtf-route i { width: 16px; color: var(--rtf-main); }
.rtf-when, .rtf-pax { color: var(--rtf-grey); margin: 4px 0; font-size: 14px; }
.rtf-edit { font-weight: 600; font-size: 14px; color: var(--rtf-main); }
.rtf-trust { list-style: none; padding: 16px 18px; margin: 16px 0 0; font-size: 14px; }
.rtf-trust li { margin: 6px 0; }
.rtf-trust i { color: #12b76a; margin-right: 6px; }
.rtf-change { margin-top: 30px; }

.rtf-cars { display: grid; gap: 16px; }
.rtf-car { display: grid; grid-template-columns: 200px minmax(0, 1fr) 190px; gap: 18px; padding: 16px; align-items: center; transition: box-shadow .2s, transform .2s; }
.rtf-car:hover { box-shadow: 0 10px 28px rgba(26, 43, 72, .12); transform: translateY(-2px); }
.rtf-car-img img { width: 100%; height: 120px; object-fit: contain; }
.rtf-car-placeholder { display: flex; height: 110px; align-items: center; justify-content: center; background: var(--rtf-soft); border-radius: 8px; font-size: 42px; color: #c4ccd8; }
.rtf-car h3 { margin: 0 0 4px; font-size: 19px; }
.rtf-car-desc { color: var(--rtf-grey); margin: 0 0 8px; font-size: 14px; }
.rtf-supplier { margin: 0 0 6px; font-size: 13px; color: var(--rtf-grey); }
.rtf-supplier i { color: var(--rtf-main); margin-right: 3px; }
.rtf-supplier a { color: var(--rtf-ink); font-weight: 600; }
.rtf-chosen .rtf-supplier { margin: 2px 0 0; }
.rtf-car-feat { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.rtf-car-feat i { color: var(--rtf-main); margin-right: 4px; }
.rtf-car-buy { text-align: right; border-left: 1px solid var(--rtf-line); padding-left: 18px; }
.rtf-price-label { display: block; font-size: 12px; color: var(--rtf-grey); }
.rtf-price { display: block; font-size: 26px; font-weight: 700; color: var(--rtf-ink); margin: 2px 0 10px; }
.rtf-car-buy .rtf-btn { width: 100%; }

.rtf-chosen { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; }
.rtf-chosen img { width: 90px; height: 60px; object-fit: contain; }
.rtf-chosen .rtf-car-placeholder { height: 60px; font-size: 26px; }
.rtf-chosen-price { text-align: right; font-size: 22px; font-weight: 700; }
.rtf-chosen-price a { display: block; font-size: 13px; font-weight: 600; color: var(--rtf-main); }
.rtf-details fieldset { padding: 16px 18px 6px; margin: 0 0 16px; }
.rtf-details legend { font-size: 17px; font-weight: 700; padding: 0 6px; margin: 0 0 6px -6px; width: auto; border: 0; color: var(--rtf-ink); }
.rtf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.rtf-grid p { margin: 0 0 12px; }
.rtf-wrap label { font-size: 13px; font-weight: 600; color: var(--rtf-grey); margin-bottom: 4px; display: block; }
.rtf-details input[type=text], .rtf-details input[type=email], .rtf-details input[type=tel], .rtf-details textarea, .rtf-track-form input {
	width: 100%; border: 1px solid var(--rtf-line); border-radius: 8px; padding: 10px 12px; font-size: 15px; height: auto; box-shadow: none;
}
.rtf-details input:focus, .rtf-details textarea:focus, .rtf-track-form input:focus { border-color: var(--rtf-main); outline: none; }
.rtf-details textarea { margin-bottom: 12px; }
.rtf-hint { font-size: 13px; color: var(--rtf-grey); margin: 0 0 10px; }
.rtf-extras { display: grid; gap: 8px; margin-bottom: 10px; }
.rtf-extra { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rtf-line); }
.rtf-extra:last-child { border-bottom: 0; }
.rtf-extra img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.rtf-extra-ico { width: 44px; height: 44px; border-radius: 8px; background: #fff4e6; color: var(--rtf-main); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.rtf-extra-text small { display: block; color: var(--rtf-grey); font-size: 12px; }
.rtf-extra-price { font-weight: 600; white-space: nowrap; }
.rtf-submit { text-align: right; }
.rtf-submit .rtf-hint { margin-top: 8px; }

.rtf-alert { background: #fef3f2; border: 1px solid #fecdca; color: #b42318; border-radius: 8px; padding: 12px 16px; margin: 0 0 18px; }
.rtf-alert.rtf-ok { background: #ecfdf3; border-color: #abefc6; color: #067647; }
.rtf-empty { padding: 30px; text-align: center; }

/* ---------- track / account ---------- */
.rtf-track { max-width: 760px; }
.rtf-track-form { padding: 20px; margin-bottom: 20px; }
.rtf-card { padding: 16px 18px; margin-bottom: 14px; }
.rtf-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.rtf-ref { font-weight: 700; font-size: 18px; letter-spacing: .03em; }
.rtf-badge { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: var(--rtf-soft); color: var(--rtf-grey); }
.rtf-badge-confirmed { background: #ecfdf3; color: #067647; }
.rtf-badge-pending { background: #fff4e6; color: #b54708; }
.rtf-badge-cancelled { background: #fef3f2; color: #b42318; }
.rtf-dl { display: grid; grid-template-columns: 130px 1fr; gap: 4px 12px; margin: 8px 0; font-size: 14px; }
.rtf-dl dt { color: var(--rtf-grey); font-weight: 600; }
.rtf-dl dd { margin: 0; }
.rtf-link-danger { background: none; border: 0; padding: 0; color: #b42318; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* ---------- small screens ---------- */
@media (max-width: 991px) {
	.rtf-layout { grid-template-columns: 1fr; }
	.rtf-side { position: static; order: -1; }
	.rtf-car { grid-template-columns: 120px minmax(0, 1fr); }
	.rtf-car-buy { grid-column: 1 / -1; border-left: 0; padding-left: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
	.rtf-car-buy .rtf-btn { width: auto; }
	.rtf-price { margin: 0; }
}
@media (max-width: 767px) {
	.rtf-search { padding: 14px; }
	.rtf-field { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--rtf-line); }
	.rtf-field-submit { border-bottom: 0; }
	.rtf-field-submit .rtf-btn { width: 100%; }
	.rtf-field-pax { flex-basis: 100%; }
	.rtf-car { grid-template-columns: 1fr; }
	.rtf-car-img img { height: 100px; }
	.rtf-chosen { grid-template-columns: 70px 1fr; }
	.rtf-chosen-price { grid-column: 1 / -1; text-align: left; }
	.rtf-extra { grid-template-columns: 36px minmax(0, 1fr) auto; }
	.rtf-extra .rtf-counter { grid-column: 2 / -1; }
	.rtf-dl { grid-template-columns: 1fr; }
	.rtf-submit { text-align: center; }
	.rtf-submit .rtf-btn { width: 100%; }
}

/* ---------- partner dashboard › Transfers, shared price editor ---------- */
.rtf-pe-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--rtf-line, #e6e9ee); margin: 0 0 16px; }
.rtf-pe-tabs a { padding: 9px 14px; font-weight: 600; color: var(--rtf-grey, #5e6d77); border-bottom: 3px solid transparent; margin-bottom: -1px; text-decoration: none; }
.rtf-pe-tabs a.active { color: var(--rtf-ink, #1a2b48); border-bottom-color: var(--rtf-main, #f79622); }
.rtf-pe-anchor { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.rtf-pe-anchor select { height: 38px; border: 1px solid var(--rtf-line, #e6e9ee); border-radius: 8px; padding: 0 10px; }
.rtf-pe-cur { color: var(--rtf-grey, #5e6d77); font-size: 13px; }
.rtf-wrap .rtf-price-grid { width: 100%; border-collapse: collapse; background: #fff; }
.rtf-wrap .rtf-price-grid th, .rtf-wrap .rtf-price-grid td { border: 1px solid var(--rtf-line, #e6e9ee); padding: 6px 8px; text-align: left; white-space: nowrap; font-size: 13px; }
.rtf-wrap .rtf-price-grid thead th { background: var(--rtf-soft, #f5f7fa); }
.rtf-wrap .rtf-price-grid input { width: 90px; border: 1px solid var(--rtf-line, #e6e9ee); border-radius: 6px; padding: 5px 7px; }
.rtf-wrap .rtf-price-grid .rtf-seat-col { background: #fffaf3; }
.rtf-scroll { overflow-x: auto; }
.rtf-pe-actions { margin: 12px 0 4px; }
.rtf-panel { background: #fff; border: 1px solid var(--rtf-line, #e6e9ee); border-radius: 10px; padding: 14px 18px; margin: 16px 0; }
.rtf-panel h3 { margin: 0 0 10px; font-size: 17px; }
.rtf-note { border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; }
.rtf-note-ok { background: #ecfdf3; border: 1px solid #abefc6; color: #067647; }
.rtf-note-err { background: #fef3f2; border: 1px solid #fecdca; color: #b42318; }
.rtf-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 6px; }
.rtf-tile { background: #fff; border: 1px solid var(--rtf-line, #e6e9ee); border-left: 3px solid var(--rtf-main, #f79622); border-radius: 10px; padding: 12px 14px; }
.rtf-tile strong { display: block; font-size: 20px; color: var(--rtf-ink, #1a2b48); }
.rtf-tile span { font-size: 13px; color: var(--rtf-grey, #5e6d77); }
.rtf-steps-list { margin: 0; padding-left: 20px; line-height: 1.8; }
.rtf-ptable { width: 100%; background: #fff; }
.rtf-ptable td, .rtf-ptable th { vertical-align: top; font-size: 13px; }
.rtf-ptable img { width: 70px; height: 46px; object-fit: contain; }
.rtf-ptable .rtf-car-placeholder { width: 70px; height: 46px; font-size: 22px; }
.rtf-thumb { display: block; width: 120px; margin: 4px 0 8px; border-radius: 6px; }
.rtf-inline-check { display: inline-flex !important; align-items: center; gap: 6px; margin-right: 18px; font-weight: 500 !important; }
.rtf-when-filter a { font-weight: 600; color: var(--rtf-grey, #5e6d77); }
.rtf-when-filter a.active { color: var(--rtf-main, #f79622); }
.rtf-partner .rtf-details textarea, .rtf-partner .rtf-details input[type=number] { width: 100%; border: 1px solid var(--rtf-line, #e6e9ee); border-radius: 8px; padding: 9px 12px; }
