/* ============================================================
   20-legacy-pages.css                                    FROZEN
   ------------------------------------------------------------
   Page- and feature-specific legacy styling: fuel management,
   tanks, pumps and nozzles, the login form, travel and booking,
   flight cards, POS and Quick POS, the bay grid, state indicator
   panels, map components, telematics, CCTV, visitor access, the
   invoice upload animation, dashboard sidebars, breadcrumbs, and
   the numbered "fix" sections that accumulated after them.

   Also holds most of the #MainContent_* ID selectors - styling
   bound to ASP.NET generated client IDs. Rename a control, move
   it to another naming container, or change the ContentPlaceHolder
   ID and the styling dies silently with no error. They are being
   retired one at a time in favour of a CssClass on the control.

   NOTHING NEW GOES IN HERE.

   Same as 10-legacy-core.css: this file shrinks as pages move to
   the vx- components, and is deleted once it is empty.

   Need to change something here? Ask first.
   ============================================================ */

   27. SEARCH TOOLBAR & FILTER PANEL
   ============================================================ */

.search-toolbar-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    min-width: 0;
    margin-top: 0px;
}

    .search-toolbar-container input[type="image"],
    .search-toolbar-container input[type="text"] {
        display: inline-block;
        vertical-align: middle;
        height: 33px !important;
        line-height: 1;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        margin-bottom: 0px;
    }

    .search-toolbar-container input[type="text"] {
        padding: 4px 8px;
        font-size: 14px;
        width: 200px;
        min-width: 100px;
        height: 33px !important;
    }

.add-button {
    height: 30px !important;
    width: 30px !important;
    margin-right: 15px !important;
}

.search-icon {
    height: 40px !important;
    width: auto !important;
}

/* Override: search-icon for main searchbar area */
.search-icon {
    height: 50px;
}

.search-box {
    height: 40px !important;
}

#btnTankAdd {
    height: 48px !important;
    width: 48px !important;
    vertical-align: middle;
}

.search-filter-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    list-style: none;
}

.search-filters-button {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    margin-top: 22px !important;
    cursor: pointer !important;
    padding-bottom: 10px !important;
    display: inline-flex !important;
    border-radius: 4px;
    transition: background 0.2s;
}

.search-filter-arrow {
    fill: currentColor;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -6px;
    left: -10px;
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

    .search-filter-arrow.rotate {
        transform: rotate(90deg);
    }

.filters-panel.collapse {
    display: none;
}

.filters-container {
    background: #fff;
    border: 1px solid #c8cacd;
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(6, 5, 24, 0.06);
    overflow: hidden;
}

.advanced-filters-title {
    font-family: "lato", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #111827;
    padding: 14px 20px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.collapsable-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.collapsable-filters-checkboxes-wrapper {
    padding: 16px 20px 20px 20px;
}

.collapsable-filters-default-form-wrapper {
    padding: 8px 0 20px 20px;
}

.location-pin {
    cursor: pointer;
    margin-top: 15px;
    transition: filter 0.3s ease;
    filter: brightness(0) saturate(100%) invert(5%) sepia(20%) saturate(5000%) hue-rotate(205deg) brightness(50%) contrast(110%);
}

    .location-pin:hover {
        filter: brightness(0) saturate(100%) invert(53%) sepia(12%) saturate(1494%) hue-rotate(162deg) brightness(94%) contrast(91%);
    }

.location-home {
    cursor: pointer;
    margin-left: -20px;
    margin-top: 14px;
    transition: filter 0.3s ease;
    filter: brightness(0) saturate(100%) invert(5%) sepia(20%) saturate(5000%) hue-rotate(205deg) brightness(50%) contrast(110%);
}

    .location-home:hover {
        filter: brightness(0) saturate(100%) invert(53%) sepia(12%) saturate(1494%) hue-rotate(162deg) brightness(94%) contrast(91%);
    }


/* ============================================================
   28. FUEL MANAGEMENT
   ============================================================ */

#gmpFuelOverviewMap {
    border-radius: 10px;
    overflow: hidden;
    width: 100px;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3), 0px 0px 3px rgba(225, 225, 225, 0.3);
}

#MainContent_pOverviewMap .padding_10 {
    margin-top: 0px !important;
    padding-bottom: 30px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    margin-bottom: 10px;
}

#MainContent_pTanks,
#MainContent_pPump,
#MainContent_pNozzle,
#MainContent_pTanksMobile,
#MainContent_pOverviewMap {
    margin-top: 0px !important;
    padding-top: 0px;
}

#pFuelManagerEvents {
    width: 100%;
    height: 500px;
    background-color: #BCBCBC;
}

@media (max-width: 1178px) {
    #MainContent_btnTankAdd,
    #MainContent_btnTanksMobileAdd,
    #MainContent_btnPumpAdd,
    #MainContent_btnAddNozzle {
        margin-left: 0px !important;
        margin-top: 0px;
    }
}

@media (min-width: 1179px) {
    #MainContent_btnTankAdd,
    #MainContent_btnTanksMobileAdd,
    #MainContent_btnPumpAdd,
    #MainContent_btnAddNozzle {
        margin-left: 0px !important;
    }
}

#MainContent_btnTankAdd,
#MainContent_btnTanksMobileAdd,
#MainContent_btnPumpAdd,
#MainContent_btnAddNozzle,
#MainContent_btnAutoStopAdd,
#MainContent_btnUserFuelTask {
    padding: 0px;
    margin-right: 10px;
}


/* ============================================================
   29. TANK / PUMP / NOZZLE CARDS
   ============================================================ */

/* Blue box info text */
.blue-box-info {
    text-align: left;
    font-size: 11px;
    font-weight: 900;
    padding-top: 10px;
    line-height: 10px;
    width: 100%;
    border-radius: 20px;
    padding-left: 11px;
}

@media (max-width: 595px) {
    .blue-box-info {
        padding-left: 25%;
    }
}

/* Fuel details text inside card */
.fuel-details {
    border-radius: 20px;
    text-align: left;
    font-size: 11px;
    line-height: 10px;
    padding-top: 10px;
    padding-left: 11px;
    font-weight: 900;
}

@media (max-width: 595px) {
    .fuel-details {
        padding-left: 25%;
    }
}

/* Tank section card */
.tank-section {
    width: 200px;
    height: 180px;
    border-radius: 10px;
    padding: 10px;
    font-size: 8px;
    font-weight: bold;
    background-color: cornflowerblue;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .tank-section table {
        width: 100%;
        height: 100%;
    }

    .tank-section .tank-image {
        height: 80px;
        width: 100%;
        padding: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .tank-section .details {
        border-radius: 20px;
        text-align: left;
        font-size: 10px;
        padding-left: 10px;
        font-weight: bolder;
    }


/* ============================================================
   30. OVERVIEW TANK
   ============================================================ */

.overview-tank {
    height: 215px;
    display: inline-block;
    border-radius: 10px;
    padding: 10px;
    font-size: 8px;
    font-weight: bold;
    background-color: cornflowerblue;
    border-width: thin;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3), 0px 0px 3px rgba(225, 225, 225, 0.3);
}

.summary-header {
    text-align: center;
}

.summary-text {
    font-size: 14px;
    font-weight: 800;
}

.image-container {
    height: 80px;
    padding: 10px;
    text-align: center !important;
}

.tank-image {
    width: 180px;
    height: 60px;
}


/* ============================================================
   31. LOGIN FORM
   ============================================================ */

/* (Login form input styles are in section 12 under #loginForm) */


/* ============================================================
   32. TRAVEL ASSISTANT & BOOKING FORM
   ============================================================ */

.travel-assistant-nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 10px;
    list-style: none;
    background-color: white;
    padding-top: 20px;
}

@media (max-width: 1479.98px) {
    .tab-nav {
        overflow-x: auto;
        overflow-y: hidden;
    }
}

.tab-nav-rounded .travel-nav-link {
    padding: 0px;
}

.travel-nav-link {
    display: block;
    padding: 0.438rem 1rem;
    text-decoration: none;
}

    .travel-nav-link:hover {
        text-decoration: none !important;
    }

    .travel-nav-link.active,
    .travel-nav-link.collapsible:hover {
        background-color: transparent !important;
    }

/* Tab icons */
.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    margin-top: 0;
    width: 100%;
    border-bottom: 0.5px solid #dddcd6;
    /* Bleed out of parent padding */
    width: calc(100% + 40px); /* double the container's horizontal padding */
    margin-left: -20px; /* match container's padding-left */
    margin-right: -20px; /* match container's padding-right */
    margin-top: -20px; /* match container's padding-right */
}

    /* Ensure the flight-timeline-outer fills the tabs flex container */
    .tabs > .flight-timeline-outer {
        width: 100%;
        flex: 1;
    }

    /* Ensure the flight-timeline-wrapper inside .tabs fills its container */
    .tabs .flight-timeline-outer > .flight-timeline-wrapper {
        width: 100%;
    }

    /* The travel-assistant-nav inside .tabs/.flight-timeline-wrapper:
   centre the icons as a group using flex justify-content */
    .tabs .flight-timeline-wrapper > .travel-assistant-nav,
    .tabs .flight-timeline-wrapper .travel-assistant-nav {
        justify-content: center;
        margin: 0 auto;
    }

/* ── Tab circle icons (new style matching site design) ── */

.tab-item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 8px 12px 10px;
    cursor: pointer;
}

.tab-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ebebf3;
    transition: background 0.15s, box-shadow 0.15s;
    flex-shrink: 0;
}

    .tab-circle i {
        font-size: 19px;
        color: #4a4878;
        transition: color 0.15s;
        line-height: 1;
    }

/* Hover state */
.travel-nav-link:not(.active):hover .tab-circle {
    background: #dddcef;
}

    .travel-nav-link:not(.active):hover .tab-circle i {
        color: #2a2d5a;
    }

/* Active / selected state */
.tab-circle--active {
    background: #2a2d5a !important;
}

    .tab-circle--active i {
        color: #ffffff !important;
    }

.tabtext {
    font-size: 12px;
    text-align: center;
    color: #555;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

.travel-nav-link.active .tabtext {
    color: #2a2d5a;
    font-weight: 600;
}

.travel-nav-link:not(.active):hover .tabtext {
    color: #2a2d5a;
}

/* Legacy .tab-icon kept for any other pages that still use it */
.tab-icon {
    font-size: 25px;
    color: #fafafc;
    cursor: pointer;
    transition: color 0.3s;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}


    .tab-icon:hover {
        color: #42387d;
        text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    }

/* Booking form wrapper */
.booking-wrapper {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
    margin-top: -60px;
    max-width: 80%;
    position: relative;
    z-index: 2;
}

.booking-form {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-right: -90px;
    height: 67px;
}

.form-row {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
    justify-content: space-between;
}

.booking-input, .booking-select {
    width: 100%;
    padding: 10px 10px 10px 35px;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #757575;
}

.input-icon {
    position: absolute;
    left: 1px;
    color: #555;
}

.booking-search-btn {
    background-color: #4882B3;
    color: #fff;
    padding: 2px 24px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .booking-search-btn:hover {
        background-color: #0056b3;
    }

/* ═══════════════════════════════════════════════════════════════════
   VX SEARCH BAR PILL  — unified filter bar for all booking tabs
   Matches the CANParameterLink vx-card / vx-field design language
   ═══════════════════════════════════════════════════════════════════ */

.vx-searchbar-pill {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #c8cacd;
    border-radius: 12px;
    overflow: visible; /* allow dropdowns to escape */
    box-shadow: 0 2px 12px rgba(72, 130, 179, 0.10);
    width: 1250px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Each field segment */
.vx-sbp-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 16px 9px;
    flex: 1;
    min-width: 90px;
    cursor: text;
    transition: background 0.13s;
    position: relative;
}

    .vx-sbp-field:hover {
        background: #f0f6fc;
    }

.vx-sbp-field--date {
    min-width: 140px;
    flex: 1.2;
}

.vx-sbp-field--narrow {
    flex: 0 0 auto;
    min-width: 64px;
    max-width: 84px;
}

.vx-sbp-field--dest {
    flex: 1.6;
}

/* Label row — same uppercase style as vx-field__label in CANParameterLink */
.vx-sbp-label {
    font-family: "lato", sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4882B3;
    margin-bottom: 3px;
    white-space: nowrap;
    user-select: none;
}

/* Input value — matches vx-field inputs in CANParameterLink */
.vx-sbp-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: "lato", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1B2A7B;
    width: 100%;
    line-height: 1.4;
}

    .vx-sbp-input::placeholder {
        color: #a0aec0;
        font-weight: 400;
    }

    .vx-sbp-input[type="date"] {
        min-width: 110px;
    }

    .vx-sbp-input[type="number"] {
        -moz-appearance: textfield;
    }

        .vx-sbp-input[type="number"]::-webkit-inner-spin-button,
        .vx-sbp-input[type="number"]::-webkit-outer-spin-button {
            opacity: 0.4;
        }

/* Select inside pill */
.vx-sbp-select {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* Thin vertical divider between fields */
.vx-sbp-divider {
    width: 1px;
    background: #d8e4ef;
    align-self: stretch;
    margin: 9px 0;
    flex-shrink: 0;
}

/* Swap arrow icon between Origin and Destination */
.vx-sbp-swap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    flex-shrink: 0;
    color: #4882B3;
    cursor: pointer;
    transition: background 0.13s, color 0.13s;
}

    .vx-sbp-swap:hover {
        background: #e3eef8;
        color: #1B2A7B;
    }

/* Search button — keeps existing vx-btn-search look, flush on right edge */
.vx-sbp-search-btn {
    border-radius: 0 10px 10px 0 !important;
    width: 50px !important;
    height: auto !important;
    align-self: stretch !important;
    margin: 0 !important;
    flex-shrink: 0;
}

/* Dropdown list positioned correctly inside pill */
.vx-sbp-field--dest .dropdown-list {
    top: 100%;
    left: 0;
    z-index: 999;
}

/* Responsive */
@media (max-width: 720px) {
    .vx-searchbar-pill {
        flex-direction: column;
        border-radius: 12px;
        overflow: hidden;
    }

    .vx-sbp-divider {
        width: auto;
        height: 1px;
        margin: 0 12px;
    }

    .vx-sbp-swap {
        width: auto;
        padding: 6px 16px;
        justify-content: flex-start;
    }

    .vx-sbp-field--narrow,
    .vx-sbp-field--dest {
        max-width: 100%;
        flex: 1;
    }

    .vx-sbp-search-btn {
        border-radius: 0 0 10px 10px !important;
        width: 100% !important;
        height: 50px !important;
    }
}
/* ══════════════════════════════════════════════════════════════════ */

.destination-dropdown {
    position: relative;
}

.dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

    .dropdown-list div {
        padding: 0.375rem 1.1rem;
        cursor: pointer;
        transition: background 0.2s ease;
        font-size: 13px;
        font-weight: 500;
        color: #1B2A7B;
    }

        .dropdown-list div:hover {
            background-color: #f1f1f1;
        }

/* Booking result / map / filter containers */
.booking-result-container {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    background-color: #FAFAFC;
    border: 1px solid #bfbfbf;
    box-shadow: none;
    height: 150px;
    margin-top: 8px;
}

.booking-map-container {
    display: flex;
    border-radius: 10px;
    height: 215px;
    width: 250px;
    overflow: hidden;
    margin: 20px;
    margin-bottom: 0px;
    margin-left: 17px;
    margin-right: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #FAFAFC;
    min-width: 310px;
}

.booking-filters-container {
    display: block;
    border-radius: 10px;
    height: auto;
    width: 250px;
    overflow: hidden;
    margin: 20px;
    margin-top: 33px !important;
    margin-left: 17px;
    margin-right: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #FFF;
    min-width: 310px;
    padding-bottom: 31px;
}

/* Travel image card */
.travel-image-container {
    border-top-left-radius: 10px;
    overflow: hidden;
    height: fit-content;
    margin-right: 20px;
    outline: 1px auto #ededed;
    width: auto;
}

.travel-image {
    border-top-left-radius: 10px;
    overflow: hidden;
    height: 150px;
    width: 150px;
    padding: 20px;
}

.travel-image-small {
    border-top-left-radius: 10px;
    overflow: hidden;
    height: 50px;
    width: 50px;
    padding: 5px;
}

/* Travel property info */
#travel-container-property-type {
    color: #204059;
    font-family: "lato", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 13px;
    padding-top: 10px;
    margin: 0px;
}

#travel-container-property-cost {
    color: #4882B3;
    font-family: "lato", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 22px;
    margin-left: 0px;
    padding-bottom: 0px;
    margin-top: -20px;
    margin-bottom: -20px;
}

#travel-container-property-size {
    color: #204059;
    font-family: "lato", sans-serif;
    font-weight: 500;
}

/* Plus icon */
.plus-icon-bottom-travel {
    width: 25px;
    height: 25px;
    padding-left: 2px;
    margin-right: 21px;
    margin-top: -5px;
}

/* Booking form responsive */
@media (max-width: 1000px) {
    .booking-wrapper {
        position: relative;
        z-index: 1;
        background: white;
        width: 100%;
        max-width: 100% !important;
        margin-top: 0 !important;
        border-radius: 0 !important;
    }

    .booking-form {
        background: white;
        width: 100% !important;
        box-sizing: border-box;
        height: auto !important;
        margin-right: 0 !important;
    }

    .travel-bookings-page-wrapper {
        flex-direction: column !important;
    }

    .flights-filters-panel,
    .vehicles-filters-panel,
    .accomodation-filters-panel,
    .shuttle-filters-panel {
        width: 100% !important;
        margin-right: 0 !important;
        margin-top: 20px !important;
    }

        .flights-filters-panel iframe,
        .vehicles-filters-panel iframe,
        .accomodation-filters-panel iframe,
        .shuttle-filters-panel iframe {
            width: 100% !important;
        }

    .booking-form .form-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        max-width: 100% !important;
        gap: 8px;
        padding: 10px;
    }

    .booking-form .form-group {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
    }

    .booking-form .form-row > div:last-child {
        grid-column: 1 / -1;
        display: flex;
        justify-content: center;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    .travel-bookings-page-wrapper {
        flex-direction: column !important;
    }

    .flights-filters-panel,
    .vehicles-filters-panel,
    .accomodation-filters-panel,
    .shuttle-filters-panel {
        width: 100% !important;
        margin-right: 0 !important;
        margin-top: 20px !important;
    }

    .booking-form .form-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        max-width: 100% !important;
        gap: 8px;
        padding: 10px;
    }

    .booking-form .form-group {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
    }

    .booking-form .form-row > div:last-child {
        grid-column: 1 / -1;
        display: flex;
        justify-content: center;
        margin-left: 0 !important;
    }
}

@media (max-width: 480px) {
    .booking-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Travel nav mobile scroll */
@media (max-width: 1250px) {
    .tabs .flight-timeline-outer {
        width: 100%;
    }

    .tabs .flight-timeline-wrapper {
        width: 100%;
        min-width: 0;
        cursor: default;
    }

        .tabs .flight-timeline-wrapper .travel-assistant-nav {
            flex-wrap: nowrap !important;
            width: max-content !important;
            min-width: max-content !important;
            margin-bottom: 0 !important;
            padding-bottom: 8px;
        }

        .tabs .flight-timeline-wrapper ul {
            min-width: max-content;
            display: flex;
            flex-wrap: nowrap;
            margin: 0;
        }
}

@media (max-width: 768px) {
    .tabs .flight-timeline-outer::after {
        display: block;
    }

    .tabs .flight-timeline-outer.scrolled-left::before {
        display: block;
    }

    .tabs .flight-timeline-wrapper ul {
        min-width: max-content;
        display: flex;
        flex-wrap: nowrap;
    }
}

.tabs .flight-timeline-wrapper {
    cursor: default;
}

.tabs .flight-timeline-outer::after,
.tabs .flight-timeline-outer::before {
    display: none;
}

.tabs .flight-timeline-wrapper .travel-nav-item,
.tabs .flight-timeline-wrapper .travel-nav-link,
.tabs .flight-timeline-wrapper .travel-nav-link * {
    user-select: none !important;
    -webkit-user-drag: none !important;
}

/* Booking form – flight scoped grid */
.booking-form--flight .booking-row {
    display: grid;
    align-items: end;
    gap: 14px 18px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.booking-form--flight .booking-action {
    width: 56px;
    justify-self: end;
    display: flex;
    align-items: end;
    justify-content: center;
    margin-left: auto;
}

.booking-form--flight .booking-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

    .booking-form--flight .booking-group label {
        display: block;
        margin: 0;
        white-space: nowrap;
    }

    .booking-form--flight .booking-group input[type="text"],
    .booking-form--flight .booking-group input[type="number"],
    .booking-form--flight .booking-group input[type="date"],
    .booking-form--flight .booking-group textarea,
    .booking-form--flight .booking-group select {
        box-sizing: border-box;
        width: 100%;
        height: 40px;
        padding: 10px 12px;
        line-height: 18px;
        border: 1px solid #ccc;
        border-radius: 6px;
        background-color: #fafafa;
        transition: all 0.2s ease-in-out;
    }

        .booking-form--flight .booking-group input:focus,
        .booking-form--flight .booking-group select:focus,
        .booking-form--flight .booking-group textarea:focus {
            outline: none;
            border-color: #007bff;
            background-color: #fff;
            box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
        }

.booking-form--flight .booking-action input.search-icon {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 8px;
}

.booking-form--flight .booking-row {
    display: grid !important;
    column-gap: 16px !important;
    row-gap: 12px !important;
}

@media (max-width: 992px) {
    .booking-form--flight .booking-row {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (max-width: 767px) {
    .booking-form--flight .booking-row {
        grid-template-columns: 1fr;
    }

    .booking-form--flight .booking-action {
        width: 100%;
        justify-self: stretch;
    }

        .booking-form--flight .booking-action input.search-icon {
            width: 100% !important;
        }
}


/* ============================================================
   33. FLIGHT CARDS & TIMELINE
   ============================================================ */

/* Flight card responsive */
@media (max-width: 900px) {
    .flight-card-header h3 {
        font-size: 15px !important;
    }

    .flight-card-header p {
        font-size: 12px !important;
    }
}

@media (max-width: 600px) {
    .flight-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

        .flight-card-header h3 {
            font-size: 13px !important;
            padding-left: 5px !important;
            margin-top: 8px !important;
        }

        .flight-card-header p {
            font-size: 11px !important;
            padding-left: 5px !important;
        }

    .flight-card-actions {
        position: absolute;
        top: 8px;
        right: 8px;
    }

    .flight-card {
        position: relative;
    }
}

.travel-repeater-box {
    background-color: #FFF;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 20px;
}

/* Flight timeline outer */
.flight-timeline-outer {
    position: relative;
}

    .flight-timeline-outer::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 60px;
        height: 100%;
        background: linear-gradient(to right, transparent, #FAFAFC);
        pointer-events: none;
        z-index: 2;
    }

    .flight-timeline-outer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 60px;
        height: 100%;
        background: linear-gradient(to left, transparent, #FAFAFC);
        pointer-events: none;
        z-index: 2;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .flight-timeline-outer.scrolled-left::before {
        opacity: 1;
    }

.no-fade::before,
.no-fade::after {
    background: none !important;
}

.flight-timeline-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}

    .flight-timeline-wrapper::-webkit-scrollbar {
        display: none;
    }

/* Flight timeline track */
.flight-timeline {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    padding: 26px 26px 50px 26px;
    position: relative;
    min-width: max-content;
    justify-content: space-around;
}

    .flight-timeline::before {
        content: '';
        position: absolute;
        top: 170px;
        left: 0;
        right: 0;
        height: 2px;
        background: #D0D0D0;
        z-index: 0;
    }

/* Segment nodes */
.flight-segment-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 0 0 30px;
}

.flight-segment-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.flight-airline-name {
    font-size: 0.78em;
    color: #4A90D9;
    margin-top: 4px;
    margin-bottom: 10px;
    text-align: center;
}

.timeline-circle-blue {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4A90D9;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #4A90D9;
    flex-shrink: 0;
}

.timeline-circle-green {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4CAF50;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #4CAF50;
    flex-shrink: 0;
}

.segment-info {
    margin-top: 10px;
    text-align: center;
    white-space: nowrap;
}

.segment-route {
    font-weight: bold;
    font-size: 0.95em;
}

.segment-detail {
    color: #555;
    font-size: 0.82em;
    margin-top: 3px;
}

/* Connectors */
.flight-plane-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    margin: 0 4px;
}

.flight-duration-label {
    height: 110px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 6px;
    font-size: 0.82em;
    color: #555;
    white-space: nowrap;
}

.plane-icon {
    font-size: 22px;
    color: #a6a5a5;
    height: 16px;
    display: flex;
    align-items: center;
}

.flight-layover-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    margin: 0 4px;
}

.hourglass-spacer {
    height: 110px;
}

.hourglass-icon {
    font-size: 14px;
    height: 16px;
    display: flex;
    align-items: center;
}

.layover-box {
    margin-top: 10px;
    background: #FFF8E1;
    border: 1px solid #FF9800;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.78em;
    color: #888;
    text-align: center;
    white-space: nowrap;
}

/* Destination node */
.flight-destination-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.destination-spacer {
    height: 110px;
}


/* ============================================================
   34. POS (POINT OF SALE)
   ============================================================ */

/* Categories */
.categories-container {
    margin: 12px;
}

.category-container {
    border-style: outset;
    border-radius: 13px;
    background-color: #FAFAFC;
    width: 100px;
    height: 115px;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.05), 0px 0px 3px rgba(225, 225, 225, 0.3);
    margin: 10px;
    display: inline-block;
    flex-direction: row;
    align-items: center;
    flex: 0 1 auto;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.category-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px !important;
    height: 60px !important;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 10px;
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 20px;
}

.pos-category-image {
    width: 50px !important;
    height: 50px !important;
    display: block;
    margin-left: auto;
    margin-right: 12px;
    margin-bottom: 25px;
}

.pos-category-header a {
    display: block;
    text-align: center;
    font-size: 12.5px;
    font-weight: 800;
    color: inherit;
    padding: 0px;
}

/* Items */
.items-container {
    margin: 12px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 0 1 auto;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.item-container {
    border-style: outset;
    border-radius: 13px;
    background-color: #FAFAFC;
    width: 150px;
    height: 220px;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.05), 0px 0px 3px rgba(225, 225, 225, 0.3);
    margin: 10px;
    overflow: hidden;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

@media (max-width: 640px) {
    .item-container {
        max-width: 96%;
        min-width: 96%;
    }
}

.item-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 10px;
}

/* pos-item-image: first definition (compact) then overridden below */
.pos-item-image {
    height: 100px !important;
    object-fit: cover;
    margin-top: 10px !important;
}

/* Override: full card image */
.pos-item-image {
    width: 100%;
    max-width: 230px;
    height: 170px;
    object-fit: cover;
    background-color: darkslateblue;
    border-radius: 10px;
    margin-top: 15px;
}

.pos-item-header {
    display: block;
    text-align: left;
    font-size: 18px;
    font-weight: 800;
    color: inherit;
    padding-left: 6px;
    padding-top: 15px;
}

.item-description-container {
    display: block;
    text-align: left;
    font-size: 12.5px;
    line-height: 0.5;
    padding: 15px;
    padding-left: 7px;
}

@media (max-width: 640px) {
    .pos-item-header {
        padding-left: 25px;
    }

    .item-description-container {
        padding-left: 25px;
    }
}

/* Cart area */
.my-cart-area {
    display: flex;
    justify-content: flex-end;
    align-items: center !important;
    height: 50px;
    margin-bottom: -20px;
    margin-top: 0px;
}

#MainContent_btnBasket {
    width: 48px;
}

    #MainContent_btnBasket:hover {
        filter: brightness(1.2);
    }

        #MainContent_btnBasket:hover svg {
            filter: brightness(1.2) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.4));
        }

.basket-count {
    border-color: #337ab7;
    background-color: #ececec;
    border: solid;
    border-width: 1.5px !important;
    border-radius: 5px;
    display: inline-block;
    height: 22px !important;
    min-height: 22px;
    width: 23px !important;
    min-width: 23px;
    text-align: center;
    line-height: 1.2;
    padding: 2px;
    padding-top: 2px;
    font-size: 13.5px !important;
    font-weight: bold;
}

.basket-subtotal {
    margin-left: 30px;
}

#pToolbars {
    Height: 80px;
    Width: 100%;
}

/* Item hover overlay */
.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    opacity: 0;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.item-container:hover .item-overlay {
    opacity: 1;
}

.plus-icon {
    width: 40px;
    height: 40px;
    opacity: 0.9;
    user-select: none;
    pointer-events: none;
}

/* Add to cart bottom bar */
.add-to-cart-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #4882B3;
    color: #FAFAFC;
    font-weight: 800;
    font-size: 14px;
    border-top: 1px solid #ccc;
    padding: 5.5px 12px;
    border-radius: 0 0 10px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: -4px;
}

    .add-to-cart-bottom:hover {
        background-color: #5B94C0;
        color: #FAFAFC;
        text-decoration: none;
    }

.plus-icon-bottom {
    width: 18px;
    height: 18px;
    font-size: 13px;
    font-weight: 600;
    color: #060518;
    padding-left: 2px;
}

/* Contracts */
.contract-items-container {
    margin: 12px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 0 1 auto;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.contract-item-container {
    border-radius: 10px;
    background-color: #FAFAFC;
    width: 150px;
    height: 220px;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.05), 0px 0px 3px rgba(225, 225, 225, 0.3);
    margin: 10px;
    overflow: hidden;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}

.contract-item-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 10px;
}

.contract-item-description-container {
    display: block;
    text-align: left;
    font-size: 12.5px;
    line-height: 0.5;
    padding: 15px;
}

/* Product panel */
.product_panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 5px;
    margin: 15px 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 10px;
    height: 80px;
}

    .product_panel > input[type="image"] {
        box-sizing: border-box;
        border-radius: 10px !important;
        padding: 0px;
    }

    .product_panel label {
        display: inline-block;
        width: 100px;
        height: 20px;
        line-height: 20px;
    }


/* ============================================================
   35. QUICK POS
   ============================================================ */

.my-cart-area-quick-pos {
    display: flex;
    justify-content: flex-end;
    align-items: center !important;
    height: 80px;
    margin-bottom: -20px;
}

ul.basket-items {
    width: 98.2%;
    margin-bottom: 20px;
    margin-top: -4px;
    padding-inline-start: 20px;
}

#MainContent_choose_details {
    margin-left: -12px;
}

span#MainContent_lbChange {
    text-align: left;
}

input#MainContent_btnAccept,
input#MainContent_btnStartSession,
input#MainContent_btnOpen,
input#MainContent_btnComplete {
    margin-right: 3px;
    padding-bottom: 5px;
}

.cash-up-icon-holder {
    display: flex;
    justify-content: flex-start;
    align-items: center !important;
    height: 50px;
    margin-bottom: -20px;
    padding-left: 10px;
    padding-top: 30px;
}

#MainContent_lbThanksNote {
    font-size: 12px;
}

.receipt-totals-left {
    text-align: left;
    padding-left: 23px;
}

.receipt-totals-right {
    text-align: right;
    padding-right: 23px;
}

.cashbox {
    border: 2px solid #333;
    border-radius: 8px;
    padding: 2px 6px;
    font-size: 14px;
    text-align: center;
    margin: 0;
}

#MainContent_btnOpenDrawer {
    margin-left: -3px;
}


/* ============================================================
   36. BAY GRID (Cargo Contract Form)
   ============================================================ */

.bay-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px 2px;
    align-items: center;
    margin: 0px;
    margin-left: -5px !important;
}

    .bay-grid .checkbox-cell {
        display: flex;
        align-items: center;
        justify-content: left;
        height: 30px;
        margin: 0px;
    }

    .bay-grid label {
        margin: 0 !important;
    }

    .bay-grid input[type="checkbox"] {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }


/* ============================================================
   37. STATE INDICATOR PANELS (Vehicle Monitor / Telematics)
   ============================================================ */

.current-state-global {
    width: 50px;
    height: 50px;
    border-radius: 10px 10px;
    gap: 0px;
    background-color: white !important;
}

.current-state {
    width: 50px;
    height: 50px;
    border-radius: 10px 10px;
    gap: 0px;
    background: white;
    padding: 12px;
    padding-bottom: 4px;
    padding-left: 4px;
    padding-right: 4px;
    margin-left: -50px;
    border: solid 2px #06051896;
}

@media (min-width: 1381px) {
    .current-state {
        margin-left: -50px;
    }
}

@media (max-width: 1380px) {
    .current-state {
        margin-left: 0px !important;
        z-index: 1;
    }

    .vertical-line {
        display: none;
    }
}

/* State indicator main panel */
@media (min-width: 1381px) {
    .state-indicator-panel {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
        align-items: center;
        justify-content: center;
        background-color: white;
        color: #FAFAFC;
        border-radius: 10px 10px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-top: 14px;
        margin-left: 20px;
        margin-right: 10px;
        height: 70px;
        border: 1px solid #e5e7eb !important;
        box-shadow: 0 6px 14px rgba(0, 0, 0, .06);
    }
}

@media (max-width: 1380px) {
    .state-indicator-panel {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
        align-items: center;
        justify-content: center;
        background-color: white;
        color: #FAFAFC;
        border-radius: 10px 10px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-top: 14px;
        margin-left: 10px;
        margin-right: 10px;
        height: auto;
        padding-bottom: 10px;
        justify-items: center;
        gap: 10px;
        overflow: hidden;
        border: 1px solid #e5e7eb !important;
        box-shadow: 0 6px 14px rgba(0, 0, 0, .06);
    }

        .state-indicator-panel > :first-child {
            grid-column: 1 / -1;
            justify-self: stretch;
        }
}

/* State indicator main image */
.state-indicator-main-image {
    background-color: steelblue;
    width: 70px;
    height: 100%;
    margin-left: -10px;
    border-top-left-radius: 20%;
    border-bottom-left-radius: 20%;
}

@media (min-width: 1381px) {
    .state-indicator-main-image {
        width: 70px;
        height: 100%;
        margin-left: -10px;
        border-top-left-radius: 20%;
        border-bottom-left-radius: 20%;
    }
}

@media (max-width: 1380px) {
    .state-indicator-main-image {
        background-color: steelblue;
        width: 100%;
        height: 100%;
        margin-left: 0px;
        border-top-left-radius: 0%;
        border-bottom-left-radius: 0%;
    }
}

/* Vehicle image on mobile */
@media (max-width: 1178px) {
    img#img_vehicle {
        width: 100px;
        height: 100px;
        background: none;
        padding: 0px;
        margin: -10px !important;
        margin-bottom: -18px !important;
    }
}


/* ============================================================
   38. MAP COMPONENTS
   ============================================================ */

#map {
    position: relative;
}

/* Map state indicator panel */
/* map-state-indicator-panel: always 3 columns — main image | separator | icon grid.
   The HTML always has exactly 3 children:
     1. .map-main-cell        (steelblue image column)
     2. .map-separator-cell   (thin vertical line)
     3. .map-icon-grid        (icon cells) */
.map-state-indicator-panel {
    display: grid;
    grid-template-columns: 52px 6px 1fr;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: 0px 1px 3px rgba(0,0,0,0.1);
    height: 88px;
    margin-bottom: 25px;
    overflow: hidden;
}

@media (min-width: 824px) {
    .map-state-indicator-panel {
        /* Keep 3-column structure — only adjust sizes */
        grid-template-columns: 52px 6px 1fr;
        height: 100px;
        margin-top: 0px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
}

@media (max-width: 823px) {
    .map-state-indicator-panel {
        /* Narrow screens: shrink main column slightly, keep separator */
        grid-template-columns: 40px 6px 1fr;
        height: auto;
        padding-bottom: 10px;
        margin-top: 14px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
}

/* Map sidebar */
.map-sidebar-left > img:first-child {
    margin-right: 20px;
}

/* Map main cell */
.map-main-cell {
    position: relative;
    height: 100%;
}

/* Map state indicator main image */
.map-state-indicator-main-image {
    background-color: steelblue;
    width: 48px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-left: 0px;
}

@media (min-width: 1179px) {
    .map-state-indicator-main-image {
        width: 48px;
        height: 100%;
        margin-left: 0px;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }
}

@media (max-width: 1178px) {
    .map-state-indicator-main-image {
        background-color: steelblue;
        width: 100%;
        height: 100%;
        margin-left: 0px;
        border-top-left-radius: 0%;
        border-bottom-left-radius: 0%;
    }
}

/* Map current state icon */
.map-current-state-global {
    width: 38px;
    border-radius: 10px;
    background: white !important;
    padding: 0;
    margin: 5px;
    height: 87px;
    gap: 0px;
    background-color: white !important;
}

.map-current-state {
    width: 32px;
    height: 32px;
    padding: 5px;
    border-radius: 10px;
    background: white;
    margin: 0;
    gap: 0px;
    border: solid 1px #06051896;
}

/* Map separator */
.map-separator-cell {
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-vertical-line {
    width: 2px;
    height: 60px;
    background-color: #bfc0c2;
    border-radius: 10px;
}

/* Icon grid */
.map-icon-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 0px;
    padding-top: 1px;
    padding-left: 5px;
    align-content: flex-start;
}

.icon-cell {
    position: relative;
    width: 32px;
    height: 32px;
    margin: 2.5px;
}

.icon-visual {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 10px;
    border: 1px solid #06051896;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Clickable overlay (hitarea) */
.map-hitarea, .icon-hitarea {
    position: absolute;
    inset: 0;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    display: block;
    z-index: 10;
    text-decoration: none;
    color: transparent;
}

a.icon-hitarea, a.map-hitarea {
    text-decoration: none !important;
}

/* Zoom in cell */
.map-zoom-in-cell {
    position: relative;
    right: 0.5px;
    width: 22px;
    height: 22px;
    z-index: 9999;
}

.map-zoom-in-icon-visual {
    width: 23px;
    height: 23px;
    background: white;
    border-radius: 10px;
    border: 1px solid #06051896;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zoom-in-current-state {
    width: 23px;
    height: 23px;
    padding: 5.5px;
    border-radius: 10px;
    background: white;
    margin: 0;
}

.map-zoom-icon-hitarea {
    position: absolute;
    inset: 0;
    background: transparent !important;
    cursor: pointer;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: block;
    z-index: 10000;
    text-decoration: none;
    color: transparent;
}

    .map-zoom-icon-hitarea:hover {
        border: 0.05px solid !important;
        border-color: #767676;
        width: 23px;
        height: 23px;
        border-radius: 10px;
    }

.map-zoom-wrapper {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    height: 49px;
    gap: 2px;
    padding: 1.3px;
}


/* ============================================================
   39. TELEMATICS
   ============================================================ */

.telematics-identification-panel {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}


/* ============================================================
   40. CCTV
   ============================================================ */

.auto-width-cctv {
    max-width: 600px !important;
    min-width: 100px;
    height: auto;
    margin-top: 30px;
    margin-left: 0px;
}

#MainContent_vLiveCamera1 {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3), 0px 0px 3px rgba(225, 225, 225, 0.3);
}


/* ============================================================
   41. VISITOR ACCESS FORM
   ============================================================ */

.visitor-access-form-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

@media (min-width: 1027px) {
    .visitor-access-form-fields {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }
}

@media (max-width: 827px) {
    .visitor-access-form-fields {
        grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
        padding-right: 0px;
        margin-right: 0px;
    }
}

@media (max-width: 698px) {
    .visitor-access-form-fields {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding-right: 5px;
        margin-right: 0px;
    }
}

@media (max-width: 609px) {
    .visitor-access-form-fields {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        padding-right: 5px;
        margin-right: 0px;
    }
}

@media (min-width: 828px) {
    .visitor-access-ticket-buttons {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        gap: 0px;
        align-items: center;
        margin-top: 10px;
        justify-content: center;
    }
}

@media (max-width: 827px) {
    .visitor-access-ticket-buttons {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        align-items: center;
        gap: 0px;
        justify-content: center;
    }
}

@media (max-width: 430px) {
    .visitor-access-ticket-buttons {
        display: grid;
        grid-auto-flow: row;
        grid-auto-columns: max-content;
        gap: 0px;
        align-items: center;
        justify-content: center;
    }
}

.qr-and-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 490px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 530px) {
    .qr-and-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 250px;
        text-align: center;
        margin: 0 auto;
        padding: 20px;
        padding-bottom: 0px;
    }

    .info-alongside-qr {
        padding: 20px;
        padding-bottom: 0px;
    }
}


/* ============================================================
   42. INVOICE UPLOAD ANIMATION
   ============================================================ */

.invoice-upload-label {
    cursor: pointer;
    height: 38px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 8px;
    background-color: white;
    border: 0.5px solid black;
    border-radius: 10px;
    transition: background-color 0.15s ease;
}

    .invoice-upload-label:hover {
        background-color: #1CB26C;
        color: white;
    }

.invoice-loading-anim {
    display: inline-block;
    width: 180px;
    height: 32px;
    border: 1px solid #4CAF50;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background: #e8f5e9;
    vertical-align: middle;
}

    .invoice-loading-anim span {
        display: block;
        height: 100%;
        width: 40%;
        background: linear-gradient(90deg, #4CAF50, #81C784);
        border-radius: 4px;
        position: absolute;
        animation: invoiceSweep 1.2s ease-in-out infinite;
    }

@keyframes invoiceSweep {
    0% {
        left: -40%;
    }

    100% {
        left: 100%;
    }
}

/* Reading label dots */
.reading-label {
    font-size: 13px;
    color: #4682b4;
    font-weight: 600;
    vertical-align: middle;
    margin-right: 4px;
}

.reading-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #4682b4;
    margin: 0 2px;
    vertical-align: middle;
    animation: readingBounce 1s ease-in-out infinite;
}

    .reading-dot:nth-child(2) {
        animation-delay: 0s;
    }

    .reading-dot:nth-child(3) {
        animation-delay: 0.2s;
    }

    .reading-dot:nth-child(4) {
        animation-delay: 0.4s;
    }

@keyframes readingBounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}


/* ============================================================
   43. DASHBOARD SIDEBAR
   ============================================================ */



.dashboard-sidebar-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: rgba(237, 236, 236, 0.95);
    border: 1px solid #d9d6d6;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    padding: 16px;
    z-index: 15;
    transition: transform 0.3s ease-in-out;
}

.hidden-dashboard-sidebar-right {
    transform: translateX(450px);
}

.dashboard-sidebar-collapse-button-right {
    position: absolute;
    top: 0;
    right: 410px;
    z-index: 20;
    border: 1px solid #ccc !important;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: right 0.3s ease, right 0.3s ease-in-out;
}


/* ============================================================
   44. MISCELLANEOUS SITE-SPECIFIC
   ============================================================ */

/* Collapsed menu link (aspNetDisabled) */
a.level1.aspNetDisabled.static,
a.level1.aspNetDisabled.static.highlighted {
    margin-top: -20px !important;
    padding: 0px !important;
    visibility: collapse;
}

/* Fuel management main buttons */
#MainContent_btnTankAdd,
#MainContent_btnTanksMobileAdd,
#MainContent_btnPumpAdd,
#MainContent_btnAddNozzle,
#MainContent_btnAutoStopAdd,
#MainContent_btnUserFuelTask {
    padding: 0px;
    margin-right: 10px;
}

/* Legacy override: dl-horizontal term wrap */
.dl-horizontal dt {
    white-space: normal;
}


/* ============================================================
   45. NAVBAR LOWER
   ============================================================ */

.navbar-right-lower {
    height: 63px !important;
}



/* ============================================================
   46. BREADCRUMB & PAGINATION (used by gridviews)
   ============================================================ */

.breadcrumb {
    padding: 8px 15px;
    margin-bottom: 20px;
    list-style: none;
    background-color: #f5f5f5;
    border-radius: 4px;
}

    .breadcrumb > li {
        display: inline-block;
    }

        .breadcrumb > li + li:before {
            padding: 0 5px;
            color: #ccc;
            content: "/\00a0";
        }

    .breadcrumb > .active {
        color: #777777;
    }

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination > li {
        display: inline;
    }

        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            margin-left: -1px;
            line-height: 1.42857143;
            color: #337ab7;
            text-decoration: none;
            background-color: #fff;
            border: 1px solid #ddd;
        }

            .pagination > li > a:hover,
            .pagination > li > span:hover,
            .pagination > li > a:focus,
            .pagination > li > span:focus {
                z-index: 2;
                color: #23527c;
                background-color: #eeeeee;
                border-color: #ddd;
            }

        .pagination > li:first-child > a,
        .pagination > li:first-child > span {
            margin-left: 0;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }

        .pagination > li:last-child > a,
        .pagination > li:last-child > span {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

    .pagination > .active > a,
    .pagination > .active > span,
    .pagination > .active > a:hover,
    .pagination > .active > span:hover,
    .pagination > .active > a:focus,
    .pagination > .active > span:focus {
        z-index: 3;
        color: #fff;
        cursor: default;
        background-color: #337ab7;
        border-color: #337ab7;
    }

    .pagination > .disabled > span,
    .pagination > .disabled > a,
    .pagination > .disabled > a:hover,
    .pagination > .disabled > a:focus {
        color: #777777;
        cursor: not-allowed;
        background-color: #fff;
        border-color: #ddd;
    }

.pagination-lg > li > a,
.pagination-lg > li > span {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
}

.pagination-lg > li:first-child > a, .pagination-lg > li:first-child > span {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.pagination-lg > li:last-child > a, .pagination-lg > li:last-child > span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
}

.pagination-sm > li:first-child > a, .pagination-sm > li:first-child > span {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.pagination-sm > li:last-child > a, .pagination-sm > li:last-child > span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}


/* ============================================================
   47. TRAVEL ASSISTANT — CARD, ROW, ANIMATIONS, FLATICON
   ============================================================ */

:root {
    --blue: #377dff;
    --purple: #8023df;
    --red: #de4437;
    --yellow: #ffc107;
    --teal: #00c9a7;
    --cyan: #00dffc;
    --gray: #8c98a4;
    --gray-dark: #343a40;
    --primary: #297cbb;
    --secondary: #77838f;
    --success: #00c9a7;
    --info: #00dffc;
    --warning: #ffc107;
    --danger: #de4437;
    --light: #f8f9fa;
    --dark: #3b444f;
    --white: #fff;
    --indigo: #2d1582;
    --gray: #ebf0f7;
    --violet: #532184;
    --violet-1: #a864a8;
    --violet-light: #6f13cd;
    --brown-light: #ceac61;
    --brown: #f8bd5b;
    --maroon: #c72f74;
    --indigo-light: #080e7b;
    --red-light-2: #ff3c4e;
    --blue-dark-1: #045cff;
    --gray-1: #67747c;
    --gray-2: #f7f8f9;
    --gray-3: #3b444f;
    --gray-4: #eceff3;
    --blue: #43c5db;
    --blue-1: #297cbb;
    --gray-5: #18181b;
    --gray-6: #18181a;
    --gray-7: #5c6770;
    --gray-8: #c5cdd8;
    --gray-9: #9fa9b8;
    --gray-10: #c1c1c1;
    --gray-11: #484848;
    --gray-23: #f4f4f4;
    --gray-33: #ebf0f7;
    --sea-green: #1d508d;
    --dark-1: #1e2022;
    --navy: #0057ff;
    --pink: #ffe5ee;
    --dark-2: #1a2b49;
    --yellow-lighter-2: #f7bc5a;
    --orange: #f05700;
    --green: #28871c;
    --pink-1: #ff0045;
    --purple-1: #232753;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-wd: 1480px;
    --font-family-sans-serif: "Rubik", Helvetica, Arial, sans-serif;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.d-flex {
    flex-direction: column !important;
    width: 95px;
}

    .d-flex.flex-column.flex-md-row.position-relative.text-white.align-items-center {
        display: flex;
    }


.d-block {
    display: block !important;
}

@media (min-width: 768px) {
    .mr-md-3, .mx-md-3 {
        margin-bottom: 5px !important;
    }

    .d-md-block {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .d-lg-flex {
        display: flex !important;
    }

    .pl-lg-3, .px-lg-3 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-bottom: 1rem !important;
    }
}

.align-items-end {
    align-items: flex-end !important;
}

.flex-column {
    flex-direction: column !important;
}

.travel-font-size-3 {
    font-size: 2rem;
}

.travel-container-description {
    color: #204059;
    font-family: "lato", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 12.5px;
    margin-left: 0px;
    padding-right: 20px;
    margin-top: -18px;
    text-align: justify !important;
    height: 20px;
    overflow: clip;
}

/* Tab content system */
.tab-content {
    display: block !important;
}

.tab-pane {
    display: block !important;
}

.tab-content > .active {
    display: block;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-shadow {
    box-shadow: 0px 14px 50px 0px rgba(32, 32, 32, 0.15);
}

.border-0 {
    border: 0 !important;
}

/* Card component */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #e7eaf3;
    border-radius: 0.3125rem;
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem;
}

/* Flaticon font support */
[class^="flaticon-"], [class*=" flaticon-"] {
    font-style: normal;
}

.flaticon-hotel:before, .flaticon-global-1:before, .flaticon-climbing:before,
.flaticon-home:before, .flaticon-sedan:before, .flaticon-yatch:before,
.flaticon-aeroplane:before {
    content: "\f104";
}

[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {
    font-family: Flaticon;
}

/* Icon circle styles (Travel nav active state) */
.tab-nav-rounded .travel-nav-link.active .icon::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -33px;
    left: 24px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

/* Travel nav item spacing */
.travel-assistant-nav .travel-nav-item:not(:last-child) {
    margin-right: .25rem;
    width: 100px;
}

.travel-assistant-nav .travel-nav-item:not(:first-child) {
    margin-left: .25rem;
}

/* Font Awesome icon colours for booking tabs */
.fa-calendar-alt, .fa-calendar-days {
    color: inherit;
}

.fa-map-marker-alt, .fa-location-dot {
    color: inherit;
}

.fa-user-friends, .fa-user-group {
    color: inherit;
}

.form-row > .fa-calendar-alt, .form-row > .fa-calendar-days,
.form-row > .fa-location-dot, .form-row > .fa-map-marker-alt,
.form-row > .fa-user-friends, .form-row > .fa-user-group {
    padding-left: 20px;
}

/* col grid helpers used in travel */
@media (min-width: 1200px) {
    .col-xl-3gdot5 {
        flex: 0 0 29.16667%;
        max-width: 29.16667%;
    }
}

[class*="gdot"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Animations */
@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 25%, 0);
        transform: translate3d(0, 25%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 25%, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}

/* Fade */
.fade {
    transition: opacity 0.15s linear;
}


/* ============================================================
   48. BOOKING FORM — FILTERS, COUNTERS, STARS, SLIDER
   ============================================================ */

/* noUiSlider (price slider) */
.noUi-tooltip {
    display: none !important;
}

.noUi-target, .noUi-target * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -ms-touch-action: none;
    touch-action: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
    box-sizing: border-box;
}

.noUi-base, .noUi-connects {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.noUi-connects {
    overflow: hidden;
    z-index: 0;
}

.noUi-connect, .noUi-origin {
    will-change: transform;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    transform-origin: 0 0;
    transform-style: flat;
}

.noUi-handle {
    backface-visibility: hidden;
    position: absolute;
}

.noUi-touch-area {
    height: 100%;
    width: 100%;
}

.noUi-state-tap .noUi-connect, .noUi-state-tap .noUi-origin {
    transition: transform .3s;
}

.noUi-state-drag * {
    cursor: inherit !important;
}

.noUi-horizontal {
    height: 4px !important;
}

.noUi-vertical {
    width: 18px;
}

.noUi-target {
    background: #B0B0B0 !important;
    border-radius: 4px !important;
    border: 0px !important;
    box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB !important;
    position: relative;
}

.noUi-connects {
    border-radius: 3px;
}

.noUi-connect {
    background: #4882B3;
}

.noUi-draggable {
    cursor: ew-resize;
}

.noUi-vertical .noUi-draggable {
    cursor: ns-resize;
}

.noUi-handle {
    border: 0px solid !important;
    border-radius: 50px !important;
    background: #FFF !important;
    cursor: default !important;
    box-shadow: none !important;
}

.noUi-horizontal .noUi-handle {
    width: 15px !important;
    height: 15px !important;
    right: -8px !important;
    top: -5px !important;
    border-radius: 50px !important;
    background-color: #4882B3 !important;
}

.noUi-active {
    box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB;
}

.noUi-pips, .noUi-pips * {
    box-sizing: border-box;
}

.noUi-pips {
    position: absolute;
    color: #999;
}

.noUi-value {
    position: absolute;
    white-space: nowrap;
    text-align: center;
}

.noUi-value-sub {
    color: #ccc;
    font-size: 10px;
}

.noUi-marker {
    position: absolute;
    background: #CCC;
}

.noUi-marker-sub {
    background: #AAA;
}

.noUi-marker-large {
    background: #AAA;
}

.noUi-pips-horizontal {
    padding: 10px 0;
    height: 80px;
    top: 100%;
    left: 0;
    width: 100%;
}

.noUi-value-horizontal {
    transform: translate(-50%, 50%);
}

.noUi-marker-horizontal.noUi-marker {
    margin-left: -1px;
    width: 2px;
    height: 5px;
}

.noUi-marker-horizontal.noUi-marker-sub {
    height: 10px;
}

.noUi-marker-horizontal.noUi-marker-large {
    height: 15px;
}

.noUi-pips-vertical {
    padding: 0 10px;
    height: 100%;
    top: 0;
    left: 100%;
}

.noUi-value-vertical {
    transform: translate(0, -50%);
    padding-left: 25px;
}

.noUi-marker-vertical.noUi-marker {
    width: 5px;
    height: 2px;
    margin-top: -1px;
}

.noUi-marker-vertical.noUi-marker-sub {
    width: 10px;
}

.noUi-marker-vertical.noUi-marker-large {
    width: 15px;
}

.noUi-tooltip {
    display: block;
    position: absolute;
    border: 1px solid #D9D9D9;
    border-radius: 3px;
    background: #fff;
    color: #000;
    padding: 5px;
    text-align: center;
    white-space: nowrap;
}

.noUi-horizontal .noUi-tooltip {
    transform: translate(-50%, 0);
    left: 50%;
    bottom: -165%;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
    background-color: #333;
    color: white;
    position: absolute;
    white-space: nowrap;
}

    .noUi-horizontal .noUi-tooltip::after {
        content: "";
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-width: 5px;
        border-style: solid;
        border-color: transparent transparent #333 transparent;
    }

.noUi-vertical .noUi-tooltip {
    transform: translate(0, -50%);
    top: 50%;
    right: 120%;
}

/* Price Slider */
.price-slider-container {
    padding: 10px 0;
    padding-bottom: 2px;
    padding-top: 5px;
    margin: 15px;
}

#price-slider {
    margin: 4px 0;
    padding-left: 5px;
    padding-right: 5px;
}

.price-output {
    margin-top: -10px !important;
    margin-bottom: 12px !important;
    font-weight: normal;
    text-align: left;
    font-size: 11px;
}

/* Rating stars */
.star-icon {
    filter: brightness(0) saturate(100%) invert(56%) sepia(82%) saturate(958%) hue-rotate(1deg) brightness(97%) contrast(97%);
    margin-top: -3px;
    cursor: default !important;
    margin-right: -2.5px;
}

/* Review score fill bars */
.review-score-container {
    max-width: 300px;
    font-family: sans-serif;
    margin-top: 18px;
}

.review-score {
    margin-bottom: 10px;
}

.review-label {
    color: #204059;
    font-style: normal;
    font-weight: 500;
    margin-left: 20px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-top: 15px;
    margin-bottom: -10px;
    font-size: 12.5px;
}

.bar {
    background-color: #eee;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-left: 20px;
    margin-right: 20px;
}

.fill {
    height: 100%;
    background-color: #F28C28;
    width: 0;
    transition: width 0.4s ease;
}

/* Booking filters panel */
.bookings-filters-title {
    color: #204059;
    font-family: "lato", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 17px;
    margin-left: 20px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-top: 10px;
    margin-bottom: -10px;
}

.bookings-filters-hotel {
    color: #204059;
    font-style: normal;
    font-weight: 800;
    margin-left: 20px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-top: 20px;
    margin-bottom: -10px;
    font-size: 12.5px;
}

.bookings-filters-hotel-options-subheading {
    color: #204059;
    font-style: normal;
    font-weight: 500;
    margin-left: 20px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-top: 10px;
    margin-bottom: -10px;
    font-size: 11px !important;
}

.bookings-filters-hotel-options {
    color: #204059;
    font-style: normal;
    font-weight: 500;
    margin-left: 20px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-top: 15px;
    margin-bottom: -10px;
    font-size: 12.5px;
}

    .bookings-filters-hotel-options input[type="checkbox"] {
        margin-top: -1px;
        vertical-align: middle;
    }

.bookings-filters-flight-options {
    color: #204059;
    font-style: normal;
    font-weight: 500;
    margin-left: 20px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-top: 15px;
    margin-bottom: -10px;
    font-size: 12.5px;
}

/* Traveler counter */
.counter-container {
    display: flex;
    align-items: center;
    margin-top: 15px;
    justify-content: space-between;
    padding-right: 20px;
}

.counter {
    display: flex;
    align-items: center;
    border: 0.1px solid #204059;
    border-radius: 10px;
    margin-left: 10px;
    width: auto;
    justify-content: space-between;
    padding: 0px;
    height: 30px;
}

    .counter button {
        background: none;
        border: none;
        font-size: 18px;
        color: #0073e6;
        cursor: pointer;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .counter span {
        font-size: 14px;
        font-weight: bold;
        min-width: 20px;
        text-align: center;
        line-height: 1;
    }

.counter-label {
    font-size: 12.5px;
    font-weight: 500;
    color: #204059;
    min-width: 80px;
    text-align: left;
    padding-left: 20px;
    margin-bottom: 0px;
}

/* Litepicker calendar */
.litepicker {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.8em;
    display: none;
    margin-top: 5px;
    margin-left: 10px;
}

    .litepicker .container__days .day-item.is-today {
        color: #F28C28 !important;
    }

.booking-form input[type="text"] {
    margin-right: 0px;
    padding-right: 10px;
    width: 100%;
}

.booking-filters-container > hr {
    margin-top: 29px !important;
}

/* Travel vehicle/accom info containers */
#vehicle-container-vehicle-class,
#vehicle-container-vehicle-description,
#vehicle-container-vehicle-doors,
#vehicle-container-vehicle-rental-company,
#vehicle-container-shuttle-rental-company,
#vehicle-container-shuttle-registration,
.container-additional-expenses,
.container-vouchers {
    color: #204059;
    font-family: "lato", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 13px;
    margin-left: 0px;
    padding-top: 5px;
    margin: 0px;
}

#vehicle-container-vehicle-class,
#vehicle-container-vehicle-colour,
#vehicle-container-vehicle-description {
    margin-bottom: -6px;
}

#travel-container-property-area {
    color: #204059;
    font-family: "lato", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 12.5px;
    margin-left: 0px;
    margin-top: -15px;
}

div#travel-container-property-distance {
    width: 15px;
    height: 15px;
    margin-top: -16px;
}

#travel-container-property-distance-from {
    display: flex;
    color: #97b1c4;
    font-family: "lato", sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 13px;
    margin-left: 0px;
    padding-top: 5px;
    margin-top: -18px;
    flex-direction: row !important;
}

#travel-container-price {
    color: #4882B3;
    font-family: "lato", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 22px;
    margin-left: 0px;
    padding-bottom: 0px;
    margin-top: -20px;
    margin-bottom: -20px;
}

/* Flight container info */
div#flight-container-flight-duration {
    width: 15px;
    height: 15px;
    margin-top: -16px;
}

#flight-container-flight-destination {
    color: #204059;
    font-family: "lato", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 12.5px;
    margin-left: 0px;
    padding-right: 20px;
    margin-top: -18px;
    text-align: justify !important;
}

#flight-container-flight-departure-location {
    color: #204059;
    font-family: "lato", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 12.5px;
    margin-left: 0px;
    margin-top: -15px;
}

#flight-container-flight-class {
    color: #204059;
    font-family: "lato", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 13px;
    margin-left: 0px;
    padding-top: 5px;
    margin: 0px;
}

#flight-container-flight-number {
    color: #204059;
    font-family: "lato", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 13px;
    margin-left: 0px;
    padding-top: 10px;
    margin: 0px;
}

#vehicle-container-vehicle-number {
    color: #204059;
    font-family: "lato", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 13px;
    margin-left: 0px;
    padding-top: 10px;
    margin: 0px;
}

#vehicle-container-vehicle-rental-company {
    color: #204059;
    font-family: "lato", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 13px;
    margin-left: 0px;
    margin: 0px;
}


/* ============================================================
   49. GRAPHS / DASHBOARD WIDGETS (TravelManager, Telematics)
   ============================================================ */

.graphs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-bottom: 20px;
    margin-top: 20px;
}

@media (max-width: 640px) {
    .graphs-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
}

.defaultform .graphs-grid > .graph-card {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-top: 3px solid #4882B3 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06) !important;
    padding: 16px 14px 12px !important;
    min-width: 0;
    margin: 0px;
}

.graph-card {
    border: 1px solid #e5e7eb;
    border-top: 3px solid #4882B3;
    padding: 16px 14px 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: box-shadow 0.18s ease;
}

    .graph-card:hover {
        box-shadow: 0 6px 20px rgba(72,130,179,.12);
    }

.graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 5px;
}

.graph-title {
    font-family: "neo-sans", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #060518;
    margin-bottom: 2px;
    margin-top: 0;
}

.graph-subtitle {
    font-family: "lato", sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #B0B0B0;
    letter-spacing: 0;
    text-transform: none;
    margin-top: 1px;
    margin-bottom: 0;
}

.graph-host {
    width: 100%;
    min-height: 140px !important;
    margin-top: 0 !important;
}

.gauge-host {
    width: 100%;
    aspect-ratio: 2 / 1;
    min-height: 240px;
    max-width: 620px;
    margin-inline: auto;
}

.graph-card .gauge-host {
    font-size: 16px;
}

#myFillBar {
    width: 300px;
    height: 120px;
    margin: 0px;
}

/* Time range dropdown on graphs */
.time-range {
    width: 100px;
    height: 35px;
    border: 1px solid #ccc;
    border-radius: 10px !important;
    padding: 5px;
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
}

option {
    font-weight: normal;
    display: block;
    padding-block-start: 0px;
    padding-block-end: 1px;
    min-block-size: 1.2em;
    padding-inline: 2px;
    white-space: nowrap;
    border-radius: 20px !important;
}

/* Custom time-range dropdown widget */
.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100px;
    margin-right: 13px;
}

.dropdown-btn {
    width: 100%;
    height: 30px;
    border-radius: 7px;
    border: 1.5px solid #d1d5db;
    background: #f9fafb;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "lato", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    padding: 0 10px;
    transition: border-color 0.15s ease, background 0.15s ease;
}

    .dropdown-btn:hover {
        border-color: #4882B3;
        background: #fff;
    }

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 10px;
    right: 0px;
    width: 100px;
    margin: 0;
    padding: 0;
    list-style: none;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fff;
    display: none;
    z-index: 10;
    padding-bottom: 20px;
}

    .dropdown-options li {
        padding: 5px 8px;
        cursor: pointer;
    }

        .dropdown-options li:first-child {
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }

        .dropdown-options li:last-child {
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
        }

        .dropdown-options li:hover {
            background-color: rgba(72,130,179,.08);
            color: #4882B3;
        }

        .dropdown-options li.selected {
            font-weight: 700;
            color: #484293;
            background-color: rgba(72,66,147,.06);
        }


/* ============================================================
   50. ICON CONTAINER & BADGE (Telematics / TravelManager)
   ============================================================ */

.icon-container {
    position: relative;
    display: inline-block;
}

.map-icon-container {
    position: relative;
    display: inline-block;
}

.icon-badge {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #DD0000;
    font-weight: bold;
    z-index: 10;
    background: white;
    padding: 0.01px 3px;
}

.map-icon-badge {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #DD0000;
    font-weight: bold;
    z-index: 10;
    background: white;
    padding: 0.01px 3px;
}

@media (min-width: 1381px) {
    .icon-badge {
        margin-left: -25px;
    }

    .map-icon-badge {
        margin-left: -25px;
    }
}

.icon-badge-unit-page {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #DD0000;
    font-weight: bold;
    z-index: 10;
    background: white;
    padding: 0.01px 3px;
}

@media (min-width: 1179px) {
    .icon-badge-unit-page {
        margin-left: -60px !important;
    }
}

/* State indicator image overrides for mobile */
@media (max-width: 1380px) {
    .state-indicator-main-image {
        position: relative;
        background-color: steelblue;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .state-indicator-main-image::after {
            content: "";
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            bottom: 10px;
            background-color: white;
            border-radius: 10px;
            z-index: 0;
        }

    .current-state-global {
        position: relative;
        z-index: 1;
    }
}


/* ============================================================
   51. MAP SIDEBARS & DASHBOARD SIDEBARS (Telematics/Travel)
   ============================================================ */

.telematics-map {
    width: auto;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .06);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    margin: 0px;
    margin-top: 20px;
    height: 1000px;
    overflow-x: hidden !important;
    position: relative;
}

.travel-map {
    width: auto;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .06);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    margin: 0px;
    height: 1000px;
    overflow-x: hidden !important;
    position: relative;
}

.dashboard-container-limits {
    width: auto;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .06);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    height: auto;
    min-height: 930px;
    overflow-x: hidden !important;
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
    position: relative;
}

#dashboard-sidebar-container {
    width: 100%;
    height: auto;
    position: relative;
}

/* Left sidebar */
.map-sidebar-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 98%;
    background: rgba(237, 236, 236, .9);
    border-right: 1px solid #ccc;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    padding: 16px;
    z-index: 10;
    border-radius: 10px;
    margin: 10px;
    transition: transform 0.3s ease;
}

.dashboard-sidebar-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 100%;
    min-height: 300px;
    background: rgba(237, 236, 236, .95);
    border: 1px solid #d9d6d6;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    padding: 16px;
    z-index: 15;
    border-radius: 10px;
    margin: 0px;
    margin-top: 0px;
    transition: transform 0.3s ease-in-out;
}

.hidden-dashboard-sidebar-left {
    transform: translateX(-402px);
    transition: transform 0.3s ease-in-out;
}

/* Right sidebar */
.map-sidebar-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 260px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
    z-index: 10;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

    .map-sidebar-right .map-sidebar-panel {
        background: rgba(255,255,255,0.9);
        border: 1px solid #ccc;
        box-shadow: 2px 0 8px rgba(0,0,0,0.1);
        border-radius: 10px;
        padding: 0px;
        flex: 0 0 auto;
    }

/* Sidebar panel headings */
.map-sidebar-panel > h3,
.map-sidebar-panel > p {
    padding-left: 16px;
    padding-top: 0px;
}

.map-sidebar-left > h3 {
    padding-left: 0px;
    margin-top: 0px;
}

.map-sidebar-left > h3,
.map-sidebar-panel > h3 {
    padding-top: 0px;
    font-size: 16px;
}

.map-sidebar-left > h5,
.map-sidebar-panel > h5 {
    padding-left: 16px;
}

/* Side panel images */
.map-unit-side-panel-image {
    padding: 15px;
    margin-top: -60px;
    margin-bottom: -70px;
    margin-left: -20px;
    margin-right: -15px;
}

.map-flight-side-panel-image {
    padding: 50px;
    padding-bottom: 75px;
    width: 220px;
    margin-top: -60px;
    margin-bottom: -70px;
    margin-left: auto;
    margin-right: auto;
    vertical-align: middle;
}

/* Hidden states */
.hidden-sidebar {
    transform: translateX(262px);
}

.hidden-sidebar-left {
    transform: translateX(-450px);
}

/* Sidebar collapse buttons */
.sidebar-collapse-button {
    position: absolute;
    top: 10px;
    right: 260px;
    z-index: 20;
    border: 1px solid #ccc !important;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: right 0.3s ease;
    background: rgba(255,255,255,0.9);
    line-height: 1;
    font-size: 10px;
    width: auto;
    height: auto;
}

.sidebar-collapse-button-left {
    position: absolute;
    top: 10px;
    left: 420px;
    z-index: 20;
    border: 1px solid #ccc !important;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: left 0.3s ease;
    background: rgba(255,255,255,0.9);
    line-height: 1;
    font-size: 10px;
    width: auto;
    height: auto;
}

.dashboard-sidebar-collapse-button-left {
    position: absolute;
    top: 0px;
    left: 410px;
    z-index: 20;
    border: 1px solid #ccc !important;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: left 0.3s ease;
    background-color: white;
}

.sidebar-collapsed-btn {
    right: -2px;
}

.sidebar-collapsed-btn-left {
    left: 0;
}

/* Button arrow labels */
.sidebar-right-button-arrows {
    margin: 2px;
    margin-top: 5px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -1px;
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.sidebar-left-button-arrows {
    margin: 2px;
    margin-top: 5px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -1px;
    padding-left: 2px !important;
    padding-right: 4px !important;
}

/* Vertical separator line */
@media (min-width: 1381px) {
    .vertical-line {
        width: 0.5px;
        height: 40px;
        background-color: dimgray;
        border: none;
        margin: 0px;
    }
}


/* ============================================================
   52. FORM GRID & BACK-CONTROL (FlightForm, TelematicsUnit)
   ============================================================ */

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.form-group-forms {
    display: flex;
    flex-direction: column;
}

    .form-group-forms label {
        margin-left: 2px;
    }

.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea,
.form-group select,
.form-group .aspNetDisabled {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fafafa;
    transition: all 0.2s ease-in-out;
}

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #007bff;
        background-color: #fff;
        box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
    }

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.defaultform.lower-main-container.form-grid {
    align-content: start;
}

/* Back-control form styling */
.back-top-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.back-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0,0,0,.06);
    padding: 12px;
}

    .back-card > label {
        display: block;
        font-weight: 700;
        color: #111827;
        font-size: 17px;
        margin-bottom: 6px;
        margin-left: 18px;
    }

.back-control {
    width: 90% !important;
    max-width: 95%;
    min-width: 95%;
    box-sizing: border-box;
    height: 36px;
    padding: 6px 10px;
}

.back-control-forms {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    height: 36px;
    padding: 6px 10px;
    margin-left: 0px;
}

.back-control-forms-label {
    font-weight: 700;
}

/* Collapsable filter grid */
.collapsable-filters-checkboxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 10px;
}


/* ============================================================
   53. TELEMATICS SPECIFIC STYLES
   ============================================================ */

.UnitBarTextLeft {
    font-weight: 700;
}

.lb-negative-margin {
    margin-top: -48px;
}

input#MainContent_btnUnitLogPreview,
input#MainContent_btnEmail2SMSPreview,
input#MainContent_btnTagUsagePreview {
    height: 50px;
    margin-top: 5px;
}

/* Telematics reports sub-menu */
@media (max-width: 619px) {
    div#MainContent_Menu_TelematicsReports {
        background: none;
    }
}

/* Sub-menu link colour and active pill for Menu_TelematicsReports,
   Menu_TelematicsUnit and Menu_ClientForm - five blocks, removed. They are now
   .vx-submenu in 40-vx-components.css, applied by CssClass on each menu, so a
   fifth sub-menu can reuse them without a fifth client ID being added here. */

/* Item image shadow */
#MainContent_imgItemImage {
    box-shadow: 0 6px 14px rgba(0, 0, 0, .06) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
}

span#MainContent_lbDescription {
    font-size: 16px;
    font-family: inherit;
    width: 50%;
    height: 55px;
    text-align: right;
    padding-right: 0px;
    align-content: center;
    font-weight: 700;
}

/* Airline image */
.imgAirline {
    margin-left: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
}

/* Add user array template */
.add-user-array-template {
    width: 100%;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
    background-color: #fafafc;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    padding: 30px;
}


/* ============================================================
   54. FIXES — MISSING & INCORRECT ITEMS
   ============================================================ */

/* Fix: Site.Master uses form#form_sitemaster not form1 */
form#form_sitemaster {
    position: relative;
    z-index: 2;
}

/* ============================================================
   55. TOOLBAR PANEL (TelematicsManager, TelematicsUnit)
   ============================================================ */

/* toolbar-panel: the outer asp:Panel holding the toolbar-wrapper */
.toolbar-panel {
    width: 100%;
}

/* toolbar-wrapper-one-filter: used when only one filter button (no preview section) */
.toolbar-wrapper-one-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
}

/* pp-chart: placeholder panel for graph widget before JS renders it */
.pp-chart {
    width: 100%;
    min-height: 140px;
}

/* time-range-wrapper: wraps the custom time dropdown on graphs */
.time-range-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
}

/* filter-input: date inputs and textboxes inside filter panels */
.filter-input {
    height: 35px;
    border: 1px solid #ccc;
    border-radius: 10px !important;
    padding: 5px 10px;
    background-color: #fff;
    font-size: 14px;
    width: auto;
    min-width: 140px;
}

/* dashboard-sidebar-content: the inner scrollable content of the right sidebar */
.dashboard-sidebar-content {
    overflow-y: auto;
    flex: 1;
}

/* dropdown-text: text label inside the custom dropdown button */
.dropdown-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

/* ============================================================
   56. FILTER CONTAINERS — COLUMN/DISPLAY/OPTIONS/UNITS VARIANTS
   ============================================================ */

/* These are filter container/panel variants that share the
   same base as .filters-container but are toggled separately */
.filters-container-columns,
.filters-container-display,
.filters-container-options,
.filters-container-units {
    background: #fff;
    border: 1px solid #c8cacd;
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(6, 5, 24, 0.06);
    overflow: hidden;
}

/* toggle-filters variants — same style as toggle-filters */
.toggle-filters-columns,
.toggle-filters-units {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    padding-left: 8px !important;
    margin-top: 22px !important;
    cursor: pointer !important;
    padding-bottom: 10px !important;
    display: inline-flex !important;
    border-radius: 4px;
    transition: background 0.2s;
}


/* ============================================================
   57. TOOLTIP HOST (ExcelInvoiceImportForm)
   ============================================================ */

/* tooltip-host: wraps an image button + sidebar-tooltip span */
.tooltip-host {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    /* Show the tooltip on hover of the host */
    .tooltip-host:hover .sidebar-tooltip {
        visibility: visible;
        opacity: 1;
    }

/* li wrappers around tooltip-host buttons in ExcelInvoiceImportForm toolbar */
li#MainContent_li2,
li#MainContent_li1,
li#MainContent_li3,
li#li4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   58. BOOKING FORM — MISSING UTILITY CLASSES
   ============================================================ */

/* mt-2 / mt-md-0: Bootstrap spacing used on tab text spans in BookingForm */
.mt-2 {
    margin-top: 0.5rem !important;
}

@media (min-width: 768px) {
    .mt-md-0 {
        margin-top: 0 !important;
    }
}

/* pb-md-4: bottom padding on the travel-assistant-nav in BookingForm */
@media (min-width: 768px) {
    .pb-md-4 {
        padding-bottom: 1.5rem !important;
    }
}

/* date-range-input: date picker input in BookingForm filters */
.date-range-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fafafa;
    font-size: 14px;
    box-sizing: border-box;
}

/* landmark-select: select dropdown in BookingForm accommodation */
.landmark-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fafafa;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('../Images/arrow.png');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
    box-sizing: border-box;
}

/* container-CompanyName, container-Documents etc. — booking result label containers */
.container-CompanyName,
.container-Documents,
.container-additional-expenses,
.container-invoices,
.container-vouchers {
    color: #204059;
    font-family: "lato", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 13px;
    padding-top: 5px;
    margin: 0px;
}

/* booking-result-container: add top margin for Vehicle Rental repeater rows */
.booking-result-container + .booking-result-container {
    margin-top: 8px;
}

/* ============================================================
   59. VISITOR DISPLAY FORM — MOBILE FIXES
   ============================================================ */

/* VisitorDisplayForm uses visitor-access-form-fields + qr-and-info together. */
.visitor-access-form-fields.qr-and-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 490px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 530px) {
    .visitor-access-form-fields.qr-and-info {
        grid-template-columns: 1fr;
        width: auto;
        max-width: 300px;
        text-align: center;
        padding: 15px;
        padding-bottom: 0px;
    }

    .info-alongside-qr {
        padding: 15px;
        padding-bottom: 0px;
        text-align: left;
    }

    .visitor-access-form-fields.qr-and-info .form-group-forms {
        align-items: center;
    }
}

@media (max-width: 400px) {
    .visitor-access-form-fields.qr-and-info {
        max-width: 260px;
        padding: 10px;
    }
}

/* icon-button spacing on mobile for VisitorDisplayForm */
@media (max-width: 480px) {
    .icon-button {
        margin: 4px !important;
    }
}


/* ============================================================
   60. EXCEL INVOICE IMPORT — SEARCH/ACTION TOOLBAR
   ============================================================ */

/* The ExcelInvoiceImportForm uses .search-toolbar-container + .tooltip-host buttons. */
.nav.navbar-nav .tooltip-host {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ============================================================
   61. TELEMATICS LEFT SIDEBAR — ADDITIONAL FIXES
   ============================================================ */

/* The left sidebar in TelematicsManager overlays the map. */
.dashboard-sidebar-left {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

    .dashboard-sidebar-left h3 {
        padding-left: 0px;
        margin-top: 0px;
        font-size: 16px;
        padding-top: 0px;
    }

/* The right sidebar also needs scrolling */
.dashboard-sidebar-right {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Sidebar icons inside dashboard-sidebar-left */
.dashboard-sidebar-left .icon-container,
.dashboard-sidebar-left .map-icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* ============================================================
   62.  NAV FULL SYSTEM
   ============================================================ */

/* Core nav link rules — needed for ALL nav menus including hamburger */
.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 5px;
}

    .nav > li > a:hover {
        position: relative;
        display: block;
        padding: 10px 5px;
    }

    .nav > li > a:hover,
    .nav > li > a:focus {
        text-decoration: none;
        background-color: #eeeeee;
    }

.nav > li.disabled > a {
    color: #777777;
}

    .nav > li.disabled > a:hover,
    .nav > li.disabled > a:focus {
        color: #777777;
        text-decoration: none;
        cursor: not-allowed;
        background-color: transparent;
    }

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
    background-color: #eeeeee;
    border-color: #337ab7;
}

.nav .nav-divider {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}

.nav > li > a > img {
    max-width: none;
}

/* Nav tabs */
.nav-tabs {
    border-bottom: 1px solid #ddd;
}

    .nav-tabs > li {
        float: left;
        margin-bottom: -1px;
    }

        .nav-tabs > li > a {
            margin-right: 2px;
            line-height: 1.42857143;
            border: 1px solid transparent;
            border-radius: 4px 4px 0 0;
        }

            .nav-tabs > li > a:hover {
                border-color: #eeeeee #eeeeee #ddd;
            }

        .nav-tabs > li.active > a,
        .nav-tabs > li.active > a:hover,
        .nav-tabs > li.active > a:focus {
            color: #555555;
            cursor: default;
            background-color: #fff;
            border: 1px solid #ddd;
            border-bottom-color: transparent;
        }

/* Nav pills */
.nav-pills > li {
    float: left;
}

    .nav-pills > li > a {
        border-radius: 4px;
    }

    .nav-pills > li + li {
        margin-left: 2px;
    }

    .nav-pills > li.active > a,
    .nav-pills > li.active > a:hover,
    .nav-pills > li.active > a:focus {
        color: #fff;
        background-color: #337ab7;
    }

/* Nav stacked */
.nav-stacked > li {
    float: none;
}

    .nav-stacked > li + li {
        margin-top: 2px;
        margin-left: 0;
    }

/* ul.nav.navbar-nav — remove default left padding */
ul.nav.navbar-nav {
    padding-left: 0px;
}

/* Navbar floating helpers — CRITICAL for hamburger layout */
.navbar-right {
    float: right !important;
    margin-right: 0px;
}

@media (min-width: 654px) {
    .navbar-right ~ .navbar-right {
        margin-right: 0;
    }
}

/* .search class used on search ul in navheight containers */
.search {
    float: left !important;
}

@media (max-width: 767px) {
    /* Mobile: open dropdown inside navbar goes static */
    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }

        .navbar-nav .open .dropdown-menu > li > a,
        .navbar-nav .open .dropdown-menu .dropdown-header {
            padding: 5px 15px 5px 25px;
        }

        .navbar-nav .open .dropdown-menu > li > a {
            line-height: 20px;
        }

            .navbar-nav .open .dropdown-menu > li > a:hover,
            .navbar-nav .open .dropdown-menu > li > a:focus {
                background-image: none;
            }
}

/* Dropdown nav */
.navbar-nav > li > .dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* ============================================================
   63. BOOKINGFORM — TAB ICON CIRCLE (active state)
   ============================================================ */

/* The circle is formed by:
   - .fas { padding: 15px; border-radius: 50%; }  ← from Font Awesome rule
   - .selected { background-color: #484293 !important; }  ← from .selected rule
   - i.fas.tab-icon.selected { width/height/padding }  ← sizes the circle
   The .tab-icon.selected itself is intentionally empty in the original. */

/* i.fas.tab-icon.selected — legacy, kept for non-BookingForm pages */
i.fas.tab-icon.selected {
    width: 55px;
    height: 55px;
    padding-left: 25%;
    padding-right: 25%;
}

/* BookingForm circle active state overrides any legacy .selected rule */
.tab-circle--active i.fas {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    background-color: transparent !important;
    color: #fff !important;
    text-shadow: none !important;
}

/* The circle style in tab-nav-rounded active state */
.tab-nav-rounded .travel-nav-link.active .icon::before {
    border: 1px solid #297cbb;
    border-radius: 50%;
    padding: 14px;
    background-color: #297cbb;
}

/* ============================================================
   64. NAVHEIGHT CONTAINER — search + print/save layout
   ============================================================ */

.defaultform.nav.navbar-nav.padding_10.navheight {
    overflow: hidden; /* clearfix — contains the floated children */
}

    /* The inner asp:Panel / div that wraps both ul lists also needs to clear floats */
    .defaultform.nav.navbar-nav.padding_10.navheight > div {
        overflow: hidden;
        width: 100%;
    }

/* ============================================================
   65. ExcelInvoiceImportForm — tooltip host in navheight
   ============================================================ */

#MainContent_pInvoiceImporter {
    overflow: visible !important;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 20px;
    padding-top: 20px;
}

@media (max-width: 1258px) {
    #MainContent_pInvoiceImporter {
        flex-wrap: wrap;
        flex-direction: row;
        align-items: flex-start;
    }
}

@media (max-width: 928px) {
    #MainContent_pInvoiceImporter {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Tooltip hover trigger — show the span on parent hover */
.tooltip-host:hover > .sidebar-tooltip {
    visibility: visible !important;
    opacity: 1 !important;
}

/* LEFT: Back + search pill + search icon */
.eii-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* RIGHT: icon buttons */
.eii-right {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}


    /* li server-visibility wrappers inside eii-right */
    .eii-right li {
        list-style: none;
        display: inline-flex;
        align-items: center;
    }


/* Force-stop — red variant not in Site.css */
.eii-btn-stop {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #FEF2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #DC2626;
    border: 1px solid #dc262685;
    transition: background 0.15s ease;
}

    .eii-btn-stop:hover {
        background: #fecaca;
        color: #991b1b;
    }

/* Tablet <=860px: search+buttons row 1, upload full-width row 2 */
@media (max-width: 860px) {
    .eii-toolbar {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    }

    .eii-left {
        grid-column: 1;
        grid-row: 1;
    }

    .eii-right {
        grid-column: 2;
        grid-row: 1;
    }

    .eii-center {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
    }
}



/* ============================================================
   67. PULL-LEFT / PULL-RIGHT / CENTER-BLOCK helpers
   ============================================================ */

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.clearfix::after {
    display: table;
    content: " ";
    clear: both;
}

/* ============================================================
   68. NAVBAR RIGHT-LOWER ALIGNMENT
   ============================================================ */

ul.nav.navbar-nav.navbar-right.navbar-right-lower {
    display: flex;
    justify-content: flex-end !important;
}


/* ============================================================
