body.transfer-design .tf-workspace {
  width: calc(100% - 230px);
  max-width: none;
  margin: 0 0 0 230px;
  padding: 28px 32px 60px;
  font-size: 16px;
  line-height: 1.55;
}
.tf-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.tf-heading h1 {
  font-size: clamp(28px, 3vw, 42px);
  margin: 0 0 8px;
}
.tf-heading p {
  margin: 0;
}
.tf-link-button {
  padding: 12px 18px;
  border: 1px solid #38bdf8;
  border-radius: 8px;
  white-space: nowrap;
}
.tf-mode-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}
.tf-mode-tabs button[aria-pressed='true'] {
  border-color: #41ecf1;
  background: #202227;
}
.tf-search-panel {
  padding: 26px;
}
.tf-search-grid,
.tf-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}
.tf-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tf-search-grid label small {
  font-size: 14px;
  line-height: 1.5;
}
.tf-search-footer,
.tf-checkout-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.tf-search-footer p {
  margin: 0;
  max-width: 70ch;
}
.tf-search-footer button {
  flex-shrink: 0;
}
.tf-examples {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.tf-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.tf-ride-card {
  border: 1px solid #285769;
  border-radius: 14px;
  background: #202227;
  overflow: hidden;
  min-width: 0;
}
.tf-ride-card.selected {
  border: 2px solid #efc66f;
}
.tf-ride-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #202227;
  min-height: 190px;
}
.tf-ride-image > img {
  position: absolute;
  max-width: none !important;
  aspect-ratio: auto !important;
  object-fit: fill !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
.tf-ride-image > img.real-photo {
  position: static;
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  aspect-ratio: 16/9 !important;
}
.tf-ride-card-body {
  padding: 22px;
}
.tf-ride-card h3 {
  font-size: 24px;
  margin: 10px 0;
}
.tf-driver-line {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 16px 0;
}
.tf-driver-line strong {
  font-size: 18px;
}
.tf-driver-line p {
  margin: 3px 0;
  font-size: 14px;
}
.tf-driver-avatar-view {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid #efc66f;
  overflow: hidden;
  flex: 0 0 66px;
  background: #202227;
}
.tf-driver-avatar-view > img {
  position: absolute;
  width: 1113%;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: auto !important;
  left: -47%;
  top: -211%;
  object-fit: fill !important;
}
.tf-driver-avatar-view > img.real-avatar {
  position: static;
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
}
.tf-demo-tag {
  display: inline-block;
  border: 1px solid #f2c66b;
  color: #f2c66b;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 14px;
}
.tf-example-note {
  font-size: 14px;
  margin: 10px 0;
}
.tf-card-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.tf-card-facts > div {
  background: #202227;
  padding: 12px;
  border-radius: 8px;
}
.tf-card-facts small {
  display: block;
  color: #afc8da;
  font-size: 14px;
}
.tf-card-facts strong {
  font-size: 16px;
}
.tf-ride-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}
.tf-ride-card-footer strong {
  font-size: 25px;
  color: #f2c66b;
}
.tf-ride-card-footer button {
  min-width: 140px;
}
.tf-review-box {
  margin: 14px 0;
}
.tf-review-box blockquote {
  margin: 12px 0;
  padding: 12px;
  border-left: 2px solid #41ecf1;
}
.tf-review-box button {
  width: auto;
}
.tf-seat-layout {
  display: grid;
  grid-template-columns: minmax(230px, 360px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.tf-cabin {
  position: relative;
  border: 2px solid #577489;
  border-radius: 52px 52px 30px 30px;
  padding: 25px 20px 28px;
  background: linear-gradient(#202227, #202227);
  max-width: 320px;
  min-height: 300px;
}
.tf-cabin-front {
  border-top: 9px solid #95bdcf;
  border-radius: 50%;
  padding: 15px 0;
  color: #afc8da;
  text-align: center;
  font-size: 14px;
  margin-bottom: 20px;
}
.tf-cabin-seats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 22px;
}
.tf-driver-seat,
.tf-seat-button {
  min-height: 94px;
  display: grid;
  place-content: center;
  border-radius: 14px;
  border: 2px solid #39bed1;
  background: #202227;
  padding: 12px;
  text-align: center;
  line-height: 1.45;
}
.tf-driver-seat {
  color: #9bb1c4;
  background: #202227;
  border-color: #475e70;
  font-size: 14px;
}
.tf-seat-button strong {
  font-size: 24px;
}
.tf-seat-button small {
  font-size: 14px;
}
.tf-seat-button[aria-pressed='true'] {
  background: #e6b64e;
  color: #09202c;
  border-color: #fff1b4;
}
.tf-seat-button:disabled {
  opacity: 1;
  background: #202227;
  border-color: #c06a78;
  color: #f2bdc4;
  cursor: not-allowed;
}
.tf-cabin-baggage {
  margin-top: 25px;
  text-align: center;
  border-top: 2px dashed #577489;
  padding-top: 15px;
  font-size: 14px;
}
.tf-seat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
  margin: 16px 0;
}
.tf-seat-legend span:nth-child(2) {
  color: #f2bdc4;
}
.tf-seat-legend span:nth-child(3) {
  color: #f2c66b;
}
.tf-seat-description p {
  max-width: 70ch;
}
.tf-order-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0 0 24px;
  padding: 20px;
  background: #202227;
  border-radius: 10px;
}
.tf-order-summary div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tf-order-summary small {
  display: block;
  font-size: 14px;
  color: #afc8da;
}
.tf-checkout label.tf-personal-consent,
.tf-checkout label.tf-consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  width: 100%;
  padding: 16px;
  margin: 14px 0;
  font-size: 16px;
}
.tf-checkout-footer strong {
  font-size: 28px;
  color: #f2c66b;
}
.tf-checkout-footer button {
  min-width: 220px;
}
.tf-workspace .tf-status,
.tf-workspace p[role='status'] {
  overflow-wrap: anywhere;
}
.tf-workspace [role='status'].error {
  color: #ffb4b4;
}
.tf-workspace dialog {
  background: #202227;
  color: #e9f4fb;
  border: 1px solid #38bdf8;
  border-radius: 14px;
  max-width: 650px;
  width: 90%;
  padding: 24px;
}
.tf-workspace dialog::backdrop {
  background: #000a;
}
@media (min-width: 1750px) {
  .tf-result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  body.transfer-design .tf-workspace {
    width: calc(100% - 200px);
    margin-left: 200px;
    padding: 24px;
  }
  .tf-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tf-result-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 800px) {
  body.transfer-design .tf-workspace {
    width: 100%;
    margin-left: 0;
    padding: 18px 14px 40px;
  }
  .tf-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .tf-seat-layout {
    grid-template-columns: 1fr;
  }
  .tf-cabin {
    margin: auto;
  }
  .tf-search-footer,
  .tf-checkout-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .tf-search-footer button,
  .tf-checkout-footer button {
    width: 100%;
  }
  .tf-search-panel {
    padding: 18px;
  }
}
@media (max-width: 520px) {
  .tf-search-grid,
  .tf-contact-grid,
  .tf-order-summary {
    grid-template-columns: 1fr;
  }
  .tf-ride-card-body {
    padding: 18px;
  }
  .tf-ride-card-footer {
    flex-wrap: wrap;
  }
  .tf-ride-card-footer button {
    width: 100%;
  }
  .tf-mode-tabs button {
    flex: 1 1 42%;
  }
  .tf-card-facts {
    grid-template-columns: 1fr 1fr;
  }
}
.tf-seat-button:disabled[aria-pressed='true'] {
  background: #e6b64e;
  color: #09202c;
  border-color: #fff1b4;
}

body.transfer-design .tf-workspace input,
body.transfer-design .tf-workspace select,
body.transfer-design .tf-workspace textarea {
  min-height: 46px;
  font-size: 16px;
}
.tf-workspace #searchStatus {
  margin: 18px 0 0;
}
.tf-workspace #searchStatus:empty {
  display: none;
}

.tf-ride-image.tf-crop-economy,
.tf-ride-image.tf-crop-premium,
.tf-ride-image.tf-crop-group {
  aspect-ratio: 222/92;
  min-height: 0;
}
.tf-ride-image.tf-crop-comfort {
  aspect-ratio: 270/140;
  min-height: 0;
}
.tf-place-picker {
  position: relative;
  display: block;
  width: 100%;
}
.tf-place-picker input {
  padding-right: 48px !important;
  width: 100%;
}
.tf-place-picker .tf-picker-toggle {
  position: absolute;
  right: 2px;
  top: 2px;
  width: 42px;
  min-width: 0 !important;
  height: 42px;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #f2c66b !important;
}
.tf-picker-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  min-width: 220px;
  max-height: 330px;
  overflow-y: auto;
  background: #202227;
  border: 1px solid #f2c66b;
  border-radius: 10px;
  box-shadow: 0 12px 30px #0008;
  padding: 8px;
}
.tf-picker-menu button {
  display: block;
  width: 100%;
  min-height: 38px !important;
  padding: 8px 12px !important;
  border: 0 !important;
  text-align: left;
  background: transparent !important;
  color: #edf6ff !important;
  font-size: 16px !important;
}
.tf-picker-menu button:hover,
.tf-picker-menu button.active,
.tf-picker-menu [aria-selected='true'] {
  background: #eac369 !important;
  color: #102333 !important;
}
.tf-picker-menu small {
  display: block;
  padding: 10px;
  color: #bdd0df;
}
.tf-rating {
  color: #f2c66b;
  margin: 12px 0;
}
.tf-route-companions {
  border: 1px solid #3b6774;
  border-radius: 8px;
  padding: 12px;
  color: #c7e6ef;
  margin-bottom: 20px;
}
.tf-ride-card button[aria-pressed='true'] {
  background: #eac369;
  color: #142b3a;
}
.tf-picker-menu[hidden] {
  display: none !important;
}
/* Every card uses the same outer frame; source-sheet cropping stays in an inner frame. */
.tf-ride-image,
.tf-ride-image.tf-crop-economy,
.tf-ride-image.tf-crop-comfort,
.tf-ride-image.tf-crop-premium,
.tf-ride-image.tf-crop-group {
  aspect-ratio: 16/9 !important;
  min-height: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tf-ride-image > img.real-photo {
  width: 100%;
  height: 100% !important;
  object-fit: contain !important;
}
.tf-reference-crop {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 222/92;
}
.tf-reference-crop.comfort {
  aspect-ratio: 270/140;
}
.tf-reference-crop.sprinter {
  aspect-ratio: 222/100;
}
.tf-reference-crop img {
  position: absolute;
  max-width: none !important;
  height: auto !important;
  object-fit: fill !important;
  border-radius: 0 !important;
}
.tf-seat-row {
  display: grid;
  gap: 10px;
  margin: 13px 0;
}
.tf-front-row,
.tf-row-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tf-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tf-cabin .tf-seat-button {
  min-width: 0;
  min-height: 70px;
  padding: 8px 4px !important;
}
.tf-cabin .tf-seat-button small {
  font-size: 12px;
}
.tf-cabin-large {
  max-width: 440px;
  padding: 20px 16px;
}
.tf-coach-row {
  grid-template-columns: 1fr 1fr 24px 1fr 1fr;
}
.tf-sprinter-row {
  grid-template-columns: 1fr 24px 1fr 1fr;
}
.tf-bus-driver {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.tf-bus-driver .tf-driver-seat {
  min-height: 65px;
  width: 80px;
}
.tf-aisle {
  border-left: 1px dashed #426477;
}
.tf-hour-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tf-hour-buttons button {
  min-width: 66px;
  padding: 10px;
}
.tf-hour-buttons small {
  display: block;
  font-size: 12px;
}
.tf-hour-buttons button[aria-pressed='true'] {
  background: #eac369;
  color: #102333;
  border-color: #eac369;
}
.tf-hourly-schedule {
  margin: 22px 0;
}
.tf-data-sources {
  margin: 15px 0;
  font-size: 14px;
}
.tf-address-hint {
  font-size: 14px;
  margin-top: 8px;
}
.tf-seat-layout {
  grid-template-columns: minmax(260px, 440px) minmax(0, 1fr);
}
@media (max-width: 800px) {
  .tf-seat-layout {
    grid-template-columns: 1fr;
  }
  .tf-cabin-large {
    width: min(100%, 420px);
    box-sizing: border-box;
  }
  .tf-coach-row {
    grid-template-columns: 1fr 1fr 16px 1fr 1fr;
    gap: 6px;
  }
}

.tf-transfer-direction {
  grid-column: 1/-1;
  display: flex;
  gap: 12px;
}
.tf-transfer-direction button[aria-pressed='true'] {
  background: #eac369;
  color: #102333;
  border-color: #eac369;
}
.tf-address-section {
  grid-column: 1/-1;
  border: 1px solid #27546b;
  border-radius: 10px;
  padding: 18px;
  margin: 0;
  min-width: 0;
}
.tf-address-section legend {
  padding: 0 8px;
  color: #f2c66b;
  font-weight: 700;
  font-size: 18px;
}
.tf-address-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.tf-address-grid .tf-address-city {
  grid-column: 1/-1;
}
.tf-address-grid [data-border] {
  grid-column: 1/-1;
}
.tf-address-grid label {
  min-width: 0;
}
.tf-transfer-direction input[hidden],
.tf-transfer-direction select[hidden] {
  display: none !important;
}
@media (max-width: 520px) {
  .tf-address-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tf-address-street {
    grid-column: 1/-1;
  }
  .tf-address-section {
    padding: 12px;
  }
}

.tf-search-contacts {
  margin-bottom: 22px;
}
.tf-search-contacts .tf-contact-grid {
  margin: 0;
}
#originAddressSection .tf-address-grid > label:not(.tf-address-street):not([data-pickup-address]) {
  grid-column: auto;
}
#originAddressSection .tf-address-grid > .tf-address-city,
#originAddressSection .tf-address-grid > [data-border] {
  grid-column: 1/-1;
}
#findCars:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
input[type='date'] {
  cursor: pointer;
}
input[type='date']::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.8;
}

.tf-picker-menu {
  background: #202227;
  color: #fff;
}
.tf-picker-menu button {
  color: #fff !important;
}
.tf-picker-menu [aria-selected='true'],
.tf-picker-menu button:hover {
  color: #102333 !important;
}
input.tf-invalid-field,
select.tf-invalid-field,
textarea.tf-invalid-field {
  border: 2px solid #fa666b !important;
  box-shadow: 0 0 0 2px #fa666b22;
}
.tf-required-hint {
  display: block;
  color: #ff9296 !important;
  font-size: 14px;
  margin-top: 6px;
}
body.transfer-design option {
  background: #202227;
  color: #fff;
}

/* Uploaded car photos retain their proportions inside the shared card frame. */
.tf-client-page .tf-ride-image {
  height: auto;
  min-height: 0;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.tf-client-page .tf-ride-image > img.real-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.tf-parking-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 18px 0 24px;
  text-align: left;
}
.tf-parking-table caption {
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  padding: 0 0 16px;
}
.tf-parking-table th {
  padding: 14px 18px;
  vertical-align: top;
  line-height: 1.6;
  border-bottom: 1px solid #27546b;
}
.tf-parking-table td {
  padding: 14px 18px !important;
  line-height: 1.6;
  border-bottom: 1px solid #27546b55;
}
.tf-parking-table th:first-child {
  width: 40%;
}
@media (max-width: 600px) {
  .tf-parking-table th,
  .tf-parking-table td {
    padding: 12px 8px !important;
    font-size: 13px;
  }
  .tf-parking-table th:first-child {
    width: 42%;
  }
}

.tf-parking-table button {
  width: 100%;
  text-align: left;
  white-space: normal;
}
.tf-parking-table button[aria-pressed='true'] {
  background: #eac369;
  color: #102333;
  border-color: #eac369;
}

.tf-client-page .tf-result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tf-client-page .tf-ride-card-body {
  padding: 14px;
}
.tf-client-page .tf-ride-card h3 {
  font-size: 20px;
  margin: 6px 0;
}
.tf-client-page .tf-driver-line {
  gap: 10px;
  margin: 10px 0;
}
.tf-client-page .tf-driver-avatar-view {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}
.tf-client-page .tf-card-facts {
  gap: 8px;
  margin: 12px 0;
}
.tf-client-page .tf-card-facts > div {
  padding: 8px;
}
.tf-client-page .tf-ride-card-footer {
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.tf-client-page .tf-ride-card-footer strong {
  font-size: 22px;
}
.tf-client-page .tf-ride-card-footer small {
  display: block;
  font-size: 14px;
}
.tf-drink-price {
  color: #efc66f;
}
.tf-booking-total {
  font-weight: 700;
  color: #edf6ff;
}
.tf-search-countdown {
  color: #efc66f;
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1050px) {
  .tf-client-page .tf-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .tf-client-page .tf-result-grid {
    grid-template-columns: 1fr;
  }
}
