﻿@import './_variables.css';

.stop-info {
    height: 240px;
    border-radius: var(--norma--border-raduis-sm);
    /* overflow: auto; */
    height: 100%;
    border: none;
}


.stop-info-title-container {
    background-color: white;
    font-family: BrownStdBold;
    color: var(--Logistic-Suit-Secondary);
    align-items: center;
    display: grid;
    padding: var(--norma--padding-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--norma__neutral--grey-3);
}


.stop-info-exit-icon {
    margin-block-end: 0px;
    margin-block-start: 0px;
    margin-inline-end: var(--norma--margin-xs);
    margin-inline-start: auto;
    min-width: var(--norma--width-xs-2);
    cursor: pointer;
}

.stop-info-card-body {
    padding: 0px 0px !important;
    font-family: BrownStdRegular;
}

@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;
}

#stop-info::-webkit-scrollbar {
    width: 4px !important;
    height: 4px !important;
}

/* Track */
#stop-info::-webkit-scrollbar-track {
    background-color: white !important;
}

/* Handle */
#stop-info::-webkit-scrollbar-thumb {
    background: var(--Logistic-Suit-Secondary) !important;
    border-radius: 10px;
}

    /* Handle on hover */
    #stop-info::-webkit-scrollbar-thumb:hover {
        background: var(--Logistic-Suit-Secondary) !important;
    }
/* info card */
.norma--stop-info-items-card {
    border-radius: 0;
    border: none;
}

    .norma--stop-info-items-card .card-header {
        padding: var(--norma--padding-xs) var(--norma--padding-xs) var(--norma--padding-xs);
        border: 0;
        background-color: var(--norma__neutral--grey-3);
    }

        .norma--stop-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--stop-info-items-card .card-body {
        padding: var(--norma--padding-xxs);
        /* background: var(--norma__neutral--grey-3); */
        /* overflow: auto; */
        max-height: var(--norma--height-info-box-max);
    }

    .norma--stop-info-items-card .table {
        margin-bottom: 0;
    }

        .norma--stop-info-items-card .table thead tr {
            height: var(--norma--height-md)
        }

        .norma--stop-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: var(--norma--line-height-5);
        }

    .norma--stop-info-items-card table thead tr th, .norma--stop-info-items-card table tbody tr td {
        background-color: var(--norma__neutral--light);
        vertical-align: initial !important;
    }

    .norma--stop-info-items-card .table thead th {
        border-bottom: 2px solid var(--norma__neutral--grey-3);
    }

/*   .norma--stop-info-items-card td:first-child {
        position: sticky;
        inset-inline-start: 0;
        z-index: 2000;
    }*/

.norma--order-info-items-card td {
    color: var(--norma__neutral--grey-1)
}

.stop-info-title-wrap {
    display: flex;
    gap: 0 var(--norma--padding-xs);
    height: var(--norma--height-sm);
    align-items: center;
}

.norma--stop-details-items-container {
    margin-bottom: var(--norma--margin-sm);
}

.norma--stop-details-items-title {
    color: var(--norma__neutral--light-blue);
    padding: var(--norma--padding-sm) var(--norma--padding-sm);
    font-size: var(--norma--font-xs);
    line-height: var(--norma--line-height-5);
    font-weight: var(--norma--fw-bold);
}

.norma--stop-details-items-name {
    color: #050505; /*var(--norma__neutral--light-blue);*/
    padding: /*var(--norma--padding-xs)*/ 0 var(--norma--padding-sm);
    font-size: var(--norma--font-xs);
    line-height: var(--norma--line-height-6);
}

.norma--stop-details-items-nameOfStop {
    color: #2B5194;
    padding: /*var(--norma--padding-xs)*/ 0 var(--norma--padding-sm);
    font-size: var(--norma--font-xs);
    line-height: var(--norma--line-height-6);
}

.Planned-Vs-Actuals-header, .Constraints-header {
    border-radius: 5px;
    background: #F3F5F8;
    color: #2680EB;
    font-weight: 300;
    line-height: normal;
    height: var(--norma--height-md);
}

.stopDetailsPlanningStatus {
    color: var(--norma__neutral--dark-blue);
    padding: var(--norma--padding-xs) var(--norma--padding-md);
    display: flex;
    align-items: center;
}

.planningStatusbadge {
    width: 10px;
    height: 10px;
    margin: 5px;
    background: var(--norma__lbl-dark);
    border-radius: var(--norma--border-raduis-xs);
    margin-top: 0;
    box-shadow: 0px 4px 4px 0px #00000040;
}

    .planningStatusbadge.PS-Executed {
        background: #8C8C8C;
    }

    .planningStatusbadge.PS-InProcess {
        background: #5000AC;
    }

    .planningStatusbadge.PS-Dispatched {
        background: #00FFFF
    }

    .planningStatusbadge.PS-Planned {
        background: #D3F4FF;
    }

    .planningStatusbadge.PS-New {
        background: var( --norma__neutral--light);
    }

    .planningStatusbadge.PS-PartiallyDispatched {
        background-color: #00FFFF;
        background-image: linear-gradient(white 2px, transparent 0.5px);
        background-size: 100% 3.5px;
        border: 1px solid #00FFFF;
    }

    .planningStatusbadge.PS-PartiallyPlanned {
        background-color: #D3F4FF; /* Cyan background */
        background-image: linear-gradient(white 2px, transparent 0.5px); /* Vertical white lines */
        background-size: 100% 3.5px;
        border: 1px solid #D3F4FF;
    }


.stop-details-customerandorder-generalinfo {
    border: 0;
    border-inline-end: 1px solid var(--norma__neutral--grey-3);
}

.stop-details-customerandstop-generalinfo .card-header {
    padding: var(--norma--padding-xs) var(--norma--padding-xs) var(--norma--padding-xs);
    border: 0;
    background-color: var(--norma__neutral--grey-3);
    border-radius: 0;
    /*        position: sticky;
*/ top: 0;
    /*        z-index: 1111;
*/
}

.stop-details-customer-label {
    color: var(--norma-secondary--1);
}

.stop-details-customer-name {
    color: var(--norma__neutral--grey-1);
    font-weight: var(--norma--fw-medium)
}

.stopDetailsOperationalStatus {
    color: var(--norma__neutral--dark);
    padding: var(--norma--padding-xs) var(--norma--padding-sm);
    border-radius: 15px;
    font-weight: var(--norma--fw-bold);
    margin: 0px var(--norma--margin-lg);
}

.stopCharacteristics {
    height: 100%;
    border-radius: 0;
    border-bottom: none;
    border: 1px solid !important;
    border-color: white !important;
}

.stopCharacteristicsIcon {
}

.stopCharacteristicsLabel {
    font-weight: var(--norma--fw-bold);
}

.stopCharacteristicsList {
    padding: var(--norma--padding-sm) var(--norma--padding-md);
    margin: 0;
}

.stopSingleCharacteristic {
    list-style: none;
    color: var(--norma__neutral--light-blue);
    font-weight: var(--norma--fw-medium);
    gap: 6px;
    margin-bottom: var(--norma--margin-xs);
}

    .stopSingleCharacteristic img {
        width: var(--norma--width-sm)
    }

.stopDetailsDividerLine {
    height: 1px;
    background: var(--norma-secondary--2)
}

.stop-details-loading-unloading-info {
}

    .stop-details-loading-unloading-info nav {
    }

    .stop-details-loading-unloading-info .nav > .nav-link {
        box-shadow: 0px 3px 6px #00000029;
        width: 50%;
        border-radius: 0;
        background: var(--norma__neutral--light);
        border: none;
        color: var(--norma__neutral--light-blue);
        font-weight: var(--norma--fw-bold);
        height: var(--norma--height-md);
        padding: 2px;
        outline: none !important
    }

        .stop-details-loading-unloading-info .nav > .nav-link.active {
            box-shadow: none;
            background: var(--norma__neutral--extra-light-blue);
            color: var(--norma-secondary--2);
        }

.stopLoadingRequestsTitle {
    color: var(--norma-secondary--1);
    font-weight: var(--norma--fw-regular);
    margin: 12px 0;
}

.stopLoadingRequestDetails {
    border: 1px solid var(--norma__neutral--light);
    background: var(--norma__neutral--blue);
}

.stopLoadingRequestDetailsIn {
    gap: 26px;
}

.stopLoadingRequestDetailsDate {
    min-width: 80px;
    font-weight: var(--norma--fw-medium);
}

.stopLoadingRequestDetailsTime {
    font-weight: var(--norma--fw-medium);
}

.singleVehicleName:nth-last-of-type(1) .vehcileComma {
    display: none
}

.stop-row-stop-info-container {
    position: absolute;
    top: 25%;
    width: 82%;
    inset-inline-end: 9%;
    background: var(--norma__neutral--light);
    height: fit-content;
    border-radius: 20px;
    min-height: auto;
    box-shadow: 0px 3px 6px var(--norma-shadow--grey-1);
/*    border: 1px solid var(--norma__neutral--grey-2);*/
    max-height: 400px;
    overflow: auto;
    z-index: 1000
}

    .stop-row-stop-info-container div::-webkit-scrollbar-thumb {
        background-color: var(--norma__neutral--light-blue) !important;
    }

.stopDetailsItemsTableContainer::-webkit-scrollbar {
    height: 4px !important;
}

.stopDetailsItemsTableContainer::-webkit-scrollbar-thumb {
    background: var(--norma__neutral--grey-1) !important;
}

.stopLoadingRequestDetails {
    padding: 0 6px !important;
}

.card.stop-details-customerandstop-generalinfo {
    border: none
}

.stop-info-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
