﻿@import '../design-system/variables/_colors.css';

.trip-container {
    display: flex;
    flex-direction: column;
    /* background-color: var(--norma__neutral--blue); */
    padding: 2px;
    padding-block: 0px;
    padding-inline: 0;
    border-block: none;
    border-radius: var(--norma--border-raduis-sm);
    margin-block-end: 2px;
    /*    border-right: 5px solid #bdd9f9;
    
*/
}

    .trip-container.dimmed-trip * {
        pointer-events: none !important;
    }

.overlay-trip {
    position: absolute;
    background: #CDCBCB4D;
    z-index: 1000000000;
    height: 100%;
    width: 100%;
    pointer-events: none !important;
}

/* Edge-specific fix */
.reassign-orders-overlay, .tripDriverPopupContainer {
    position: sticky !important; /* Still set as fixed */
    /* Ensure correct positioning manually if necessary */
}

.full-width .trip-container-header {
    width: calc(100vw - 88px);
}

.trip-container-header:after {
    position: absolute;
    inset-inline-start: -16px;
}

.opacity-hidden {
    opacity: 0;
}

.opacity-visible {
    opacity: 1;
}

.trip-container-header {
    display: flex;
    /*    justify-content: space-between;
*/
    align-items: center;
    min-height: 32px;
    width: calc(50vw - 45px);
    position: sticky;
    inset-inline-start: 28px;
    padding-inline-end: 2px;
    z-index: 1000;
    padding-inline-start: 8px;
    /*padding-inline-start: 30px;*/
    background: var(--norma__neutral--blue);
}

    .trip-container-header .stops-orders {
        margin-inline-start: 5px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.trip-container-footer {
    display: flex;
    align-items: center;
    min-height: 42px;
    height: fit-content;
    position: sticky;
    inset-inline-start: 28px;
    padding-inline-start: 30px;
    background: #a0c4ec;
    margin-inline-start: 6px;
    margin-inline-end: -5px;
    z-index: 8522;
    margin-inline-end: -27px;
    width: calc(50vw - 47px);
    padding-inline-end: 2px;
}

.total-distance-between-stops-select {
    padding-top: 14px !important;
    font-size: 10px !important;
}

.wsTrip-inprocess .ws-trip-footer div.workingSet-stop-header-row, .wsTrip-inprocess .trip-container-footer {
    background-color: #8DCDE3 !important
}

.tripFooterDistanceBetweenTwoStops:nth-child(odd) {
    position: absolute;
    top: 2px;
    bottom: 0px;
    inset-inline-start: 3px;
    display: flex;
    height: 13px;
    background-size: 100%;
    background-position: center center;
    z-index: 6;
    /* right: -26px; */
    text-align: center;
    background-repeat: repeat;
    align-items: center;
}

.tripFooterDistanceBetweenTwoStops:nth-child(even) {
    position: absolute;
    top: 2px;
    bottom: 0px;
    inset-inline-start: 0px;
    display: flex;
    height: 13px;
    background-size: 100%;
    background-position: center center;
    z-index: 6;
    /* right: -26px; */
    text-align: center;
    background-repeat: repeat;
    align-items: center;
}

.tripFooterDistanceBetweenTwoStops span {
    display: block;
    height: auto;
    max-height: 60%;
    min-height: 18px;
    font-size: var(--norma--font-xxs);
    inset-block-start: -5px;
    padding: 4px 0px;
    color: rgba(24, 135, 69, 1);
    text-overflow: initial;
    margin: 0px 4px;
}

.trip-container-header .trip-info {
    display: flex;
    align-items: center;
}

    .trip-container-header .trip-info .trip-info-icon:hover {
        background: none !important
    }

        .trip-container-header .trip-info .trip-info-icon:hover img {
            filter: invert(88%) sepia(15%) saturate(1226%) hue-rotate(87deg) brightness(90%) contrast(85%);
        }

    .trip-container-header .trip-info .cancel-trip {
        width: 60px;
        height: 20px;
        background-color: var(--norma__neutral--grey-6);
        border: 1px solid #FF0000;
        margin-inline: 2px;
        color: var(--norma__neutral--grey-7);
        font-size: var(--norma--font-xxs);
        border-radius: var(--norma--border-raduis-sm);
    }

    .trip-container-header .trip-info span.trip-info-title {
        margin-inline-end: 10px;
        color: #212529;
        font-weight: 700;
    }



    .trip-container-header .trip-info .trip-checkbox {
        width: 13px;
        margin-inline-end: 5px;
        accent-color: var(--norma__neutral--light-blue);
    }

.trip-container-header .trip-summery {
    align-items: center;
    display: flex;
}

    .trip-container-header .trip-summery .trip-summery-item {
        width: 100px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-inline: 10px;
    }

        .trip-container-header .trip-summery .trip-summery-item span {
            white-space: nowrap;
            font-weight: var(--norma--fw-medium);
        }

.blue-font-color {
    color: var(--norma-secondary--2);
}

.bold-font {
    font-weight: 600;
}

.trip-checkbox-container {
    display: flex;
}

.compact-view .trip-container-header {
    width: calc(50vw - 26px);
    inset-inline-start: 4px;
}

.trip-container-header.trip_compact_collapsed {
    background: var(--norma-secondary--2);
}

    .trip-container-header.trip_compact_collapsed .trip-info, .trip-container-header.trip_compact_collapsed .trip-summery-item, .trip-container-header.trip_compact_collapsed .blue-font-color {
        color: var(--norma__neutral--light)
    }

        .trip-container-header.trip_compact_collapsed .trip-info span.trip-info-title {
            color: var(--norma__neutral--grey-2);
        }

    .trip-container-header.trip_compact_collapsed .norma--action-chip-icon {
        filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(87deg) brightness(106%) contrast(101%);
    }

.trip-container {
    position: relative
}

.trip-container-header:before {
    position: absolute;
    top: 0;
    inset-inline-start: -16px;
    display: block;
    width: 15px;
    height: 1em;
    content: "";
    border-bottom: .7px solid var(--norma__neutral--light-blue);
    /*    border-inline-start: .7px solid var(--norma__neutral--light-blue);
*/
    z-index: 1;
}

.beforeTripLine {
    position: absolute;
    top: 0px;
    inset-inline-start: -16px;
    display: block;
    width: 16px;
    min-height: 25px;
    content: "";
    border-inline-start: 1px solid var(--norma-secondary--2);
    background-color: white !important;
}

    .beforeTripLine:before {
        position: absolute;
        top: 0px;
        inset-inline-start: -14px;
        display: block;
        width: 13px;
        height: 100%;
        content: "";
        background-color: white !important;
    }

.compact-view .trip-container-header:before {
    display: none
}

.compact-view .trip-container-header {
    padding-inline-start: 2px;
}
/*.trip-container:after {
    position: absolute;
    top: 16px;
    bottom: 0;
    inset-inline-start: 23px;
    display: block;
    height: calc(100% - 42px);
    content: "";
    z-index: 10;
    border-inline-start: .7px solid var(--norma__neutral--light-blue);
}*/
/*.workingSet-stop-header-item:after {
    position: absolute;
    top: -24px;
    bottom: 0;
    inset-inline-start: 23px;
    display: block;
    height: calc(100% - 42px);
    content: "";
    z-index: 10;
    border-inline-start: .7px solid var(--norma__neutral--light-blue);
}*/
/*.stop-container .trip-container:nth-last-of-type(1):after {
    display: none
}*/
.collapse-expand-trip {
    position: absolute;
    inset-inline-start: 0px;
    /*inset-inline-start: 1px;*/
    top: 0px;
    z-index: 1;
}

    .collapse-expand-trip img {
        width: 15px;
        height: 15px;
        position: absolute;
        inset-inline-start: -9px;
        top: 5px;
        z-index: 1;
        border-radius: 0px;
        cursor: pointer
    }

.trip-container.detailsViewCollapsedTrip {
    background-color: var(--norma__neutral--main-light-blue);
}

.stop-container .trip-container:nth-last-of-type(4) .beforeTripLine {
    border-inline-start: 0.7px solid var(--norma__bg-light);
    top: 0px;
}

.workingSetChecked .stop-container .trip-container:nth-last-of-type(4) .beforeTripLine {
    border-inline-start: .7px solid #AFB1D8
}

.stop-container .trip-container:nth-last-of-type(4) .trip-container-header:before {
    border-inline-start: 0.7px solid var(--norma__neutral--light-blue);
}

.stop-container .trip-container:nth-of-type(2) .trip-container-header:before {
    position: absolute;
    top: -40px;
    inset-inline-start: -16px;
    display: block;
    width: 15px;
    height: 55px;
    content: "";
    border-bottom: 1px solid var(--norma-secondary--2);
    border-inline-start: 1px solid var(--norma-secondary--2);
    z-index: 1;
}
/* handle collapse trip with dropdown*/
.stop-container .trip-container:nth-of-type(1) .trip-container-header {
    z-index: 1000;
}

.stop-container .trip-container:nth-of-type(2) .trip-container-header {
    z-index: 999;
}

.stop-container .trip-container:nth-of-type(3) .trip-container-header {
    z-index: 998;
}

.stop-container .trip-container:nth-of-type(4) .trip-container-header {
    z-index: 997;
}

.stop-container .trip-container:nth-of-type(5) .trip-container-header {
    z-index: 996;
}

.stop-container .trip-container:nth-of-type(6) .trip-container-header {
    z-index: 995;
}

.stop-container .trip-container:nth-of-type(7) .trip-container-header {
    z-index: 994;
}

.stop-container .trip-container:nth-of-type(8) .trip-container-header {
    z-index: 993;
}

.stop-container .trip-container:nth-of-type(9) .trip-container-header {
    z-index: 992;
}

.stop-container .trip-container:nth-of-type(10) .trip-container-header {
    z-index: 991;
}

.trip-container-header .trip-driver select {
    border: 0.5px solid var(--norma-secondary--3);
    border-radius: var(--norma--border-raduis-xs);
    min-width: 102px;
    background: transparent;
    color: var(--norma__neutral--light-blue);
    outline: none !important;
    font-size: var(--norma--font-xxs);
}

.trip-plan-id {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    margin-inline: 10px;
    padding: 4px;
    cursor: pointer;
    /*    width: fit-content;
    max-width: 90%;*/
    height: 24px;
    margin-top: 4px;
}

    .trip-plan-id p {
        color: rgba(38, 128, 235, 1);
        text-decoration: underline;
        width: 85%;
    }

    .trip-plan-id .norma-live-icon-manual-planning {
        padding-inline: 0 !important;
        height: 15px !important;
        width: 15px !important;
        background-image: url('../../images/ManualPlanning/whiteNormaLiveIcon.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
    }





@container resizablepanel (max-width: 1023px) {
    .trip-driver-referenceNumber {
        width: 8vw !important;
    }
}

@container resizablepanel (min-width: 1024px) {
    .trip-driver-referenceNumber {
        width: 20vw !important;
    }
}

.workingSetTripDriversWrap {
    display: flex;
    align-items: center;
    gap: 2px;
    width: 100%;
    cursor: pointer
}

.tripDriverIcon {
}

.tripDriversNames {
    display: flex;
    align-items: center;
    display: block;
    display: -webkit-inline-box;
    max-width: 100%;
    height: 17.5px;
    line-height: 17.5px;
    /*width: 123px;*/
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: clip;
    padding-top: 1px;
}

.singleTripDriverName {
    display: inline;
}

    .singleTripDriverName:nth-last-of-type(1) .singleTripDriverNameCommaAfter {
    }

.tripDriversPopupOpenIcon {
    min-width: 20px;
    text-align: center;
    cursor: pointer;
}

    .tripDriversPopupOpenIcon img {
        min-width: 14px;
    }

.workingSetTripDriverPopoup {
    position: absolute;
    top: 0px;
    inset-inline-end: 23%;
    min-width: 50%;
    min-height: 160px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 2;
    z-index: 100000
}

.norma--overlay-footer-button-outline {
    min-width: 107px;
    border-radius: var(--norma--border-raduis-sm);
    height: 26.6px;
    font-size: var(--norma--font-xs);
    color: var(--norma__neutral--grey-1);
    background: transparent;
    border: 1px solid var(--norma-primary--1);
    line-height: 20px;
}

.norma--overlay-footer-button-filled {
    min-width: 107px;
    border-radius: var(--norma--border-raduis-sm);
    height: 26.6px;
    font-size: var(--norma--font-xs);
    color: var(--norma__neutral--light);
    background: var(--norma-primary--1);
    border: 1px solid var(--norma-primary--1);
    line-height: 20px;
}

.norma--overlay.workingSetTripDriverPopoup .norma--overlay-content {
    padding-top: 20px
}

.norma--overlay.workingSetTripDriverPopoup .norma--input-select-element + .norma--input-select-label {
    top: -8px
}

.norma--overlay.workingSetTripDriverPopoup .norma--radzen-custom-dp .rz-dropdown, .norma--radzen-custom-dp .rz-dropdown:hover {
    border: 0.5px solid var(--norma__neutral--grey-2) !important;
}

.norma--overlay.workingSetTripDriverPopoup .norma--radzen-custom-dp-requred {
    color: var(--norma--danger)
}

.trip-container .dropdown-toggle .norma--action-chip-icon {
    min-width: var(--norma--width-md);
    min-height: var(--norma--height-md);
}

.tripDriverPopupContainer {
    /*position: sticky;
    height: 0px;
    z-index: 10000000;
    inset-inline-start: 28px;
    width: calc(50vw - 45px);*/
    position: fixed;
    height: 0px;
    z-index: 10000000;
    inset-inline-start: 3%;
    width: 100%;
    top: 35%
}

.selectedTripToAssignDriver {
    border: 1px solid var(--norma-secondary--2);
}
/* handle working set checked style */
.workingSetChecked .stop-container .trip-container:nth-last-of-type(1) .beforeTripLine {
    border-inline-start: 0.7px solid #afb1d8;
}

.workingSetChecked .trip-container-header, .workingSetChecked .workingSetStopRowAfterLine, .workingSetChecked .workingSetStopRowBorderRight, .workingSetChecked .tripDetailsWrapper .workingSet-stop-row:nth-last-of-type(1) .workingSet-stop-header-row .workingSetStopRowAfterLine::before {
    background: #3F53A4;
    border-inline-start: 1px solid #3F53A4;
}

    .workingSetChecked .trip-container-header .norma--action-chip-icon:not(.collapse-expand-trip) img, .workingSetChecked .workingSetTripDriversWrap img {
        filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(317deg) brightness(194%) contrast(102%);
    }

    .workingSetChecked .trip-container-header .dropdown-toggle .norma--action-chip-icon img {
        filter: none
    }

    .workingSetChecked .trip-container-header .trip-info span.trip-info-title {
        color: var(--norma__neutral--light)
    }

.workingSetChecked .tripDetailsWrapper {
    background: var(--norma__neutral--light);
}

.workingSetChecked .stop-container {
    background: #afb1d8;
}

.workingSetChecked .trip-container-header .dropdown-item .norma--action-chip-icon img {
    filter: none
}

.normaGoUnlockRoute {
    cursor: pointer;
    height: 18px;
    margin-top: -3px;
}

.trip-container {
    position: relative;
    width: calc(100% + 4px);
}

.trip-checkbox-container .norma--checkbox input[type=checkbox] {
    border: 2px solid var(--norma-secondary--3) !important;
    background: transparent !important;
}

.trip-checkbox-container .norma--checkbox input[type="checkbox"]::before {
    border-color: transparent;
}

.trip-checkbox-container .norma--checkbox input[type="checkbox"]:checked::before {
    border-color: var(--norma-secondary--3);
}

.trip-checkbox-container .norma--checkbox input[type=checkbox] {
    width: 13px;
    height: 13px
}

.trip-container-header:after {
    position: absolute;
    top: 21px;
    inset-inline-start: 0px;
    display: block;
    width: 15px;
    height: 12px;
    content: "";
    border-inline-start: 1px solid var(--norma-secondary--2);
    z-index: 1;
}

.trip-container .norma--input-view-noControl img.fakeCalendar {
    filter: invert(14%) sepia(225%) saturate(7537%) hue-rotate(211deg) brightness(47%) contrast(97%);
}
/* trip done style */
.wsTrip-Done .trip-container-header {
    background: #D8D8D8;
}

.wsTrip-Done div.trip-start-stop .radzenContainer .norma--input-view-noControl.norma--input--sm, .trip-container.wsTrip-Done .trip-container-header .workingSetTripDriversWrap {
    background-color: #D8D8D8 !important;
    pointer-events: none;
}

.wsTrip-Done .tripDriversPopupOpenIcon, .wsTrip-Done .trip-container-header .norma--input-view-noControl img.fakeCalendar, .wsTrip-Done .trip-container-footer .norma--input-view-noControl img.fakeCalendar {
    display: none
}

.wsTrip-Done .trip-container-header .norma--input-view-noControl p, .wsTrip-Done .trip-container-footer .norma--input-view-noControl p {
    font-weight: bold;
    padding-top: 1px !important;
}
/*.wsTrip-Done .workingSet-stop-header-row {
    border-top: 2px solid #D8D8D8;
}*/
.wsStoppage-splitter.wsTrip-Done {
    background: #D8D8D8;
    /*height: 1px;*/
    width: 100%;
}

.wsTrip-Done .workingSetStopRowAfterLine, .wsTrip-Done .tripDetailsWrapper .workingSet-stop-row:nth-last-of-type(1) .workingSet-stop-header-row .workingSetStopRowAfterLine::before, .wsTrip-Done .workingSetStopRowBorderRight {
    background: #D8D8D8;
}

/*.wsTrip-Done .ws-trip-footer {
    background: #C1C4C5;
}*/

.wsTrip-Done footer.ws-trip-footer .radzenContainer .norma--input-view-noControl.norma--input--sm {
    background-color: #C1C4C5 !important;
    pointer-events: none;
}

.wsTrip-Done .workingSet-stop-header-row .radzenContainer .workingSetStopInlineDate .norma--input-view-noControl {
    background-color: white !important;
    pointer-events: none
}

.wsTrip-Done .working-set-header-row-column-item, .wsTrip-Done .workingSet-stop-row-task-container, .wsTrip-Done .working-set-header-row-expand-collapse-icons-container, .wsTrip-Done .working-set-header-row-header {
    background-color: #F6F7F7;
}

.wsTrip-Done .working-set-header-row-header {
    color: var(--norma__neutral--grey-1);
}

.wsTrip-Done .workingSet-task-row-item .norma--input-view-noControl {
    background-color: var(--norma__neutral--light) !important;
    pointer-events: none
}

/*.wsTrip-Done .norma--checkbox input[type=checkbox],*/
.wsTrip-Done select, .wsTrip-Done input:not([type=checkbox]) {
    pointer-events: none
}

.wsTrip-Done .ws-trip-footer div.workingSet-stop-header-row, .wsTrip-Done .ws-trip-footer .trip-container-footer {
    background-color: #C1C4C5 !important
}

.trip-container.wsTrip-Done .dropdown > a {
    /* pointer-events: none; */
}

.Ws-Auto .trip-container .dropdown .hide-on-ws-auto {
    display: none !important;
}

.inPlanning-mode .trip-container .dropdown * {
    pointer-events: none !important;
}

.trip-container.wsTrip-Done .workingSet-task-row *:not(.wSTaskInfoIconContainer) {
    pointer-events: none;
    opacity: 0.9;
}

.trip-container.wsTrip-Done .workingSet-task-row .wSTaskInfoIconContainer div, .trip-container.wsTrip-Done .workingSet-task-row .wSTaskInfoIconContainer img {
    pointer-events: visible;
    opacity: 1
}

.trip-container.wsTrip-Done .workingSet-task-row .workingSet-stop-header-row-drag-icon, .trip-container.wsTrip-Done .workingSet-task-row .norma--checkbox, .trip-container.wsTrip-Done .workingSet-task-row select, .trip-container.wsTrip-Done .workingSet-task-row .norma--input {
    pointer-events: none
}
/*  end Done */
/* trip inprocess status style */
.wsTrip-inprocess .trip-container-header {
    background: #AAE1F3;
}

.norma-live-icon-manual-planning-ws-trip {
    width: 20px !important;
    height: 20px !important;
    background-image: url('../../images/ManualPlanning/whiteNormaLiveIcon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding-inline: 14px;
}

.wsTrip-inprocess div.trip-start-stop .radzenContainer .norma--input-view-noControl.norma--input--sm {
    background-color: #AAE1F3 !important;
}
/*.wsTrip-inprocess .workingSet-stop-header-row {
    border-top: 2px solid #AAE1F3;
}
*/
.wsStoppage-splitter.wsTrip-inprocess {
    background: #AAE1F3;
    /*height: 1px;*/
    width: 100%;
}

.wsTrip-inprocess .workingSetStopRowAfterLine, .wsTrip-inprocess .tripDetailsWrapper .workingSet-stop-row:nth-last-of-type(1) .workingSet-stop-header-row .workingSetStopRowAfterLine::before, .wsTrip-inprocess .workingSetStopRowBorderRight {
    background: #AAE1F3;
}

.wsTrip-inprocess .ws-trip-footer {
    /*background: #8DCDE3;*/
}

.wsTrip-inprocess footer.ws-trip-footer .radzenContainer .norma--input-view-noControl.norma--input--sm {
    background-color: #B2E1F1 !important;
}

    .wsTrip-inprocess footer.ws-trip-footer .radzenContainer .norma--input-view-noControl.norma--input--sm p {
        font-weight: 400 !important
    }

.wsTrip-inprocess .workingSet-stop-header-row .radzenContainer .workingSetStopInlineDate .norma--input-view-noControl {
    background-color: #EEF7FA !important;
}

.wsTrip-inprocess .working-set-header-row-column-item, .wsTrip-inprocess .workingSet-stop-row-task-container, .wsTrip-inprocess .working-set-header-row-expand-collapse-icons-container, .wsTrip-inprocess .working-set-header-row-header {
    background-color: #EEF7FA;
}

.wsTrip-inprocess .working-set-header-row-header {
    color: var(--norma__neutral--grey-1);
}

.wsTrip-inprocess .workingSet-task-row-item .norma--input-view-noControl {
    background-color: #EEF7FA !important;
}

.wsStopDone .radzenContainer .PSCustomizedCalendarPositionWrapper .PSCustomizedCalendarPositionWrapper .norma--input-view-noControl {
    background-color: transparent !important;
}


/* .trip-container.wsTrip-inprocess .trip-container-header .trip-checkbox-container .norma--checkbox input[type=checkbox],*/
.trip-container.wsTrip-inprocess .trip-container-header select, .trip-container.wsTrip-inprocess .trip-container-header .fakeCalendar, .trip-container.wsTrip-inprocess .trip-container-header .tripDriversPopupOpenIcon, .trip-container.wsTrip-inprocess .trip-container-header .PSCustomizedCalendarPositionWrapper, .trip-container.wsTrip-inprocess .trip-container-header .workingSetTripDriversWrap {
    pointer-events: none
}

.wsTrip-inprocess .ws-trip-footer select, .wsTrip-inprocess .ws-trip-footer .fakeCalendar, .wsTrip-inprocess .ws-trip-footer .PSCustomizedCalendarPositionWrapper {
    /* pointer-events: none; */
}

.wsTrip-inprocess .trip-container-header .norma--input-view-noControl img.fakeCalendar {
    display: none
}

.wsTrip-inprocess .trip-container-header .norma--input-view-noControl p, .wsTrip-inprocess .trip-container-footer .norma--input-view-noControl p {
    font-weight: bold;
    padding-top: 1px !important;
}
/*end inprocess*/
.collapsedTrip.trip-container-header:after {
    display: none
}

.tripWithoutStopHeader {
}

.beforeTripTaskHeaderLine {
    position: absolute;
    width: 4px;
    height: 24px;
    top: 32px;
    inset-inline-start: 0;
    background: var(--norma__neutral--blue);
    display: none
}

.afterTripTaskHeaderLine {
    position: absolute;
    /*width: 11px;*/
    width: 16px;
    height: 24px;
    top: 32px;
    inset-inline-end: 0;
    background: var(--norma__neutral--blue);
    display: none
}

.tripWithoutStopHeader .beforeTripTaskHeaderLine, .tripWithoutStopHeader .afterTripTaskHeaderLine {
    display: block
}

.assignDriverTripId {
    margin-top: -27px;
    margin-bottom: 8px;
    padding-inline-start: 4px;
    font-size: var(--norma--font-xs);
    color: var(--norma-secondary--1);
}


/*trip header hover start*/
/*.trip-header-draggingEffect-Hover {
    opacity: 0;
    height: 0;
    inset-inline-start: 28px;
    width: calc(50vw - 64px);
    transition: opacity 0.5s ease;
}

.hover:not(.Ws-Auto) .trip-header-draggingEffect-Hover, .hover:not(.inPlanning-mode) .trip-header-draggingEffect-Hover {
    position: sticky;
    z-index: 1020;
    left: 0;
    background: rgba(248, 248, 248, 1);
    border: 1px dashed rgba(112, 112, 112, 1);
    height: 32px;
    padding-inline-start: 6px;
    opacity: 1;
    inset-inline-start: 28px;
    width: calc(50vw - 64px);
}

.trip-header-draggingEffect-Hover-content {*/
/*opacity: 0;*/
/*display: none;
    height: 0;
    transition: all 0.5s ease-in-out;
}


.hover:not(.Ws-Auto) .trip-header-draggingEffect-Hover-content, .hover:not(.inPlanning-mode) .trip-header-draggingEffect-Hover-content {*/
/*opacity: 1;*/
/*height: 100%;
    display: flex;
    align-items: center;
}*/

/*.hover:not(.Ws-Auto) .trip-container-header, .hover:not(.inPlanning-mode) .trip-container-header {*/
/*opacity: 1;*/
/*height: 0;*/
/*display: none;
}*/

/*.trip-header-draggingEffect-Hover-content div img {
    margin-inline-end: 5px;
}

.trip-header-draggingEffect-Hover-content .ws-stoppage-content-between-p {
    font-size: 9px;
    font-weight: 400;
    line-height: 12px;
    color: rgba(29, 23, 48, 1);
}

.trip-header-draggingEffect-Hover-content .ws-stoppage-content-drop-p {
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
    color: rgba(70, 89, 120, 1);
}*/
/*trip header hover end*/


/*trip footer hover start*/
/*.trip-footer-draggingEffect-Hover {
    opacity: 0;
    height: 0;
    inset-inline-start: 28px;
    width: calc(50vw - 64px);
    transition: opacity 0.5s ease;
}

.hover:not(.Ws-Auto) .trip-footer-draggingEffect-Hover, .hover:not(.inPlanning-mode) .trip-footer-draggingEffect-Hover {
    position: sticky;
    z-index: 1020;
    left: 0;
    background: rgba(248, 248, 248, 1);
    border: 1px dashed rgba(112, 112, 112, 1);
    height: 32px;
    padding-inline-start: 6px;
    opacity: 1;
    inset-inline-start: 28px;
    width: calc(50vw - 64px);
}

.trip-footer-draggingEffect-Hover-content {*/
/*opacity: 0;*/
/*display: none;
    height: 0;
    transition: all 0.5s ease-in-out;
}


.hover:not(.Ws-Auto) .trip-footer-draggingEffect-Hover-content, .hover:not(.inPlanning-mode) .trip-footer-draggingEffect-Hover-content {*/
/*opacity: 1;*/
/*height: 100%;
    display: flex;
    align-items: center;
    padding-block: 0.5rem;
}

.hover:not(.Ws-Auto) .trip-container-footer, .hover:not(.inPlanning-mode) .trip-container-footer {*/
/*opacity: 1;*/
/*height: 0;*/
/*display: none;
}

.trip-footer-draggingEffect-Hover-content div img {
    margin-inline-end: 5px;
}

.trip-footer-draggingEffect-Hover-content .ws-stoppage-content-between-p {
    font-size: 9px;
    font-weight: 400;
    line-height: 12px;
    color: rgba(29, 23, 48, 1);
}

.trip-footer-draggingEffect-Hover-content .ws-stoppage-content-drop-p {
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
    color: rgba(70, 89, 120, 1);
}*/
/*trip footer hover end*/

/* trip info component start */

.trip-info-status {
    width: fit-content;
    height: fit-content;
    padding-inline: 10px;
    padding-block: 5px;
    border-radius: 40px;
    background: rgba(114, 191, 252, 1);
    font-family: BrownStd;
    font-size: 9px;
    font-weight: 700;
    line-height: 10.89px;
    color: rgba(5, 5, 5, 1);
}

/* trip info component end */

.route-info-trip-plan-id {
    background: rgba(198, 230, 255, 1);
    border-radius: 5px;
    margin-inline: 10px;
    padding: 4px;
    cursor: pointer;
    /*    width: fit-content;
    max-width: 90%;*/
    height: 24px;
    margin-top: 4px;
}

    .route-info-trip-plan-id p {
        color: rgba(38, 128, 235, 1);
        text-decoration: underline;
        width: 85%;
        font-family: Roboto;
        font-size: 9px;
        font-weight: 400;
        line-height: 10.55px;
    }

    .route-info-trip-plan-id .norma-live-icon-manual-planning {
        padding-inline: 0 !important;
        height: 20px !important;
        width: 20px !important;
        background-image: url('../../images/ManualPlanning/whiteNormaLiveIcon.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
    }

.route-info-dispatching-reason {
    font-family: Roboto;
    font-size: 10px;
    line-height: 11.72px;
    color: rgba(0, 0, 0, 1);
    padding-inline: 34px;
}


.route-info-card-body {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--norma__neutral--grey-3);
}

.trip-info-title-column {
    width: 10%;
}

.trip-info-Actual-column, .trip-info-Planned-column, .trip-info-early-column, .trip-info-onTime-column, .trip-info-late-column, .trip-info-vLate-column, .trip-info-waiting-column {
    width: 15%;
}

.trip-info-chart-title-column {
    width: 20%;
}

.trip-info-current-column, .trip-info-expected-column {
    width: 25%;
    margin-inline-end: 15%;
}

@media screen and (max-width: 1100px) {
    .trip-info-title-column, .trip-info-Actual-column, .trip-info-Planned-column, .trip-info-early-column, .trip-info-onTime-column, .trip-info-late-column, .trip-info-vLate-column, .trip-info-waiting-column {
        width: 20%;
    }
}

/*.trip-info-Actual-column, .trip-info-Planned-column {
    margin-inline-end: 20px;
}*/

.percentage-row {
    margin-inline-end: 30px;
}

.trip-info-Actual-column, .trip-info-Planned-column, .trip-info-current-column, .trip-info-expected-column {
    font-size: 10px;
    font-weight: 400;
    color: rgba(0, 0, 0, 1);
}

.trip-info-title-column, .trip-info-chart-title-column {
    font-size: 10px;
    font-weight: 400;
    line-height: 10.89px;
    color: rgba(35, 44, 76, 1);
}

.trip-info-Actual-column span, .trip-info-Planned-column span, .trip-info-current-column span, .trip-info-expected-column span {
    width: 10px;
    height: 7px;
    border-radius: 3px;
    margin-inline-end: 5px;
}

    .trip-info-Actual-column span.actual-bullet, .trip-info-current-column span.actual-bullet {
        background: rgba(23, 206, 31, 1);
    }

    .trip-info-Planned-column span.planned-bullet, .trip-info-expected-column span.planned-bullet {
        background: rgba(227, 112, 20, 1);
    }

.trip-info-early-column, .trip-info-onTime-column, .trip-info-late-column, .trip-info-vLate-column, .trip-info-waiting-column {
    font-size: 10px;
    font-weight: 700;
    line-height: 11.28px;
    color: rgba(20, 40, 74, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

    .trip-info-early-column span.title, .trip-info-onTime-column span.title, .trip-info-late-column span.title, .trip-info-vLate-column span.title, .trip-info-waiting-column span.title {
        font-size: 10px;
        font-weight: 400;
        line-height: 11.28px;
        color: rgba(70, 89, 120, 1);
        margin-inline: 5px;
    }

    .trip-info-early-column span.image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 13.5px;
        height: 13.5px;
        border-radius: 2px;
        background: rgba(204, 227, 254, 1);
    }

    .trip-info-onTime-column span.image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 13.5px;
        height: 13.5px;
        border-radius: 2px;
        background: rgba(184, 236, 189, 1);
    }

    .trip-info-late-column span.image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 13.5px;
        height: 13.5px;
        border-radius: 2px;
        background: rgba(245, 217, 181, 1);
    }

    .trip-info-vLate-column span.image, .trip-info-waiting-column span.image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 13.5px;
        height: 13.5px;
        border-radius: 2px;
        background: rgba(244, 197, 197, 1);
    }

.trip-section-container {
    border-bottom: 1px solid var(--norma__neutral--grey-3);
}

.trip-info-distance-time-title {
    font-size: 12px;
    font-weight: 300;
    line-height: 14.52px;
    color: rgba(38, 128, 235, 1);
}

.trip-info-distance-utilization {
    width: 45%
}

.trip-info-time-utilization {
    border-inline-start: 1px solid var(--norma__neutral--grey-3);
    width: 55%;
}

    .trip-info-distance-utilization .trip-info-title-column, .trip-info-time-utilization .trip-info-title-column {
        width: 22%;
    }

    .trip-info-distance-utilization .trip-info-Actual-column, .trip-info-distance-utilization .trip-info-Planned-column,
    .trip-info-time-utilization .trip-info-Actual-column, .trip-info-time-utilization .trip-info-Planned-column {
        width: 38%;
    }

.trip-info-chart-container .rz-legend-top {
    justify-content: end !important;
}

.trip-info-chart-container .rz-legend-items {
    padding: 0;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
    width: 65%;
    display: flex;
    justify-content: space-evenly !important;
    font-size: 10px !important;
    color: #444444 !important;
}

.trip-info-chart-container .rz-legend-item {
    cursor: pointer;
}

    .trip-info-chart-container .rz-legend-item svg {
        border-radius: 50%;
    }

.trip-info-chart-container .rz-chart {
    height: 170px !important;
}

.trip-info-chart-container .rz-tick-text {
    font-size: 10px;
    font-weight: 400;
    line-height: 11.5px;
    color: #444444;
}

.trip-info-chart-container .rz-tick-text {
    font-size: 10px;
    font-weight: 400;
    line-height: 11.5px;
    color: #444444;
}

.trip-info-created-updated-container {
    height: fit-content;
    background: rgba(241, 238, 238, 1);
}

    .trip-info-created-updated-container .title {
        font-size: 9px;
        font-weight: 300;
        line-height: 10.89px;
        color: rgba(44, 40, 40, 1);
    }

    .trip-info-created-updated-container .date {
        font-size: 9px;
        font-weight: 300;
        line-height: 10.89px;
        color: rgba(5, 5, 5, 1);
    }

    .trip-info-created-updated-container .user {
        font-size: 9px;
        font-weight: 300;
        line-height: 10.89px;
        color: rgba(5, 5, 5, 1);
    }

        .trip-info-created-updated-container .user span {
            font-size: 9px;
            font-weight: 700;
            line-height: 10.89px;
            color: rgba(0,0,0, 1);
        }

    .trip-info-created-updated-container div:first-child {
        margin-inline-end: 14%;
    }

.today-date-style {
    border: 2px solid #0E62C4 !important;
    border-radius: 5px !important;
    background: #fff !important;
    padding-inline-end: 4px;
}


.not-editable-today-ws-date-style, .not-editable-today-order-date-style {
    position: relative; /* Needed for absolute positioning of ::after */
    display: inline-block !important; /* Ensures proper width calculation */
}

    .not-editable-today-ws-date-style:after, .not-editable-today-order-date-style:after {
        content: "";
        display: block;
        width: 100%;
        background-color: #0E62C4; /* Color of the underline */
        position: absolute;
        left: 0;
    }

    .not-editable-today-ws-date-style:after {
        height: 2.4px; /* Thickness of the underline */
        bottom: 0px; /* Adjust distance from text */
    }

    .not-editable-today-order-date-style:after {
        height: 2px; /* Thickness of the underline */
        bottom: -4px; /* Adjust distance from text */
    }

.split-trip-component-radiobuttons {
    max-height: 190px;
    background-color: rgba(238, 245, 254, 1);
    margin-block: 10px;
    margin-inline-start: 8px;
    padding: 10px;
}

    .split-trip-component-radiobuttons .radio-buttons-container {
        max-height: 140px;
        overflow-y: auto;
    }

    .split-trip-component-radiobuttons .rz-radio-button-list-horizontal {
        display: flex !important;
        flex-direction: column !important;
    }

        .split-trip-component-radiobuttons .rz-radio-button-list-horizontal .rz-radio-btn {
            margin-bottom: 7px !important;
        }

.split-trip-search-button {
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    border-radius: 5px;
    background-color: #0C1B35;
    font-size: 9px;
    font-weight: 600;
}

.split-trip-modal-container {
    /* inset-inline-end: 33% !important; */
    width: 100% !important;
    /* max-width: 60% !important;
    min-width: 650px !important;*/
    min-height: unset !important;
    height: auto;
    /*    background-color: white;*/
    border: none;
    /*    box-shadow: 0px 3px 6px #00000029;*/
    border-radius: 20px;
}

    .PSCustomizedCalendarPosition-cutoff .time-picker .rz-datepicker-trigger .rzi-calendar, .split-trip-modal-container .rz-datepicker-trigger .rzi-time {
        font-size: 17px !important;
    }

        .split-trip-modal-container .rz-datepicker-trigger .rzi-time:before {
            content: 'schedule';
            font-family: 'Material Icons' !important;
            color: #14284A !important;
            width: 0px;
        }

    .split-trip-modal-container .rz-multiselect-trigger .rzi-chevron-down:before, .split-trip-modal-container .rz-dropdown-trigger .rzi-chevron-down:before {
        content: "arrow_drop_down";
        font-family: 'Material Icons' !important;
    }

.split-trips-sections-title {
    font-size: 9px !important;
    font-weight: 500;
    line-height: 10.55px;
    color: #2B5194 !important;
}

.split-trips-search {
    padding: 0;
    display: flex;
    height: 24px;
    min-width: 195px;
    /* border: .5px solid #46597863 !important; */
    border-radius: 20px;
    position: relative;
    /* position: absolute; */
    /* inset-inline: 25%; */
    /* z-index: 200; */
    /* top: 38px; */
    /* align-items: center; */
    box-shadow: none !important;
    margin-inline-start: 8px;
}

    .split-trips-search input {
        height: 24px;
        width: 100%;
        font-size: var(--norma--font-xs) !important;
        border: .5px solid #46597863 !important;
        border-radius: 20px !important;
        padding-inline-start: 10px;
        position: relative;
        box-shadow: none !important;
        transition: all 0.35s ease-in-out;
    }

.split-trip-modal-container .time-picker {
    margin-inline-start: 10px;
    position: relative;
}

.split-trips-main-title {
    color: #2B5194;
    font-size: 11px !important;
    font-weight: 400;
    line-height: 11.72px;
}

.split-trips-main-section {
    padding-block: 7px;
    padding-inline: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.split-trips-cancel-button {
    width: 116px;
    height: 24px;
    border: 1px solid #36B765;
    background: #fff;
    color: #4B4B4B;
    font-size: 11px;
    font-weight: 400;
    line-height: 12.89px;
    border-radius: 4px;
}

.split-trips-confirm-button {
    width: 116px;
    height: 24px;
    border: 1px solid #36B765;
    background: #36B765;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 400;
    line-height: 12.89px;
    border-radius: 4px;
}

    .split-trips-confirm-button.disabled {
        background: var(--norma__neutral--grey-2) !important;
        color: var(--norma__neutral--grey-1) !important;
        cursor: not-allowed !important;
        pointer-events: none !important;
        width: 116px;
        height: 24px;
        border: 1px solid var(--norma__neutral--grey-2);
        font-size: 11px;
        font-weight: 400;
        line-height: 12.89px;
        border-radius: 4px;
    }

.split-trip-modal-container .rz-radiobutton-label:before {
    content: "";
    display: inline-block;
    width: 11px; /* Adjust size as needed */
    height: 15px;
    background-image: url('/images/ManualPlanning/no-of-stops.svg'); /* Change to your image path */
    background-size: cover;
    margin-right: 5px; /* Adjust spacing */
    vertical-align: middle;
    border: unset !important;
}

.split-trips-section-card {
    position: absolute;
    z-index: 1000;
    top: 40px;
    /*    inset-inline-end: 0px;*/
    /*    width: 100%;*/
    border-radius: 20px;
    bottom: 0;
    height: fit-content;
    /*    box-shadow: 0px 3px 6px #00000029;*/
    justify-self: anchor-center;
}


@container resizablepanel (max-width: 900px) {
    .split-trips-section-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 550px !important;
    }
}

@container resizablepanel (min-width: 900px) {
    .split-trips-section-card {
        width: 60% !important;
        max-width: 60% !important;
        min-width: 650px !important;
    }
}


.splitTripWithAPark-DropDown-Item .splitTripWithAPark-DropDown-Item-Img {
    background-image: url("/images/ManualPlanning/SplitIcon.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 13px;
    width: 13px;
}

.splitTripWithAPark-DropDown-Item.dimmed-dropdown-item .splitTripWithAPark-DropDown-Item-Img {
    background-image: url("/images/ManualPlanning/dimmedSplitIcon.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 13px;
    width: 13px;
}


/*.split-trips-section-card .PSCustomizedCalendarPosition-cutoff {
    top: 93px !important;
}*/

.split-trips-section-card .rz-label {
    color: #14284A !important;
    font-size: 9px !important;
    font-weight: 400;
    line-height: 10.55px;
    position: absolute;
    top: -4px;
    inset-inline-start: 5px;
    z-index: 122;
    background: #fff;
    padding-inline: 3px;
}

.split-trips-section-card .rz-calendar input, .norma--input.norma--input--sm, .norma--input-view-noControl.norma--input--sm {
    height: 34px !important;
}

    .split-trips-section-card .rz-calendar input, .norma--input.norma--input--sm:not(.PSCustomizedCalendarPositionWrapper), .norma--input-view-noControl.norma--input--sm:not(.PSCustomizedCalendarPositionWrapper) {
        border: 0.5px solid #00000075 !important;
    }

.split-trips-section-card .fakeCalendar {
    background-image: url("/images/ManualPlanning/calendar-blue.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 15px;
    width: 15px;
    cursor: pointer;
}

.split-trips-section-card .panelSearch input {
    font-size: 10px !important;
    color: #465978 !important;
}

.ws-tracking-location-card {
    position: absolute;
    z-index: 1000000;
    top: 67px;
    inset-inline-start: 45px;
    border-radius: 15px;
    bottom: 0;
    height: fit-content;
    box-shadow: 0px 3px 6px #00000029;
}

.reason-card {
    position: absolute;
    z-index: 1000000;
    top: 32px;
    inset-inline-end: -5px;
    border-radius: 15px;
    bottom: 0;
    height: fit-content;
    box-shadow: 0px 0px 0px #00000029;
}

.workingSetWrapper .norma_dropdown .dropdown-menu#collapsedDropDown .reason-card {
    position: absolute;
    z-index: 1000000;
    top: 58px;
    inset-inline-end: 4px;
    border-radius: 15px;
    bottom: 0;
    height: fit-content;
    box-shadow: 0px 0px 0px #00000029;
}

.ws-tracking-location-card-container {
    width: 250px !important;
    min-width: 250px !important;
    min-height: unset !important;
    height: auto;
    /*    background-color: white;*/
    border: none;
    /*    box-shadow: 0px 3px 6px #00000029;*/
    border-radius: 5px;
}

/* notification */

#notificationDot {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 15px;
    height: 15px;
    background: red;
    border-radius: 50%;
    display: block;
    z-index: 9999;
}

.shake {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}