﻿@import url('workingsetpanelstyle.css');

.working-set-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative
}

.manual-planning-working-set-list-table {
    position: relative;
    min-width: 100%;
    min-height: 30%;
    display: flex;
    flex-grow: 1;
}

.workingSetSafeArea {
    min-height: 50px
}

.working-set-row-header .norma_dropdown .dropdown-menu {
    transform: translate3d(-82px, 24px, 0px) !important;
    top: 0px !important;
}

.workingSetResizeLine {
    position: absolute;
    inset-inline-end: -18px;
    width: 21px;
    height: 100%;
    background: transparent;
    z-index: 200;
}

.workingSetsPanelLegends {
    display: flex;
    gap: 12px;
    color: #000000;
    padding: 10px 0;
    justify-content: start;
}

    .workingSetsPanelLegends .singleStopStatus {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

        .workingSetsPanelLegends .singleStopStatus .statusLabel {
            width: 11px;
            height: 7px;
            display: block;
            box-shadow: 2px 2px 4px 0px #00000040;
        }

        .workingSetsPanelLegends .singleStopStatus.Dispatched .statusLabel {
            background: #00FFFF;
        }

        .workingSetsPanelLegends .singleStopStatus.PartiallyDispatched .statusLabel {
            background-color: #00FFFF; /* Cyan background */
            background-image: linear-gradient(to right, white 1.5px, transparent 1px); /* Vertical white lines */
            background-size: 2.5px 100%;
            border: 1px solid #00FFFF;
        }

        .workingSetsPanelLegends .singleStopStatus.Ontheway .statusLabel {
            background: #007BFF;
        }

        .workingSetsPanelLegends .singleStopStatus.InExecution .statusLabel {
            background: rgba(80, 0, 172, 1);
        }

        .workingSetsPanelLegends .singleStopStatus.Arrived .statusLabel {
            background: rgba(119, 36, 36, 1);
        }

        .workingSetsPanelLegends .singleStopStatus.Visited .statusLabel {
            background: rgb(140, 140, 140, 0.7) !important;
        }

        .workingSetsPanelLegends .singleStopStatus.Expected .statusLabel {
            background: #fff;
            box-shadow: 0px 4px 4px 0px #00000040;
        }

        .workingSetsPanelLegends .singleStopStatus.Planned .statusLabel {
            /*background: #A7D7FA;*/
            background: #D3F4FF !important;
        }

@container resizablepanel (max-width: 700px) {
    .workingSetsPanelLegends .singleStopStatus .statusText {
        font-size: 8px;
    }
}

@container resizablepanel (max-width: 800px) and (min-width: 700px) {
    .workingSetsPanelLegends .singleStopStatus .statusText {
        font-size: 10px;
    }
}

.stop-container.hiddenWorkingSetHeader .trip-container:nth-of-type(2) .trip-container-header:before {
    border-inline-start: 0 !important;
}

.stop-container.hiddenWorkingSetHeader .trip-container:nth-of-type(2) .trip-container-header .beforeTripLine {
    /* top: 14px; */
    background-image: url(../../images/ManualPlanning/kpi-working-set.svg);
    background-size: 7px;
    background-repeat: no-repeat;
    background-position: -4px 0px;
}

    .stop-container.hiddenWorkingSetHeader .trip-container:nth-of-type(2) .trip-container-header .beforeTripLine:before {
        background-image: url(../../images/ManualPlanning/kpi-working-set.svg);
        background-size: 7px;
        background-repeat: no-repeat;
        background-position: 10px 0px;
    }

.wsLevelsActionsDp .dropdown-menu {
    min-width: 140px !important;
}

.wsLevelsActionsDp .dropdown-menu {
    padding: 0 !important;
}

[dir=ltr] .working-sets-trips-Actions .dropdown-menu {
    left: -125px !important;
}

[dir=rtl] .working-sets-trips-Actions .dropdown-menu {
    right: -125px !important;
}



.wsLevelsActionsDp .showSortIcon {
    background-color: #EAECEE !important;
    display: flex;
    border-radius: 5px 5px 0 0;
}

    .wsLevelsActionsDp .showSortIcon:hover img {
        filter: none !important
    }

.showSortActions {
}

[dir = ltr] .visited-stops-sub-menu {
    position: absolute;
    top: 1px;
    right: -110px;
    background: #fff;
    box-shadow: 1px 1px 3px #ccc;
    border-radius: 4px;
}

[dir = rtl] .visited-stops-sub-menu {
    position: absolute;
    top: 1px;
    left: -105px;
    background: #fff;
    box-shadow: 1px 1px 3px #ccc;
    border-radius: 4px;
}

@container resizablepanel (min-width: 1200px) {
    [dir = ltr] .visited-stops-sub-menu {
        right: unset !important;
        left: -105px !important
    }

    [dir = rtl] .visited-stops-sub-menu {
        left: unset !important;
        right: -105px !important
    }
}

[dir = rtl] .visited-stops-sub-menu-arrow {
    transform: rotateY(180deg);
}

.wsLevelSortIcon {
    display: none;
    height: 8px
}

.wsLevelsActionsDp .saveSortActions {
    display: none;
    background-color: var( --norma-secondary--1) !important;
    border-radius: 5px 5px 0 0;
}

    .wsLevelsActionsDp .saveSortActions:hover img {
        filter: none !important
    }

    .wsLevelsActionsDp .saveSortActions p {
        color: var( --norma__neutral--light) !important
    }

.wsLevelsActionsDp .show.dropdown-menu {
    display: block !important;
    z-index: 100000;
}

.wsLevelsActionsDp .dropdown-menu a {
    padding: 4px 18px !important;
}

.wsLevelsActionsDp .dimmed {
    color: var( --norma__neutral--grey-1);
}

