/* HighJet appearance: tokens + dark overlay. Tickets / QZ stay light. */
.hj-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(18, 55, 122, 0.08);
  vertical-align: middle;
}
.hj-theme-choice {
  border: 0;
  background: transparent;
  color: #242424;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.hj-theme-choice[aria-pressed="true"] {
  background: #12377A;
  color: #fff;
}
.hj-theme-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

html[data-theme="dark"] {
  --hj-bg: #12141a;
  --hj-surface: #1c2030;
  --hj-elevated: #252a3a;
  --hj-input: #161922;
  --hj-border: #374151;
  --hj-text: #e8eaed;
  --hj-muted: #9ca3af;
  --hj-accent: #4d8ed4;
  --hj-brand: #1551b7;
  --hj-price: #ff8a75;
}

html[data-theme="dark"] body {
  background: var(--hj-bg);
  color: var(--hj-text);
}
html[data-theme="dark"] .hj-theme-toggle {
  background: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .hj-theme-choice {
  color: var(--hj-text);
}
html[data-theme="dark"] .hj-theme-choice[aria-pressed="true"] {
  background: var(--hj-accent);
  color: var(--hj-bg);
}

html[data-theme="dark"] #mainNav,
html[data-theme="dark"] #mainNav.navbar-shrink {
  background: rgb(18 20 26 / 92%) 0% 0% no-repeat padding-box;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] #mainNav .navbar-collapse,
html[data-theme="dark"] #navbarResponsive {
  background: var(--hj-surface) !important;
  color: var(--hj-text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] #mainNav .navbar-nav .nav-item .nav-link,
html[data-theme="dark"] #mainNav .navbar-nav .nav-item .nav-link.lang,
html[data-theme="dark"] #mainNav .navbar-profile-name,
html[data-theme="dark"] .navbar-profile-name,
html[data-theme="dark"] #mainNav .dropdown-item,
html[data-theme="dark"] #mainNav .dropdown-item.preview-item,
html[data-theme="dark"] .dropdown-item,
html[data-theme="dark"] .preview-subject,
html[data-theme="dark"] .preview-item-content {
  color: var(--hj-text) !important;
}
html[data-theme="dark"] #mainNav .navbar-nav .nav-item .nav-link.active,
html[data-theme="dark"] #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #ff8a75 !important;
}
html[data-theme="dark"] #mainNav .nav-mobile-divider {
  border-top-color: var(--hj-border);
}
html[data-theme="dark"] .resbo_icon span {
  background-color: var(--hj-text);
}
html[data-theme="dark"] .preview-icon {
  background: rgba(77, 142, 212, 0.16);
}
html[data-theme="dark"] .navbar-profile-name,
html[data-theme="dark"] .title_color,
html[data-theme="dark"] .black_color,
html[data-theme="dark"] .section-heading,
html[data-theme="dark"] .font_s_27,
html[data-theme="dark"] .top_text,
html[data-theme="dark"] .color_333 {
  color: var(--hj-text);
}
html[data-theme="dark"] .section-subheading,
html[data-theme="dark"] .font_s_14,
html[data-theme="dark"] .desc_text,
html[data-theme="dark"] .desc_limit,
html[data-theme="dark"] .color_main {
  color: var(--hj-muted);
}
html[data-theme="dark"] .section-heading.color_main {
  color: var(--hj-text) !important;
}
html[data-theme="dark"] .trip_price,
html[data-theme="dark"] .trip_price.color_main,
html[data-theme="dark"] .trip_price span {
  color: var(--hj-price) !important;
}

html[data-theme="dark"] header.masthead {
  background-color: var(--hj-bg);
  color: var(--hj-text);
}

html[data-theme="dark"] .page-section,
html[data-theme="dark"] .bg-light,
html[data-theme="dark"] .bg_white,
html[data-theme="dark"] .bg_cont,
html[data-theme="dark"] .bg_cont_payment,
html[data-theme="dark"] .bg_contactus,
html[data-theme="dark"] .card,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .article-sidebar,
html[data-theme="dark"] .wallet_cont,
html[data-theme="dark"] .data_not_found,
html[data-theme="dark"] ._trip_details_data,
html[data-theme="dark"] .select_your_trip .bg_cont {
  background-color: var(--hj-surface) !important;
  color: var(--hj-text);
  border-color: var(--hj-border);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .bg_cont h3,
html[data-theme="dark"] ._trip_details_data_head span {
  color: var(--hj-text) !important;
}
html[data-theme="dark"] ._trip_details_data_head {
  border-bottom-color: var(--hj-border);
}
html[data-theme="dark"] .bg_cont .nav-tabs .nav-link {
  background: var(--hj-elevated);
  color: var(--hj-accent);
}
html[data-theme="dark"] .bg_cont .nav-tabs .nav-link path {
  stroke: var(--hj-accent) !important;
}
html[data-theme="dark"] .bg_cont .nav-tabs .nav-link.active,
html[data-theme="dark"] .bg_cont .nav-tabs .nav-link:hover {
  background: var(--hj-accent);
  color: #fff;
}
html[data-theme="dark"] .bg_cont .nav-tabs .nav-link.active path,
html[data-theme="dark"] .bg_cont .nav-tabs .nav-link:hover path {
  stroke: #fff !important;
}
html[data-theme="dark"] .count_result {
  color: var(--hj-text);
  background: transparent;
}
html[data-theme="dark"] .passenger_count div,
html[data-theme="dark"] .increase,
html[data-theme="dark"] .decrease {
  background-color: var(--hj-elevated);
  color: var(--hj-text);
  border-color: var(--hj-border);
}
html[data-theme="dark"] .dis_btn {
  background-color: #3a4154;
  color: var(--hj-muted);
}

/* Website fields stay underline (not full-bleed slabs). Login .input100 stays filled. */
html[data-theme="dark"] .form-control,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .form_main textarea,
html[data-theme="dark"] .coupon_form .form-control,
html[data-theme="dark"] .select2-container:not(.select_branch_li) .select2-selection,
html[data-theme="dark"] .select2-container--default:not(.select_branch_li) .select2-selection--single,
html[data-theme="dark"] .select2-container--default:not(.select_branch_li) .select2-selection--multiple {
  background-color: transparent !important;
  color: var(--hj-text) !important;
  border-color: transparent !important;
  border-bottom-color: var(--hj-border) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .input100 {
  background-color: var(--hj-input) !important;
  color: var(--hj-text) !important;
  border-color: var(--hj-border) !important;
}
html[data-theme="dark"] .form-control::placeholder,
html[data-theme="dark"] .input100::placeholder {
  color: var(--hj-muted) !important;
}
html[data-theme="dark"] .select2-container--default:not(.select_branch_li) .select2-selection--single .select2-selection__rendered,
html[data-theme="dark"] .select2-container--default:not(.select_branch_li) .select2-selection--single .select2-selection__placeholder {
  color: var(--hj-text) !important;
}
html[data-theme="dark"] .select2-dropdown,
html[data-theme="dark"] .select2-container--open .select2-dropdown--below,
html[data-theme="dark"] .select2-container--open .select2-dropdown--above,
html[data-theme="dark"] .select2-container--default .select2-results__option {
  background-color: var(--hj-surface) !important;
  color: var(--hj-text) !important;
  border-color: var(--hj-border) !important;
}
html[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected],
html[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: var(--hj-brand) !important;
  color: #fff !important;
}
html[data-theme="dark"] .select2-container--default .select2-search--dropdown .select2-search__field {
  background-color: var(--hj-elevated) !important;
  color: var(--hj-text) !important;
  border-color: var(--hj-border) !important;
}
html[data-theme="dark"] select option {
  background-color: var(--hj-surface);
  color: var(--hj-text);
}

/* Branch pill + open menu share one fill (closed field was --hj-input, menu was --hj-surface). */
html[data-theme="dark"] .select_branch .select2,
html[data-theme="dark"] .select_branch select,
html[data-theme="dark"] .select_branch .select2-container .select2-selection,
html[data-theme="dark"] .select2-container.select_branch_li .select2-selection,
html[data-theme="dark"] .select2-container.select_branch_li .select2-selection--single {
  background: var(--hj-accent) !important;
  border-color: var(--hj-accent) !important;
  color: #fff !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .select_branch .select2-container--default .select2-selection--single .select2-selection__rendered,
html[data-theme="dark"] .select_branch .select2-container--default .select2-selection--single .select2-selection__placeholder,
html[data-theme="dark"] .select2-container.select_branch_li .select2-selection__rendered,
html[data-theme="dark"] .select2-container.select_branch_li .select2-selection__placeholder {
  color: #fff !important;
}
html[data-theme="dark"] .select_branch .select2-dropdown,
html[data-theme="dark"] .select2-dropdown.select_branch_dropdown,
html[data-theme="dark"] .select_branch_dropdown.select2-dropdown,
html[data-theme="dark"] .select_branch_dropdown {
  background: var(--hj-accent) !important;
  color: #fff !important;
  border-color: var(--hj-accent) !important;
  max-width: 250px !important;
}
html[data-theme="dark"] .select_branch .select2-results__option,
html[data-theme="dark"] .select_branch_dropdown .select2-results__option,
html[data-theme="dark"] .select_branch_dropdown .select2-results__option--selectable {
  background: transparent !important;
  color: #fff !important;
}
html[data-theme="dark"] .select_branch .select2-results__option--highlighted[aria-selected],
html[data-theme="dark"] .select_branch .select2-results__option[aria-selected="true"],
html[data-theme="dark"] .select_branch_dropdown .select2-results__option--highlighted[aria-selected],
html[data-theme="dark"] .select_branch_dropdown .select2-results__option[aria-selected="true"] {
  background: rgba(0, 0, 0, 0.22) !important;
  color: #fff !important;
}
html[data-theme="dark"] .select_branch .select2-search--dropdown .select2-search__field,
html[data-theme="dark"] .select_branch_dropdown .select2-search__field {
  background: rgba(0, 0, 0, 0.18) !important;
  color: #fff !important;
  border-color: transparent !important;
}
html[data-theme="dark"] .ui-datepicker,
html[data-theme="dark"] .ui-widget-content,
html[data-theme="dark"] .ui-datepicker-header {
  background: var(--hj-surface) !important;
  color: var(--hj-text) !important;
  border-color: var(--hj-border) !important;
}
html[data-theme="dark"] .ui-datepicker td a,
html[data-theme="dark"] .ui-datepicker td span {
  color: var(--hj-text) !important;
}

html[data-theme="dark"] .table {
  color: var(--hj-text);
  box-shadow: none;
}
html[data-theme="dark"] .table thead th {
  background-color: var(--hj-elevated) !important;
  color: var(--hj-text) !important;
}
html[data-theme="dark"] .table tbody td,
html[data-theme="dark"] #schedule .table tbody td,
html[data-theme="dark"] #schedule .table tbody td[rowspan] {
  background-color: var(--hj-surface) !important;
  color: var(--hj-text) !important;
}
html[data-theme="dark"] .table tbody tr:nth-of-type(odd) td,
html[data-theme="dark"] #schedule .table tbody tr:nth-of-type(odd) td {
  background-color: var(--hj-elevated) !important;
}
html[data-theme="dark"] h2,
html[data-theme="dark"] #schedule h2 {
  color: var(--hj-text) !important;
}
html[data-theme="dark"] #schedule_date {
  background-color: var(--hj-input) !important;
  color: var(--hj-text) !important;
  border-color: var(--hj-border) !important;
}
html[data-theme="dark"] .phone_num,
html[data-theme="dark"] .primary_color,
html[data-theme="dark"] .sime_bold.primary_color {
  color: var(--hj-accent) !important;
}
html[data-theme="dark"] .table tbody td[rowspan],
html[data-theme="dark"] #schedule .table tbody td[rowspan] {
  background-color: var(--hj-surface) !important;
}
html[data-theme="dark"] .last-row td,
html[data-theme="dark"] td[rowspan] {
  border-bottom-color: var(--hj-border) !important;
}
html[data-theme="dark"] .schedule-night-note {
  color: var(--hj-muted) !important;
}
html[data-theme="dark"] .schedule-office-map,
html[data-theme="dark"] .schedule-office-map svg path,
html[data-theme="dark"] .schedule-office-arrow svg path {
  color: var(--hj-accent);
  fill: var(--hj-accent);
  stroke: var(--hj-accent);
}

html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .bg_main {
  background-color: var(--hj-accent) !important;
  border-color: var(--hj-accent) !important;
  color: #fff !important;
}
html[data-theme="dark"] .loader-wrapper .loader-section {
  background: #12141af2;
}
html[data-theme="dark"] .hj-bot-root {
  --hj-bot-surface: #1c2030;
  --hj-bot-bot-bg: #252a3a;
  --hj-bot-border: #374151;
  --hj-bot-muted: #9ca3af;
  --hj-bot-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .divider-text span,
html[data-theme="dark"] .focus-input100 {
  background-color: var(--hj-surface);
  color: var(--hj-muted);
}
html[data-theme="dark"] .footer {
  background: var(--hj-surface) 0% 0% no-repeat padding-box;
  color: var(--hj-text);
}
html[data-theme="dark"] .footer-copyright {
  background: var(--hj-bg);
  color: var(--hj-muted);
}
html[data-theme="dark"] .bg_cont_payment hr {
  background: var(--hj-border);
}

/* ID+!important light slabs on Home (about / services / app info). */
html[data-theme="dark"] #about,
html[data-theme="dark"] #applications,
html[data-theme="dark"] section#services,
html[data-theme="dark"] .bg_abs {
  background-color: var(--hj-bg) !important;
  background-image: none !important;
  color: var(--hj-text);
}
html[data-theme="dark"] .page-section.bg-parallax {
  background-color: transparent !important;
  box-shadow: none;
}
html[data-theme="dark"] .bg-parallax:after {
  background: rgb(18 20 26 / 72%);
}
html[data-theme="dark"] .bg-location_box,
html[data-theme="dark"] .trip_item,
html[data-theme="dark"] .hj-office-trip-card {
  background: var(--hj-elevated) !important;
  color: var(--hj-text);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .second_color,
html[data-theme="dark"] .color_third,
html[data-theme="dark"] .trip_time {
  color: var(--hj-text) !important;
}
html[data-theme="dark"] .hj-otc__line,
html[data-theme="dark"] .border_bottom:before {
  border-color: var(--hj-accent);
}
html[data-theme="dark"] .trip_item [fill="#343434"] {
  fill: var(--hj-text) !important;
}
html[data-theme="dark"] #applications {
  --hj-map-navy: var(--hj-accent);
  --hj-map-label: var(--hj-accent);
  --hj-map-path: rgba(77, 142, 212, 0.45);
  --hj-map-path-soft: rgba(77, 142, 212, 0.22);
}

/* Navy #12377A / #13377a / #13367A text → readable accent on dark. */
html[data-theme="dark"] .primary_color,
html[data-theme="dark"] .form_main .primary_color,
html[data-theme="dark"] .title_color,
html[data-theme="dark"] .secondary_color,
html[data-theme="dark"] .blue_color,
html[data-theme="dark"] .hj-office-field-hint,
html[data-theme="dark"] .hj-office-opt-name,
html[data-theme="dark"] .hj-office-opt-hint,
html[data-theme="dark"] .hj-app-map__label,
html[data-theme="dark"] .hj-app-map__pin:not(.hj-app-map__pin--red),
html[data-theme="dark"] .phone_num,
html[data-theme="dark"] .border_radi_100 i,
html[data-theme="dark"] #login .modal-header,
html[data-theme="dark"] #request_shipment .modal-header,
html[data-theme="dark"] ._trip_details_data_head span {
  color: var(--hj-accent) !important;
}
html[data-theme="dark"] .form_main .form-label,
html[data-theme="dark"] .form-label,
html[data-theme="dark"] .bold_label,
html[data-theme="dark"] .passenger_title {
  color: var(--hj-muted) !important;
}
html[data-theme="dark"] .icon-date-svgrepo-com:before,
html[data-theme="dark"] .icon-Group-1267 .path1:before,
html[data-theme="dark"] .mdi-wallet:before,
html[data-theme="dark"] .mdi-profile:before,
html[data-theme="dark"] .mdi-logout:before,
html[data-theme="dark"] .mdi-bus:before {
  color: var(--hj-accent);
}
html[data-theme="dark"] [fill="#12377a"],
html[data-theme="dark"] [fill="#12377A"],
html[data-theme="dark"] [fill="#13377a"],
html[data-theme="dark"] [fill="#13367A"] {
  fill: var(--hj-accent) !important;
}
html[data-theme="dark"] .bg_cont .nav-tabs .nav-link path,
html[data-theme="dark"] .hj-app-map [stroke],
html[data-theme="dark"] .hj-app-map__path {
  stroke: var(--hj-accent) !important;
}
html[data-theme="dark"] .bg_cont .nav-tabs .nav-link.active path,
html[data-theme="dark"] .bg_cont .nav-tabs .nav-link:hover path {
  stroke: #fff !important;
}

html[data-theme="dark"] .select_seat_modal .modal-dialog,
html[data-theme="dark"] .select_seat_modal .modal-content,
html[data-theme="dark"] #select_seat_modal .modal-dialog,
html[data-theme="dark"] #select_seat_modal .modal-content,
html[data-theme="dark"] .hj-seat-popup,
html[data-theme="dark"] .hj-seat-map,
html[data-theme="dark"] #office_seat_picker,
html[data-theme="dark"] #busSeatsRender {
  background: var(--hj-surface) !important;
  color: var(--hj-text);
  color-scheme: dark;
  box-shadow: none;
}
html[data-theme="dark"] .select_seats_form .num_seat,
html[data-theme="dark"] #office_seat_picker .num_seat {
  color: var(--hj-accent) !important;
}
html[data-theme="dark"] .selected .num_seat,
html[data-theme="dark"] #office_seat_picker .seat-group-0 .num_seat,
html[data-theme="dark"] #office_seat_picker .seat-group-1 .num_seat,
html[data-theme="dark"] #office_seat_picker .seat-group-2 .num_seat,
html[data-theme="dark"] #office_seat_picker .seat-group-3 .num_seat,
html[data-theme="dark"] #office_seat_picker .seat-group-4 .num_seat,
html[data-theme="dark"] #office_seat_picker .seat-group-5 .num_seat,
html[data-theme="dark"] #office_seat_picker .seat-group-6 .num_seat,
html[data-theme="dark"] #office_seat_picker .seat-group-7 .num_seat {
  color: #fff !important;
}
html[data-theme="dark"] .select_seats_form [stroke="#12377A"],
html[data-theme="dark"] .select_seats_form [stroke="#12377a"],
html[data-theme="dark"] #office_seat_picker [stroke="#12377A"],
html[data-theme="dark"] #office_seat_picker [stroke="#12377a"] {
  stroke: var(--hj-accent) !important;
}
html[data-theme="dark"] .select_seats_form .form-check-inline.selected:not([class*="seat-group-"]) path {
  fill: var(--hj-accent);
}
html[data-theme="dark"] .available .seat_staus {
  background: transparent;
  border-color: var(--hj-accent);
}
html[data-theme="dark"] .selected .seat_staus {
  background: var(--hj-accent);
  border-color: var(--hj-accent);
}
html[data-theme="dark"] .unavailable .seat_staus {
  background: #3a4154;
  border-color: #3a4154;
}

html[data-theme="dark"] .loc_cont svg path {
  fill: var(--hj-accent) !important;
}
html[data-theme="dark"] .btn-social.bg_main path {
  fill: #fff !important;
}
html[data-theme="dark"] .upcoming_trips,
html[data-theme="dark"] .past_trips {
  background: var(--hj-surface) !important;
  color: var(--hj-text);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .closed_branch {
  color: var(--hj-price) !important;
}
html[data-theme="dark"] .branch_item,
html[data-theme="dark"] .card_trip {
  color: var(--hj-muted);
}
html[data-theme="dark"] .request_shipment_modal .modal-content {
  background: var(--hj-surface) !important;
  color: var(--hj-text);
}

/* Tickets and print stay light. */
html[data-theme="dark"] [data-ticket-surface="screen-preview"],
html[data-theme="dark"] [data-ticket-surface="qz-print-source"],
html[data-theme="dark"] .design_print {
  color-scheme: light;
  background-color: #fff;
  color: #262626;
}
