﻿@import url("./_variables.css");
@import url("../design-system/variables/_colors.css");
@import url("../design-system/variables/_dimensions.css");

.working-set-info {
    background-color: white;
    border-radius: 20px;
    overflow: auto;
    height: 100%;
    position: relative;
    overscroll-behavior: contain;
}

.working-set-info-exit-icon {
    margin-block: 10px 0px;
    margin-inline: auto 9px;
    width: 15px;
}

.working-set-info-bold-font {
    font-family: BrownStdBold;
}

/*.working-set-info-container .card-body .table td, */.working-set-info-container .card-body .table th {
    padding: 0px var(--norma--padding-sm) !important;
}

.working-set-info-container .card-body .table tr:first-child th, .working-set-info-container .card-body .table tr td:first-child {
    padding-inline-end: var(--norma--padding-md) !important;
    /*padding: 0px var(--norma--padding-md) !important;*/
}

    .working-set-info-container .card-body .table:not(.table-borderless) td {
        border-block: none;
        padding-block: 5px
    }

.working-set-info-container .card-body .table:not(.table-borderless) thead th {
    /*border-block: 2px solid var(--norma__neutral--cyan);*/
    border-block: unset !important;
}

.working-set-info-container .card-body .table: not(.table-borderless) thead td {
    border-top: none;
}

.working-set-info-small-font {
    font-family: BrownStdRegular;
}

.working-set-info-green-font {
    color: var(--Logistic-Suit-Netural-Green3);
}

.working-set-info-workingSet-details-row {
    display: inline-grid;
    margin-inline-end: 20px;
}

.working-set-info-icon-container {
    margin: 5px;
    place-items: flex-start center;
    justify-content: center;
    display: flex;
    width: 50px;
}

.working-set-info-driver-item {
    margin-inline-end: 25px;
}

.working-set-info-exit-icon {
    margin-block: 10px 0px;
    margin-inline: auto 9px;
    width: 15px;
}

.working-set-info-sticky {
    position: sticky;
    inset-inline-start: 0px;
    z-index: 1;
/*    background: white;*/
    overflow: auto;
    height: 100%;
}

@font-face {
    font-family: BrownStdRegular;
    src: url("../fonts/BrownStd-Regular.otf");
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: BrownStdBold;
    src: url("../fonts/BrownStd-Bold.otf");
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
}

.hidden {
    display: none !important;
}

#working-set-info::-webkit-scrollbar {
    width: 4px !important;
    height: 4px !important;
}

#working-set-info::-webkit-scrollbar-track {
    background-color: white !important;
}

#working-set-info::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--Logistic-Suit-Secondary) !important;
}

    #working-set-info::-webkit-scrollbar-thumb:hover {
        background: var(--Logistic-Suit-Secondary) !important;
    }

.working-set-info-card-body {
    display: flex;
    flex-direction: column;
}

.driver-remaining-hours {
    display: flex;
}

    .driver-remaining-hours .driver-remaining-hours-title {
        font-weight: 600;
        margin-inline-end: 20px;
    }

    .driver-remaining-hours .remaining-hours-content {
        display: flex;
    }

        .driver-remaining-hours .remaining-hours-content .remaining-hours-content-item {
            display: flex;
            width: 35px;
            padding-inline-start: 3px;
        }

            .driver-remaining-hours .remaining-hours-content .remaining-hours-content-item img {
                margin-inline-end: 2px;
            }

.dividerTopBorder {
    border-top: 1px solid var(--norma-secondary--2);
}

.workingSetInfoSticky {
    position: sticky;
    inset-inline-start: 0px;
}

.working-set-info-sticky::-webkit-scrollbar {
    width: 4px !important;
    height: 4px !important;
}

.working-set-info-sticky::-webkit-scrollbar-track {
    background-color: white !important;
}

div.working-set-info-sticky::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var( --norma__neutral--light-blue) !important;
}

.wsInfoHeaderStyle {
    position: sticky;
    top: 0px;
    z-index: 10000;
    border-bottom: 1px solid var(--norma__neutral--grey-3);
/*    background: var(--norma__neutral--light);*/
}

.norma--wsVehicle-details-items-container {
    margin-bottom: 0;
}

.norma--wsVehicle-details-items-title {
    color: var(--norma__neutral--light-blue);
    padding: var(--norma--padding-xs) var(--norma--padding-sm);
    font-size: var(--norma--font-xs);
    line-height: var(--norma--line-height-5);
    font-weight: var(--norma--fw-bold);
}

.norma--wsVehicle-details-items-name {
    color: var(--norma__neutral--light-blue);
    padding: var(--norma--padding-xxs) var(--norma--padding-sm);
    font-size: var(--norma--font-xs);
    line-height: var(--norma--line-height-6);
}

.wsVehicleInfo {
    padding: 0px 10px;
}   

.wsVehicleInfo > div {
    padding-top: 8px;
    padding-inline: 0;
}

.singleVehicleName .vehicleCode {
    color: #2B5194;
}

.table-id-column {
    width: 15% !important;
    max-width: 15% !important;
    word-break: break-word;
    border-end-start-radius: 5px 5px;
    border-start-start-radius: 5px 5px;
    padding-inline-start: 8px !important;
}

.table-skills-column {
    width: 30% !important;
    max-width: 30% !important;
    word-break: break-word;
}

.table-phone-column, .table-name-column, .table-code-column {
    width: 15% !important;
    max-width: 15% !important;
    word-break: break-word;
}

.table-availability-column {
    width: 5% !important;
    max-width: 5% !important;
    border-start-end-radius: 5px 5px;
    border-end-end-radius: 5px 5px;
}

.norma--wsVehicle-Trailer-info-items-card td, .norma--wsVehicle-Trailer-info-items-card th {
    padding-top: 4px !important;
    padding-bottom: 5px !important;
}

/**************/
.norma--wsVehicle-Trailer-info-items-card {
    border-radius: 0px;
    border: none;
    border-top: 2px solid var(--norma__neutral--grey-3);
}

.pallets-card .norma--wsVehicle-Trailer-info-items-card {
    border-top: unset !important;
}

.norma--wsVehicle-Trailer-info-items-card .card-header {
    padding: var(--norma--padding-xs) var(--norma--padding-xs) var(--norma--padding-xs);
    border: 0px;
    background-color: var(--norma__neutral--light);
}

        .norma--wsVehicle-Trailer-info-items-card .card-header span {
            color: var(--norma-secondary--1);
            font-weight: var(--norma--fw-medium);
            font-size: var(--norma--font-xs);
            margin-inline: var(--norma--margin-xs);
        }

    .norma--wsVehicle-Trailer-info-items-card .card-body {
        padding: var(--norma--padding-xxs);
        /* background: var(--norma__neutral--grey-3); */
/*        max-height: var(--norma--height-info-box-max);
*/        overflow:auto
    }

    .norma--wsVehicle-Trailer-info-items-card .table {
        margin-bottom: 0px;
    }

        .norma--wsVehicle-Trailer-info-items-card .table thead tr {
            height: var(--norma--height-md);
        }

        .norma--wsVehicle-Trailer-info-items-card .table thead th {
            color: var(--norma__neutral--light-blue);
            padding: var(--norma--padding-xs) var(--norma--padding-sm);
            font-size: var(--norma--font-xs);
            line-height: 21px;
            font-weight: 500;
        }

    .norma--wsVehicle-Trailer-info-items-card table thead tr th, .norma--wsVehicle-Trailer-info-items-card table tbody tr td {
        background-color: var(--norma__neutral--light);
        /*vertical-align: initial !important;*/
    }

    .norma--wsVehicle-Trailer-info-items-card table tbody tr:not(:last-child) {
        border-bottom: 1px solid #D8D8D8;
        /*vertical-align: initial !important;*/
    }



.norma--wsVehicle-Trailer-info-items-card .table thead th {
    /*border-bottom: 2px solid var(--norma__neutral--grey-3);*/
    border-bottom: unset !important;
    background: var(--norma__neutral--cyan);
}

        .norma--wsVehicle-Trailer-info-items-card .table thead th * {
            display: flex;
            align-items: center;
            height: 100%;
            line-height: 22px;
        }

    .norma--wsVehicle-Trailer-info-items-card td {
        color: var(--norma__neutral--grey-1);
    }

.wsVehicle-Trailer-info-title-wrap {
    display: flex;
    gap: 0 var(--norma--padding-xs);
    height: var(--norma--height-sm);
    align-items: center;
}

.capacity-card, .dimensions-card, .pallets-card {
    padding: 4px 10px;
}

.capacity-header, .dimensions-header {
    border-radius: 5px;
    background: #F3F5F8;
    color: #2680EB;
    font-weight: 300;
    line-height: normal;
    height: var(--norma--height-md);
}

.pallets-header {
    border-start-start-radius: 5px;
    border-start-end-radius: 5px;
    background: #F3F5F8;
    color: #2680EB;
    font-weight: 300;
    line-height: normal;
    height: var(--norma--height-md);
}
.wsHeaderRightSide {
    gap: 10px;
}

    .wsHeaderRightSide .directToLiveTracking {
        gap: 7px;
        align-items: center;
    }

        .wsHeaderRightSide .directToLiveTracking img {
            height: 12px;
        }

        .wsHeaderRightSide .directToLiveTracking a {
            font-size: var(--norma--font-xs);
            text-decoration: underline;
            font-weight: 500;
            color: #2680EB;
            line-height: 14.5px
        }