
:root {
    --xxs: 5px;
    --xs: 10px;
    --sm: 15px;
    --md: 20px;
    --lg: 30px;
    --xl: 40px;
    --xxl: 50px;
    --3x: 60px;

    --greenLandmark: brightness(0) saturate(100%) invert(49%) sepia(52%) saturate(597%) hue-rotate(98deg) brightness(95%) contrast(94%);
    --yellowLandmark: brightness(0) saturate(100%) invert(98%) sepia(53%) saturate(4197%) hue-rotate(318deg) brightness(106%) contrast(110%);
    --blueLandmark: brightness(0) saturate(100%) invert(46%) sepia(73%) saturate(2383%) hue-rotate(201deg) brightness(102%) contrast(91%);
    --grayLandmark: brightness(0) saturate(100%) invert(97%) sepia(0%) saturate(1025%) hue-rotate(264deg) brightness(90%) contrast(89%);
    --redLandmark: brightness(0) saturate(100%) invert(35%) sepia(30%) saturate(2258%) hue-rotate(328deg) brightness(102%) contrast(94%);
    --blackLandmark: brightness(0) saturate(100%) invert(0%) sepia(10%) saturate(7474%) hue-rotate(242deg) brightness(117%) contrast(100%);
    --primary-filter: invert(46%) sepia(32%) saturate(587%) hue-rotate(147deg) brightness(93%) contrast(87%);
    --teal-filter: brightness(0) saturate(100%) invert(65%) sepia(16%) saturate(1662%) hue-rotate(132deg) brightness(89%) contrast(101%);
    --white-filter: brightness(0) saturate(100%) invert(100%) sepia(12%) saturate(7500%) hue-rotate(254deg) brightness(119%) contrast(110%);
    --info-filter: brightness(0) saturate(100%) invert(73%) sepia(17%) saturate(326%) hue-rotate(169deg) brightness(98%) contrast(95%);
    /* New Colors Filters */
    --location-blue-filter: brightness(0) saturate(100%) invert(56%) sepia(62%) saturate(1599%) hue-rotate(157deg) brightness(94%) contrast(99%);
    --location-teal-filter: var(--teal-filter);
    --location-orange-filter: brightness(0) saturate(100%) invert(58%) sepia(96%) saturate(1830%) hue-rotate(349deg) brightness(93%) contrast(110%);
    --location-yellow-filter: brightness(0) saturate(100%) invert(84%) sepia(11%) saturate(5572%) hue-rotate(338deg) brightness(103%) contrast(96%);
    --location-pink-filter: brightness(0) saturate(100%) invert(28%) sepia(61%) saturate(1799%) hue-rotate(287deg) brightness(89%) contrast(96%);
    --location-gray-filter: brightness(0) saturate(100%) invert(78%) sepia(11%) saturate(213%) hue-rotate(154deg) brightness(87%) contrast(92%);
    --gray550: rgba(211, 211, 211, 0.96); /* Replace with your actual gray color */
    --blue500: #007BFF; /* Blue color for the speed value */
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

/* Login Page */

.trax-login-gradient {
    background: rgb(6, 180, 240);
    background: -moz-linear-gradient(160deg, rgba(6, 180, 240, 1) 0%, rgba(15, 17, 49, 1) 100%);
    background: -webkit-linear-gradient(160deg, rgba(6, 180, 240, 1) 0%, rgba(15, 17, 49, 1) 100%);
    background: linear-gradient(160deg, rgba(6, 180, 240, 1) 0%, rgba(15, 17, 49, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#06b4f0", endColorstr="#0f1131", GradientType=1);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    border-radius: 0;
}

/* Traking Map Page */
.side-menu .selected {
    background-color: inherit;
    position: relative;
}

.side-menu .selected.selected img {
    filter: brightness(0) saturate(100%) invert(48%) sepia(75%) saturate(582%) hue-rotate(150deg) brightness(102%) contrast(103%);
}

.side-menu [key="_menuItem"]:nth-of-type(3) {
    border-bottom: 1px solid var(--gray550);
}

.top-floating-settings {
    flex-wrap: wrap;
    pointer-events: none;
}

.top-floating-settings > * {
    pointer-events: initial;
}

/*.top-floating-switch {*/
/*    --margin: 5px;*/
/*}*/

.top-floating-switch .selected {
    background: var(--primary);
    color: white;
}

.top-floating-switch .selected img {
    filter: var(--white-filter);
}

.top-floating-settings .filter-button img {
    height: 20px;
    pointer-events: none;
}

.filter-topArrowBox {
    top: 20px;
    --border: var(--white);
}

.filter-container {
    --border: var(--gray550);

}

.tracking-button.active, .statusTrip.active {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    border: var(--primary) solid 1px !important;
    transition: none;
}

.statusTrip.active img {
    filter: var(--white-filter);
}

button:disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;

    img {
        filter: var(--white-filter);
    }
}


.tracking-button:hover:not(.active) {
    background: var(--gray100) !important;
    color: var(--primary) !important;
    border: var(--gray100) solid 1px !important;
    transition: none;
}

.tracking-button:hover:not(.active) > img {
    filter: brightness(0) saturate(100%) invert(45%) sepia(30%) saturate(570%) hue-rotate(147deg) brightness(97%) contrast(95%);
    transition: none;
}

.top-floating-settings .tracking-button img {
    width: 20px;
}


.side-menu [key="_menuItem"] img {
    filter: brightness(0) saturate(100%) invert(41%) sepia(57%) saturate(323%) hue-rotate(147deg) brightness(101%) contrast(94%);
}

.outline:hover.outline:hover {
    border: 1px solid var(--primary);
}

.white-filter img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(12%) saturate(7500%) hue-rotate(254deg) brightness(119%) contrast(110%);
}

.wf-image img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(12%) saturate(7500%) hue-rotate(254deg) brightness(119%) contrast(110%);
}

.landmark-container {
    height: var(--elementHeight);
    border-radius: 100px;
    /* padding: 0px 20px 0px 30px; */
    min-width: 50px;
    min-height: 50px;
    color: var(--secondary200);
}

.landmark-container .landmark-add-edit {
    border-start-start-radius: 25px;
    border-end-start-radius: 25px;


}

/* .landmark-container .landmark-add-edit:hover, */
.landmark-container .landmark-add-edit.active {
    background-color: var(--primary);
    color: var(--white);
    transition: 0.4s;
}

/* .landmark-container .landmark-add-edit:hover img, */
.landmark-container .landmark-add-edit.active img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(12%) saturate(7500%) hue-rotate(254deg) brightness(119%) contrast(110%);
}

.zoom-container {
    border-radius: 100px;
    min-width: 50px;
}

.topIndex {
    z-index: 9999999999;
}

/* specific to my project */
.search-input {
    color: var(c);
    background-image: url("../../images/search-input.svg") !important;
    width: inherit;
}

.search-input::placeholder {
    color: var(--secondary200);
}

.search-input:active,
.search-input:focus,
.search-input:hover {
    border-color: inherit;
}

.search-container .search-item:hover {
    background-color: var(--primary);
    color: var(--white);

}

.mh20 {
    margin-left: var(--md);
    margin-right: var(--md);
}

.semi-circle {
    width: 145px;
    height: 70px;
    border-radius: 150px 150px 0 0;
    border: 3px solid var(--gray550);
    border-bottom: none !important;

    /* width: 125px;
    height: 62.5px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    border: 1px solid var(--gray550);
    border-bottom: 0; */
}

.s2d {
    --shadow: 0px 3px 8px #0000002d;
}

/* label icon styles */
.h50 {
    height: 50px !important;
}

.g20 {
    grid-gap: 20px;
}

.fwExtraBold {
    font-weight: 900 !important;
}

.fwMedium {
    font-weight: 700 !important;
}

.fcSecondary200 {
    color: var(--secondary200) !important;
}

/* action-confirm */

.action-confirm {
    --unit: 5px;
    --margin: 5px;
    --padding: 5px;
}

.action-confirm img {
    width: 28px;
}

/* Car doctor readings*/
.car-doctor-item {
    border-radius: 7px;
    border: 1px solid var(--gray550);
    background-color: var(--gray100);
    padding: 10px;
    padding-inline-end: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    position: relative;
}

.car-doctor-item .info {
    width: 15px;
    position: absolute;
    top: 6px;

    filter: var(--info-filter);
}

.car-doctor-item .info:hover {
    filter: none;
}

.doctor-readings-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 10px;
}

.doctor-readings-wrapper-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 35px;
    height: 100vh;

}

.addNewLandMarkModal {
    --padding: 5px;
    --margin: 5px;
    --unit: 5px;

}

.showMap > div:first-child {
    --padding: 5px;
    /*--margin: 5px;*/
    --unit: 5px;

    > img:first-child {
        width: 20px;
        height: 18px;
    }
}

.addNewLandMarkModal .delete {
    background-color: var(--red150);
    border-color: var(--red);
    color: var(--red);
}

.addNewLandMarkModal .delete:not(:disabled):hover {
    background-color: var(--red);
    border-color: var(--red);
}

/*trip-playback page*/
.top-tools-input {
    color: var(--secondary200);
    --unit: 5px;
    width: fit-content;
}

.top-tools-input:hover {
    border-color: var(--secondary200);
}

/* switch component*/
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

/* Hide default checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider (background) */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: 0.4s;
}

/* The circle inside the toggle */
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

/* Checked state */
input:checked + .slider {
    background-color: #4CAF50;
}

/* Circle moves to the right when checked */
input:checked + .slider:before {
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.search-input {
    --unit: 5px;
    position: relative;
}

.vehicleText {
    color: red;
}

.mb-2 {
    margin-bottom: 8px;
}

.ellipsis-text {
    width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-unit {
    min-width: 300px;
    min-height: 200px;
    padding: 20px;
}

.j-start {
    justify-content: start !important;
}

.vehicleListViewLeft {
    left: 300px !important;
}

.xls-item {
    position: absolute;
}

.button-img {
    img {
        margin-right: 10px !important;
    }
}

.sliderWrapper {
    width: 650px;
    height: 55px;
    border-radius: 30px;

    input[type="range"] {
        /*-webkit-appearance: none;*/
        /*appearance: none;*/
        width: 100%;
        height: 25px !important; /* Custom slider height */
        /*background: #e0e0e0!important;*/
        /* Default background color */
        border-radius: 10px; /* Rounded slider edges */
        outline: none; /* Remove default focus outline */
        transition: background 0.3s ease-in-out !important;
    }

    .eventHoverTooltip {
        position: absolute;
        background-color: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 5px;
        border-radius: 3px;
        font-size: 12px;
        pointer-events: none;
        z-index: 10;
    }


}

.send-sms {
    img {
        margin-inline-end: 10px;
        width: 26px;
        height: 16px;
    }
}

.gap-image {
    img {
        margin-inline-end: 10px;
    }
}

.textarea-container {
    position: relative;


    #textareaWrapper:focus {
        border-color: #007bff;
    }

    .counter {
        position: absolute;
        bottom: 10px;
        right: 10px;
        font-size: 12px;
        color: #478395;
    }
}

.mb10 {
    margin-bottom: 10px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}


.mr10 {
    margin-right: 10px;
}

.filter-border-button {
    --border: var(--gray550);
}

.p10 {
    padding: 10px;
}

#mapContainerModal {
    min-height: 100%;
    width: 100%;
    height: 500px;
    padding: 0;
    margin: 0;
}

.loadingIcon {
    img {
        animation: spinner 2s linear infinite;
        margin-inline-end: 10px;
    }

}

.IconLoading {
    animation: spinner 2s linear infinite;
    margin-inline-end: 10px;
}

/*.spinner{*/
/*    border:4px solid var(--gray550);*/
/*    width: 50px;*/
/*    height: 50px;*/
/*    bo*/
/*}*/
.ws
{
    white-space: nowrap;
}
.centerLoading {
    position: fixed;
    bottom: 50px;
    transform: translate(-50%, -50%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#snackbar {
    position: fixed;
    visibility: hidden;
    display: flex;
    align-items: center;
    min-width: 250px;
    color: white;
    text-align: center;
    border-radius: 100px;
    padding: 16px;
    z-index: 3;
    /*right: 20px;*/
    top: 50px;
    font-size: 16px;
    transition: opacity 0.5s, bottom 0.5s ease-in-out;
    opacity: 0;
}

#snackbar.show {
    visibility: visible;
    top: 90px;
    opacity: 1;
}

.mnd40 {
    margin-inline-end: 40px;
}

.mst40 {
    margin-inline-start: 40px;
}

.active {
    background: #06B4EF !important;
    color: white !important;
}

.selection {
    background-color: var(--primary);
    color: white;
}

.selection > img {
    filter: var(--white-filter)
}


.toolbar_info {
    /*visibility: hidden;*/
    width: 350px;
    position: fixed;
    background: #0F1131;
    color: #FFFFFF;
    text-align: center;
    border-radius: 10px;
    padding: 10px;
    /*top: -3px;*/
    /*left: 110%;*/
    z-index: 999999999999;
    /*opacity: 0;*/
    transition: opacity 0.3s;

    &::before {
        content: "";
        position: absolute;
        top: 28%;
        left: -14px;
        transform: translateY(-50%);
        border-width: 8px;
        border-style: solid;
        border-color: transparent #0F1131 transparent transparent;
    }
}

/*.toolbar_show_ar{*/
/*    width: auto;*/
/*    position: fixed;*/
/*    background: #0F1131;*/
/*    color: #FFFFFF;*/
/*    text-align: center;*/
/*    border-radius: 10px;*/
/*    padding: 10px;*/
/*    z-index: 9999999999999999999999999999;*/
/*    transition: opacity 0.3s;*/

/*    &::before {*/
/*        content: "";*/
/*        position: absolute;*/
/*        top: 50%;*/
/*        left: -14px;*/
/*        transform: translateY(-50%);*/
/*        border-width: 8px;*/
/*        border-style: solid;*/
/*        border-color: transparent  #0F1131 transparent transparent ;*/
/*    }*/
/*}*/
/*.toolbar_show_en{*/
/*    width: auto;*/
/*    position: fixed;*/
/*    background: #0F1131;*/
/*    color: #FFFFFF;*/
/*    text-align: center;*/
/*    border-radius: 10px;*/
/*    padding: 10px;*/
/*    z-index: 9999999999999999999999999999;*/
/*    transition: opacity 0.3s;*/

/*    &::before {*/
/*        content: "";*/
/*        position: absolute;*/
/*        top: 50%;*/
/*        right: -14px;*/
/*        transform: translateY(-50%);*/
/*        border-width: 8px;*/
/*        border-style: solid;*/
/*        border-color: transparent  transparent transparent #0F1131  ;*/
/*    }*/
/*}*/
/*.toolbar_show_bottom {*/
/*    max-width: 300px;*/
/*    width: auto;*/

/*    position: fixed;*/
/*    background: #0F1131;*/
/*    color: #FFFFFF;*/
/*    text-align: center;*/
/*    border-radius: 10px;*/
/*    padding: 10px;*/
/*    z-index: 9999999999999999999999999999;*/
/*    transition: opacity 0.3s;*/
/*visibility: hidden;*/
/*}*/

/*.toolbar_show_bottom::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    bottom: 39px;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    border-width: 8px;*/
/*    border-style: solid;*/
/*    border-color: transparent transparent #0F1131 transparent;*/
/*}*/

/*.sub-menu {*/
/*    display: none;*/
/*    flex-direction: row;*/
/*}*/


.notificationsCard {

    &:hover {
        cursor: pointer;
        width: 100%;
        background: #EFFBFF !important;

        .left_icon {
            img {
                filter: var(--white-filter);
            }

            border: 2px solid #fff;
            background: #0F1131;
        }
    }
}

.left_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 28px;

    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16); /* Example with a subtle black shadow */


}

.container-gradient {
    background: rgb(6, 180, 240);
    background: -moz-linear-gradient(160deg, rgba(6, 180, 240, 1) 0%, rgba(15, 17, 49, 1) 100%);
    background: -webkit-linear-gradient(160deg, rgba(6, 180, 240, 1) 0%, rgba(15, 17, 49, 1) 100%);
    background: linear-gradient(160deg, rgba(6, 180, 240, 1) 0%, rgba(15, 17, 49, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#06b4f0", endColorstr="#0f1131", GradientType=1);
}

.expandedGrid {
    display: grid;
    grid-template-columns: 250px calc(100% - 250px);
}

.collapsedGrid {
    display: grid;
    grid-template-columns: 80px calc(100% - 80px);
}


.progress-container {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    /*justify-content: center;*/
    width: 100%;
    margin-top: 40px;
}

.vehicle-count {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.dashboardStatusCard {
    /*width: 334px;*/
}

.progress-bar {
    /*width: 80%;*/
    height: 15px;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.progress-segment {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.5s ease;
}

.green {
    background-color: #28a745;
}

.inactive {
    background-color: #A6BBD0;
}

.red {
    background-color: #dc3545;
}

.separator {
    width: 10px;
    background: white;
    height: 15px;
}

.segment-label {
    position: absolute;
    color: white;
    font-weight: bold;
}

.tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    border-radius: 5px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;

}

/*.visible {*/
/*    visibility: visible;*/
/*    opacity: 1;*/
/*}*/

.progress-values {
    display: flex;
    justify-content: space-between;
}

.chart-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    text-align: center;
}

.chart-container-bar {
    position: relative;
    width: 100%;
    max-width: 750px;
    /*margin: 0 auto;*/
    font-family: Arial, sans-serif;
    text-align: center;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #333;
}

.chart-title {
    font-weight: bold;
    font-size: 18px;
}

.chart-subtitle {
    font-size: 12px;
    color: #666;
}

.chart-content {
    position: relative;
    width: 100%;
    height: 300px;
}

canvas {
    width: 100%;
    height: 100%;
}

.chart-center {
    position: absolute;
    display: flex;
    font-weight: 600;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.chart-total {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}


.chart-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.legend {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    font-size: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    display: inline-block;
}

.table_view {
    table {

        thead {
            background: white;
            text-align: start;
            z-index: 1000;
        }

        tbody {
            text-align: start;

            tbody::-webkit-scrollbar {
                width: 10px; /* Width of the scrollbar */
            }

            tbody::-webkit-scrollbar-track {
                background: red /* Track background */
            }

            tbody::-webkit-scrollbar-thumb {
                background-color: red; /* Scrollbar color */
                border-radius: 5px; /* Rounded corners */
            }

            tbody::-webkit-scrollbar-thumb:hover {
                background-color: red; /* Darker color on hover */
            }

        }

        tr {
            background: white;
        }
    }
}

.table_view_style {
    table {

        thead, tr {
            background: var(--red150) !important;

        }


    }
}

.filter-primary {
    filter: invert(6%) sepia(45%) saturate(3841%) hue-rotate(229deg) brightness(83%) contrast(98%);
}

.bgLightRed {
    background-color: var(--red150) !important;
}

.semi-circle-container {
    position: relative;
    width: 145px;
    height: 72.5px;
}

.semi-circle-bg {
    width: 130px;
    height: 72.5px;
    border-radius: 145px 145px 0 0;
    border: 5px solid #ccc;
    border-bottom: none;
    position: absolute;
    top: 0;
    left: 0;
}

.semi-circle-progress {
    width: 130px;
    height: 72.5px;
    border-radius: 145px 145px 0 0;
    border: 5px solid blue;
    border-bottom: none;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: center bottom;
    transform: rotate(360deg);
    transition: transform 0.5s ease;
}

.speed-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: blue;
}

/* print.css */

@media print {
    body {
        margin: 0;
        color: #000;
        background-color: #fff;

    }

    .c_fiveAuto {
        display: flex !important;
    }

    /* Hide non-print elements */
    .no-print {
        display: none;
    }

    .print-header {
        position: absolute;
        right: 20px;
        margin-bottom: 20px;
    }

    /*.print {*/
    /*    display: block !important;*/
    /*}*/
}

.add-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--thumbBG) var(--scrollbarBG);
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100%;
}


.bgGray200 {
    background-color:rgb(211 211 211 / 8%);
}