/********************************************************************************************************************/
@media only screen and (min-width: 10px) {
	div.wbtm_container{width:100%;max-width:1300px; margin:var(--dMP) auto; background-color: rgb(255, 255, 255, 0.0);}
}
/********************************************************************************************************************/
@media only screen and (min-width: 10px) {
	div.wbtm_search_area button,
	div.wbtm_search_area input.formControl {height: 44px;}
}
/********************************************************************************************************************/
@media only screen and (min-width: 10px) {
	div.wbtm_bus_list_area {
		  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
	}
	div.wbtm_bus_list_area table {width: 100%;border: none;border-collapse: collapse;box-shadow: none;margin: 0;}
	div.wbtm_bus_list_area table th,
	div.wbtm_bus_list_area table td {border: none;vertical-align: middle;font-size: var(--fs_label);}
	div.wbtm_bus_list_area table thead th {background-color: var(--color_theme);color: var(--color_theme_alter);text-transform: capitalize;}
	div.wbtm_bus_list_area table tbody {background-color: rgba(168, 167, 167, 0.46);}
	div.wbtm_bus_list_area table tbody tr.bus_item_row td {border-top: 3px solid rgba(0, 0, 0, 0.2); }
	div.wbtm_selected_seat_details table tbody tr:nth-of-type(odd) th,
	div.wbtm_selected_seat_details table tbody tr:nth-of-type(odd) td,
	div.wbtm_bus_details_area table tbody tr:nth-of-type(odd) th,
	div.wbtm_bus_details_area table tbody tr:nth-of-type(odd) td {background-color: #e6f3ff;color: var(--d_color);text-align: left;}
	div.wbtm_selected_seat_details table tbody tr:nth-of-type(even) th,
	div.wbtm_selected_seat_details table tbody tr:nth-of-type(even) td,
	div.wbtm_bus_details_area table tbody tr:nth-of-type(even) th,
	div.wbtm_bus_details_area table tbody tr:nth-of-type(even) td {background-color: #fff);color: var(--d_color);text-align: left;}
	/**********************/
	div.wbtm_bus_list_area td.wbtm_bus_details {padding: 0;}
	/**********************/
	div.wbtm_form_submit_area,
	div.wbtm_ex_service_area {display: none;}
	/**********************/
	img.driver_img {max-width: 45px !important;}
}
/********************************************************************************************************************/
@media only screen and (min-width: 10px) {
	div.wbtm_bus_list_area div.wbtm_seat_plan_area table {width: auto !important; margin: 0 auto;}
	div.wbtm_bus_list_area div.wbtm_seat_plan_area table tr {background-color: var(--color_theme_alter);}
	div.wbtm_bus_list_area div.wbtm_seat_plan_area table th,
	div.wbtm_bus_list_area div.wbtm_seat_plan_area table td {min-height: 60px;text-align: center;height: 60px;width: 60px;background-color: var(--color_theme_alter);padding: 5px;min-width: 60px;}
	div.wbtm_bus_list_area div.wbtm_seat_plan_area table thead th {height: auto;}
	div.mp_driver_image {width: 50px;}
	/****************/
	div.mp_seat_item {position: relative;width: 100%;height: 100%; }
	div.mp_seat_item:hover div.seat_available {border-color: #006400;color: #006400;}
	div.mp_seat_item div.wbtm_seat_item_list {
		position: absolute;left: 0;top: 100%;min-width: 150px;display: none;z-index: 111; margin: 0;padding: 0;
		background-color: var(--color_light);border: 1px solid var(--color_theme);border-radius: var(--dBR);
	}
	div.mp_seat_item div.wbtm_seat_item_list li {cursor: pointer;padding: 5px var(--dMP_xs);}
	div.mp_seat_item div.wbtm_seat_item_list li:hover {background-color: var(--color_theme);color: var(--color_theme_alter);}
	div.mp_seat_item:hover div.wbtm_seat_item_list {display: block;}
	div.mp_seat_item div.wbtm_seat_item_list::before {
		position: absolute; content: ''; width: 20px; height: 20px; left: 15px; top: -20px;
		border: 10px solid transparent; border-bottom-color: var(--color_theme)
	}
	/****************/
	.wbtm_registration_area div.wbtm_item_hidden {display: none;}
	/****************/
	div.wbtm_seat_plan_area div.mp_seat {
		border: 1px solid var(--color_border);width: 100%;height: 100%;
		border-radius: var(--dBR);
		display: -webkit-flex;display: flex;
		-webkit-align-items: center;align-items: center;
		-webkit-justify-content: center;justify-content: center;
	}
	div.seat_available {background-color: #b6c1cc;cursor: pointer;color: var(--d_color);}
	div.seat_selected.seat_available,
	div.mp_seat_item:hover div.seat_selected.seat_available {background-color: #006400;color: var(--color_theme_alter);}
	div.seat_booked {cursor: not-allowed;background-color: #b92325;color: var(--color_theme_alter);}
	div.seat_reserve {cursor: not-allowed; background-color: #ffa903; color: var(--color_theme_alter);}
	div.seat_in_cart {cursor: not-allowed;background-color: #ffa903;color: var(--color_theme_alter);}
	/********************/
	div.wbtm_seat_plan_area table tr th:nth-last-child(2) div.wbtm_seat_item_list,
	div.wbtm_seat_plan_area table tr th:last-child div.wbtm_seat_item_list {right: 0;left: inherit;}
	div.wbtm_seat_plan_area table tr th:nth-last-child(2) div.wbtm_seat_item_list::before,
	div.wbtm_seat_plan_area table tr th:last-child div.wbtm_seat_item_list::before {left: inherit;right: 15px;}
	div.wbtm_seat_plan_area table tr:nth-last-child(2) th div.wbtm_seat_item_list,
	div.wbtm_seat_plan_area table tr:last-child th div.wbtm_seat_item_list {top: calc(-100% - 44px);}
	div.wbtm_seat_plan_area table tr:nth-last-child(2) th div.wbtm_seat_item_list::before,
	div.wbtm_seat_plan_area table tr:last-child th div.wbtm_seat_item_list::before {top: 100%; border-top-color: var(--color_theme); border-bottom-color: transparent;}
}
/********************************************************************************************************************/
@media only screen and (min-width: 10px) {
}

	div.wbtm_seat_plan_area div.mp_seat.seat_recommended {position: relative;}
	div.wbtm_seat_plan_area div.mp_seat.seat_recommended_1 {border: 2px solid #2e9f55;}
	div.wbtm_seat_plan_area div.mp_seat.seat_recommended_2 {border: 3px solid #2e9f55;}
	div.wbtm_seat_plan_area div.mp_seat.seat_recommended_3 {border: 4px solid #2e9f55;}
	div.wbtm_seat_plan_area div.mp_seat .seat_recommendation_icon {position:absolute;top:2px;right:4px;color:#d4af37;font-size:11px;line-height:1;font-weight:700;letter-spacing:-1px;pointer-events:none;}
	div.wbtm_seat_plan_area div.mp_seat.seat_selected .seat_recommendation_icon {color:#f1d36b;}
	div.wbtm_seat_recommendation_legend {display:flex;flex-wrap:wrap;gap:12px;margin:0 0 12px 0;align-items:center;font-size:13px;}
	div.wbtm_seat_recommendation_legend .legend_item {display:flex;align-items:center;gap:6px;color:var(--d_color);}
	div.wbtm_seat_recommendation_legend .legend_seat {display:inline-block;width:22px;height:22px;border-radius:4px;background:#b6c1cc;border:1px solid #8b98a5;position:relative;}
	div.wbtm_seat_recommendation_legend .legend_star_1 {border:2px solid #2e9f55;}
	div.wbtm_seat_recommendation_legend .legend_star_2 {border:3px solid #2e9f55;}
	div.wbtm_seat_recommendation_legend .legend_star_3 {border:4px solid #2e9f55;}

/* Extracity station/fare manager stop picker polish */
.mp_input_select_list.etc_staff_all_stops {
    max-height: 340px;
    overflow-y: auto;
}
.mp_input_select_list .etc_station_picker_hint {
    cursor: default !important;
    font-size: 12px;
    font-weight: 600;
    color: #3150A0;
    background: #f3f6ff;
    border-bottom: 1px solid #dfe6ff;
}
.mp_input_select_list .etc_station_picker_hint:hover {
    background: #f3f6ff;
}


/* Extracity v6.5 Chrome dropdown stacking fix
   Keeps the search form/dropdowns above the AJAX search-results panel after results render. */
#wbtm_area {
    position: relative;
    overflow: visible;
}
#wbtm_area .wbtm_search_area,
#wbtm_area .wbtm_search_area .mpForm,
#wbtm_area .wbtm_search_area .inputList,
#wbtm_area .wbtm_search_area .mp_input_select {
    overflow: visible;
}
#wbtm_area .wbtm_search_area {
    position: relative;
    z-index: 2147483000;
}
#wbtm_area .wbtm_search_result,
#wbtm_area .wbtm_search_result_holder,
#wbtm_area .wbtm_bus_search_result_holder,
#wbtm_area .wbtm_bus_list_area {
    position: relative;
    z-index: 1 !important;
}
#wbtm_area .mp_input_select {
    position: relative;
    z-index: 2147483001;
}
#wbtm_area .mp_input_select:focus-within,
#wbtm_area .mp_input_select.etc_dropdown_active {
    z-index: 2147483200;
}
#wbtm_area .mp_input_select .mp_input_select_list {
    z-index: 2147483300 !important;
}
#wbtm_area.etc_dropdown_open .wbtm_search_area {
    z-index: 2147483100;
}
#wbtm_area.etc_dropdown_open .wbtm_search_result,
#wbtm_area.etc_dropdown_open .wbtm_search_result_holder,
#wbtm_area.etc_dropdown_open .wbtm_bus_search_result_holder,
#wbtm_area.etc_dropdown_open .wbtm_bus_list_area {
    z-index: 1 !important;
}

/* Extracity v6.7 Station Picker UI
   Converts long stop lists into a searchable, grouped picker for desktop and mobile. */
#wbtm_area .mp_input_select .etc_station_picker_list {
    width: min(540px, 92vw);
    max-height: min(68vh, 520px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
    border: 1px solid rgba(49, 80, 160, 0.18);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.24);
    background: #fff;
}
#wbtm_area .mp_input_select .etc_station_picker_list li {
    border-bottom: 0;
    border-radius: 10px;
    margin: 2px 0;
}
#wbtm_area .mp_input_select .etc_station_picker_hint,
#wbtm_area .mp_input_select .etc_station_picker_group,
#wbtm_area .mp_input_select .etc_station_no_results {
    cursor: default !important;
    list-style: none;
}
#wbtm_area .mp_input_select .etc_station_picker_hint {
    position: sticky;
    top: -8px;
    z-index: 2;
    padding: 11px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #3150A0;
    background: #f3f6ff;
    border: 1px solid #dfe6ff;
    border-radius: 10px;
}
#wbtm_area .mp_input_select .etc_station_picker_group {
    padding: 12px 10px 6px;
    color: #64748b;
    background: transparent;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}
#wbtm_area .mp_input_select .etc_station_minor_group {
    color: #3150A0;
    border-top: 1px solid rgba(49, 80, 160, 0.14);
    margin-top: 6px;
    padding-top: 14px;
}
#wbtm_area .mp_input_select .etc_station_picker_option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    background: #fff;
    color: #0f172a;
}
#wbtm_area .mp_input_select .etc_station_picker_option:hover,
#wbtm_area .mp_input_select .etc_station_picker_option:focus {
    background: #3150A0;
    color: #fff;
}
#wbtm_area .mp_input_select .etc_station_picker_label {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 650;
}
#wbtm_area .mp_input_select .etc_station_picker_badge {
    flex: 0 0 auto;
    padding: 4px 7px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3150A0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}
#wbtm_area .mp_input_select .etc_station_picker_option:hover .etc_station_picker_badge {
    background: rgba(255,255,255,.18);
    color: #fff;
}
#wbtm_area .mp_input_select .etc_station_picker_badge.etc_public_badge {
    background: #ecfdf3;
    color: #15803d;
}
#wbtm_area .mp_input_select .etc_station_no_results {
    display: none;
    padding: 14px 12px;
    color: #64748b;
    background: #f8fafc;
    text-align: center;
    font-weight: 650;
}
#wbtm_area .mp_input_select.etc_dropdown_active input.formControl {
    border-color: #3150A0;
    box-shadow: 0 0 0 3px rgba(49,80,160,.14);
}
@media only screen and (min-width: 782px) {
    #wbtm_area .mp_input_select .etc_station_picker_list.etc_staff_all_stops {
        width: min(640px, 94vw);
    }
}
@media only screen and (max-width: 781px) {
    #wbtm_area .mp_input_select.etc_dropdown_active .etc_station_picker_list {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        top: 86px !important;
        width: auto !important;
        max-height: calc(100vh - 110px) !important;
        border-radius: 18px;
        padding: 10px;
        z-index: 2147483300 !important;
    }
    #wbtm_area .mp_input_select .etc_station_picker_option {
        min-height: 48px;
        padding: 12px 14px;
        font-size: 15px;
    }
    #wbtm_area .mp_input_select .etc_station_picker_hint {
        top: -10px;
        padding: 12px 14px;
        font-size: 12px;
    }
}


/* Extracity v6.9 pinned station shortcuts + premium glass booking form polish */
#wbtm_area .wbtm_search_area {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.12));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255,255,255,.22);
    backdrop-filter: blur(16px) saturate(132%);
    -webkit-backdrop-filter: blur(16px) saturate(132%);
    padding: 18px 20px;
}
#wbtm_area .wbtm_search_area .mpForm {
    display: grid;
    grid-template-columns: minmax(150px, 1.25fr) minmax(150px, 1.25fr) minmax(145px, 1fr) minmax(145px, 1fr) minmax(130px, .78fr);
    gap: 10px;
    align-items: stretch;
}
#wbtm_area .wbtm_search_area .inputList {
    min-width: 0;
    margin: 0;
}
#wbtm_area .wbtm_search_area label.fdColumn,
#wbtm_area .wbtm_search_area .fdColumn.fullHeight {
    height: 100%;
}
#wbtm_area .wbtm_search_area input.formControl,
#wbtm_area .wbtm_search_area .formControl {
    height: 46px;
    min-height: 46px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(255,255,255,.96);
    color: #0f172a;
    font-weight: 650;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .10);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
#wbtm_area .wbtm_search_area input.formControl::placeholder {
    color: #475569;
    font-weight: 600;
}
#wbtm_area .wbtm_search_area input.formControl:focus {
    border-color: #3150A0;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(49,80,160,.20), 0 14px 34px rgba(15,23,42,.14);
    transform: translateY(-1px);
}
#wbtm_area .wbtm_search_area ._themeButton_radius,
#wbtm_area .wbtm_search_area button.get_wbtm_bus_list,
#wbtm_area .wbtm_search_area button.wbtm_get_bus_list {
    height: 46px;
    min-height: 46px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #FFA903, #ff9800);
    color: #fff;
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow: 0 14px 34px rgba(255, 169, 3, .28);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
#wbtm_area .wbtm_search_area ._themeButton_radius:hover,
#wbtm_area .wbtm_search_area button.get_wbtm_bus_list:hover,
#wbtm_area .wbtm_search_area button.wbtm_get_bus_list:hover {
    transform: translateY(-1px);
    filter: saturate(1.06);
    box-shadow: 0 18px 42px rgba(255, 169, 3, .34);
}
#wbtm_area .mp_input_select .etc_station_picker_list {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
    border: 1px solid rgba(49, 80, 160, 0.20);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}
#wbtm_area .mp_input_select .etc_station_pinned_group {
    color: #a16207;
}
#wbtm_area .mp_input_select .etc_station_picker_option.etc_station_pinned {
    background: linear-gradient(135deg, #fff7ed, #ffffff);
    border: 1px solid rgba(255, 169, 3, .20);
}
#wbtm_area .mp_input_select .etc_station_picker_option.etc_station_pinned:hover,
#wbtm_area .mp_input_select .etc_station_picker_option.etc_station_pinned:focus {
    background: linear-gradient(135deg, #3150A0, #243f86);
    color: #fff;
}
#wbtm_area .mp_input_select .etc_station_picker_badge.etc_pinned_badge {
    background: rgba(255, 169, 3, .16);
    color: #b45309;
}
#wbtm_area .mp_input_select .etc_station_picker_option:hover .etc_pinned_badge,
#wbtm_area .mp_input_select .etc_station_picker_option:focus .etc_pinned_badge {
    background: rgba(255,255,255,.20);
    color: #fff;
}
#wbtm_area .wbtm_search_result table,
#wbtm_area .wbtm_search_result .wbtm_bus_list_area {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
}
@media only screen and (max-width: 1180px) {
    #wbtm_area .wbtm_search_area .mpForm {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #wbtm_area .wbtm_search_area .inputList:last-child {
        grid-column: 1 / -1;
    }
}
@media only screen and (max-width: 781px) {
    #wbtm_area .wbtm_search_area {
        padding: 14px;
        border-radius: 18px;
    }
    #wbtm_area .wbtm_search_area .mpForm {
        grid-template-columns: 1fr;
        gap: 9px;
    }
    #wbtm_area .wbtm_search_area input.formControl,
    #wbtm_area .wbtm_search_area .formControl,
    #wbtm_area .wbtm_search_area ._themeButton_radius,
    #wbtm_area .wbtm_search_area button.get_wbtm_bus_list,
    #wbtm_area .wbtm_search_area button.wbtm_get_bus_list {
        height: 48px;
        min-height: 48px;
        border-radius: 12px;
    }
    #wbtm_area .mp_input_select.etc_dropdown_active .etc_station_picker_list {
        top: auto !important;
        bottom: 12px !important;
        max-height: min(76vh, 620px) !important;
        border-radius: 22px;
        padding: 12px;
        box-shadow: 0 -18px 60px rgba(15, 23, 42, .32);
    }
}

/* Extracity v7.0 round-trip flow */
#wbtm_area .etc_round_trip_hint {display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;color:#173266;background:rgba(255,255,255,0.88);border:1px solid rgba(49,80,160,0.16);border-radius:18px;padding:14px 18px;}
#wbtm_area .etc_round_trip_hint strong {color:#3150A0;}
#wbtm_area .etc_round_trip_flow_panel {position:relative;z-index:3;background:linear-gradient(135deg,rgba(255,255,255,0.92),rgba(255,255,255,0.78));border:1px solid rgba(255,255,255,0.45);box-shadow:0 18px 48px rgba(0,0,0,0.22);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:22px;padding:18px;margin-bottom:18px;}
#wbtm_area .etc_round_trip_panel_head,#wbtm_area .etc_round_trip_total {display:flex;justify-content:space-between;align-items:center;gap:16px;}
#wbtm_area .etc_round_trip_kicker {display:inline-flex;text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:800;color:#3150A0;}
#wbtm_area .etc_round_trip_panel_head h4 {margin:2px 0 0;color:#17213b;}
#wbtm_area .etc_round_trip_edit_outbound {border:1px solid rgba(49,80,160,0.24);background:rgba(49,80,160,0.08);color:#3150A0;border-radius:999px;padding:9px 14px;font-weight:700;cursor:pointer;}
#wbtm_area .etc_round_trip_edit_outbound:hover {background:#3150A0;color:#fff;}
#wbtm_area .etc_round_trip_legs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px;}
#wbtm_area .etc_round_trip_leg {display:grid;gap:4px;padding:14px;border-radius:18px;background:rgba(255,255,255,0.72);border:1px solid rgba(49,80,160,0.12);}
#wbtm_area .etc_round_trip_leg strong {color:#111827;font-size:15px;}
#wbtm_area .etc_round_trip_leg span {color:#536179;}
#wbtm_area .etc_round_trip_leg.etc_pending {background:rgba(255,169,3,0.12);border-color:rgba(255,169,3,0.3);}
#wbtm_area .etc_leg_badge {width:fit-content;background:#3150A0;color:#fff !important;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;}
#wbtm_area .etc_round_trip_total {margin-top:14px;padding-top:14px;border-top:1px solid rgba(49,80,160,0.14);}
#wbtm_area .etc_round_trip_total span {font-weight:700;color:#536179;}
#wbtm_area .etc_round_trip_total strong {font-size:22px;color:#3150A0;}
#wbtm_area .etc_round_trip_return_heading {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px;padding:14px 18px;border-radius:18px;background:linear-gradient(135deg,rgba(49,80,160,0.95),rgba(37,61,125,0.95));color:#fff;box-shadow:0 14px 34px rgba(0,0,0,0.22);}
#wbtm_area .etc_round_trip_return_heading span {background:rgba(255,255,255,0.16);border-radius:999px;padding:5px 10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;font-size:11px;}
#wbtm_area .etc_round_trip_return_heading strong {font-size:18px;}
#wbtm_area .etc_round_trip_return_heading em {font-style:normal;opacity:.9;}
#wbtm_area .etc_booking_submit_bar {border-radius:18px;background:rgba(255,255,255,0.68);padding:12px 14px;border:1px solid rgba(49,80,160,0.10);}
#wbtm_area .etc_total_label {font-weight:700;color:#536179;margin-right:8px;}
#wbtm_area .etc_round_trip_submit.etc_processing {opacity:.78;cursor:wait;}
@media (max-width:768px){#wbtm_area .etc_round_trip_legs{grid-template-columns:1fr;}#wbtm_area .etc_round_trip_panel_head,#wbtm_area .etc_round_trip_total,#wbtm_area .etc_booking_submit_bar{align-items:stretch;flex-direction:column;}#wbtm_area .etc_round_trip_edit_outbound,#wbtm_area .etc_round_trip_submit{width:100%;}}

/* Extracity v7.6 return passenger reuse */
#wbtm_area .etc_return_passenger_reuse {
    margin: 10px 14px 0;
    padding: 12px 14px;
    border: 1px solid rgba(49, 80, 160, .14);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(49,80,160,.08), rgba(255,169,3,.08));
    box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
}
#wbtm_area .etc_return_passenger_reuse label {
    display: grid;
    gap: 6px;
    margin: 0;
}
#wbtm_area .etc_return_passenger_reuse span {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #3150A0;
}
#wbtm_area .etc_return_passenger_reuse select {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(49, 80, 160, .22);
    border-radius: 12px;
    padding: 8px 12px;
    background: rgba(255,255,255,.9);
    color: #17213b;
    font-weight: 700;
}
#wbtm_area .etc_return_passenger_reuse small {
    display: block;
    margin-top: 6px;
    color: #536179;
    font-size: 12px;
    line-height: 1.35;
}
@media (max-width: 768px) {
    #wbtm_area .etc_return_passenger_reuse {
        margin: 10px 10px 0;
        padding: 10px 12px;
    }
}

/* Extracity v7.7 mobile station picker viewport-safe positioning
   Keeps the mobile station list below the top browser/header area instead of clipping off-screen. */
@media only screen and (max-width: 781px) {
    #wbtm_area .mp_input_select.etc_dropdown_active .etc_station_picker_list {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        top: calc(env(safe-area-inset-top, 0px) + 88px) !important;
        bottom: auto !important;
        width: auto !important;
        max-height: calc(100svh - 118px - env(safe-area-inset-top, 0px)) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        border-radius: 22px;
        padding: 12px;
        z-index: 2147483300 !important;
        box-shadow: 0 18px 60px rgba(15, 23, 42, .34);
    }
}
@supports (height: 100dvh) {
    @media only screen and (max-width: 781px) {
        #wbtm_area .mp_input_select.etc_dropdown_active .etc_station_picker_list {
            max-height: calc(100dvh - 118px - env(safe-area-inset-top, 0px)) !important;
        }
    }
}
@media only screen and (max-width: 420px) {
    #wbtm_area .mp_input_select.etc_dropdown_active .etc_station_picker_list {
        left: 10px !important;
        right: 10px !important;
        top: calc(env(safe-area-inset-top, 0px) + 78px) !important;
        max-height: calc(100svh - 104px - env(safe-area-inset-top, 0px)) !important;
    }
}
@supports (height: 100dvh) {
    @media only screen and (max-width: 420px) {
        #wbtm_area .mp_input_select.etc_dropdown_active .etc_station_picker_list {
            max-height: calc(100dvh - 104px - env(safe-area-inset-top, 0px)) !important;
        }
    }
}

/* v7.8 station location detail display */
.etc-station-location-detail {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
    opacity: .78;
}

/* Extracity v8.1: Departure/Destination are select-only picker controls, not free-text inputs. */
#wbtm_area .wbtm_start_point input[name="bus_start_route"],
#wbtm_area .wbtm_dropping_point input[name="bus_end_route"] {
    cursor: pointer;
    caret-color: transparent;
}
