﻿@import './_variables.css';

.order-info {
    /* height: 240px; */
    border-radius: var(--norma--border-raduis-sm);
    /* overflow: auto; */
    height: 100%;
    border: none;
}


.order-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;
    max-width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--norma__neutral--grey-3);
    padding-bottom: 2px
}

.order-info-dispatching-reason {
    padding-inline: 26px
}

    .order-info-dispatching-reason p {
        margin-bottom: 0;
        font-size: var(--norma--font-xxs);
        color: #000000;
        display: flex;
        height: 18px;
        justify-content: flex-start;
        flex-flow: nowrap;
        width: auto;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap;
    }

        .order-info-dispatching-reason p span:nth-of-type(1) {
            font-weight: 600;
            display: block;
            min-width: max-content;
        }

        .order-info-dispatching-reason p span:nth-of-type(2) {
            color: #2C2828;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap;
            height: 16px;
            display: block;
        }

.order-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;
}

.order-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;
}

#order-info::-webkit-scrollbar {
    width: 4px !important;
    height: 4px !important;
}

/* Track */
#order-info::-webkit-scrollbar-track {
    background-color: white !important;
}

/* Handle */
#order-info::-webkit-scrollbar-thumb {
    background: var(--Logistic-Suit-Secondary) !important;
    border-radius: 10px;
}

    /* Handle on hover */
    #order-info::-webkit-scrollbar-thumb:hover {
        background: var(--Logistic-Suit-Secondary) !important;
    }
/* info card */
.norma--order-info-items-card {
    border-radius: 0;
    border: none;
}

    .norma--order-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--light);
    }

        .norma--order-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--order-info-items-card .card-body {
        /*        padding: var(--norma--padding-xxs);*/
        padding: 0;
        /*        background: var(--norma__neutral--grey-3);*/
        border: 4px solid var(--norma__neutral--grey-3);
        border-top: 0 !important;
        /* overflow: auto; */
/*        max-height: var(--norma--height-info-box-max);*/
        max-height: fit-content;
    }

    .norma--order-info-items-card .table {
        margin-bottom: 0;
    }

        .norma--order-info-items-card .table thead tr {
            height: var(--norma--height-md);
        }

        .norma--order-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);
            font-weight: 400;
        }

    .norma--order-info-items-card table thead tr th, .norma--order-info-items-card table tbody tr td {
        background-color: var(--norma__neutral--light);
        vertical-align: top !important;
        padding: 0.5rem !important;

    }

    .norma--order-info-items-card .table thead th {
        border-bottom: 2px solid var(--norma__neutral--grey-3);
        background: var(--norma__neutral--grey-3);
    }

    /*   .norma--order-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)
    }

.order-info-title-wrap {
    display: flex;
    gap: 0 var(--norma--padding-xs);
    height: var(--norma--height-sm);
    align-items: center;
}

.norma--order-details-items-container {
    margin-bottom: var(--norma--margin-sm);
}

.norma--order-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--order-details-items-name {
    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-6);
}

.orderDetailsPlanningStatus {
    color: var(--norma__neutral--dark-blue);
    padding: var(--norma--padding-xs) 8px;
    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-ForceClosed {
        background: #0C1B35;
    }

    .planningStatusbadge.PS-Executed, .planningStatusbadge.PS-Closed {
        background: rgb(140, 140, 140, 0.7) !important;
    }

    .planningStatusbadge.PS-InProcess {
        background: #5000AC;
    }

    .planningStatusbadge.PS-Dispatched {
        background: #00FFFF
    }

    .planningStatusbadge.PS-Planned {
        background: #D3F4FF;
        /*var(--norma-secondary--1);*/
    }

    .planningStatusbadge.PS-inPlanning {
        background: #FCF44C;
    }

    .planningStatusbadge.PS-New, .planningStatusbadge.PS-Un-planned {
        background: var( --norma__neutral--light);
    }


.order-details-customerandorder-generalinfo {
    border: 0;
    border-inline-end: 1px solid var(--norma__neutral--grey-3);
}

    .order-details-customerandorder-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;
*/
    }

.Order-details-customer-label {
    color: var(--norma-secondary--1);
}

.Order-details-customer-name {
    color: var(--norma__neutral--grey-1);
    font-weight: var(--norma--fw-medium)
}

.OrderDetailsOperationalStatus {
    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);
}

.orderCharacteristics {
    height: 100%;
    border-radius: 0;
}

.orderCharacteristicsIcon {
}

.orderCharacteristicsLabel {
    font-weight: var(--norma--fw-bold);
}

.orderCharacteristicsList {
    padding: var(--norma--padding-sm) var(--norma--padding-md);
    margin: 0;
}

.orderSingleCharacteristic {
    list-style: none;
    color: var(--norma__neutral--light-blue);
    font-weight: var(--norma--fw-medium);
    gap: 6px;
    margin-bottom: var(--norma--margin-xs);
}

    .orderSingleCharacteristic img {
        width: var(--norma--width-sm)
    }

.orderDetailsDividerLine {
    height: 1px;
    background: var(--norma-secondary--2)
}

.order-details-loading-unloading-info {
/*    background: var(--norma__neutral--main-light-blue);
    padding: 9px;*/
    border: 0;
    border-radius: 0;
/*    overflow-x: auto;*/
}

    .order-details-loading-unloading-info .tab-content {
        background: white;
    }

    .order-details-loading-unloading-info .tab-pane {
        padding: 5px;
    }

    .order-details-loading-unloading-info nav {
        background: var(--norma__neutral--main-light-blue);
        border: 0;
    }

        .order-details-loading-unloading-info nav .nav {
            background: white;
            border-radius: 6px 6px 0 0;
            border: 0;
        }

    .order-details-loading-unloading-info .nav > .nav-link {
        /* box-shadow: 0px 3px 6px #00000029; */
        width: 50%;
        border-radius: 0 0 0 6px;
        background: var(--norma__neutral--main-light-blue);
        border: none;
        color: var(--norma__neutral--light-blue);
        font-weight: var(--norma--fw-regular);
        height: 28px;
        padding: 2px;
        outline: none !important
    }

        .order-details-loading-unloading-info .nav > .nav-link:nth-of-type(1) {
            border-radius: 0 0 6px 0px;
        }

        .order-details-loading-unloading-info .nav > .nav-link.active {
            box-shadow: none;
            background: var( --norma__neutral--light);
            color: var(--norma-secondary--2);
            border-radius: 6px 6px 0 6px;
            margin-top: -3px;
        }

.orderLoadingRequestsTitle {
    color: var( --norma-secondary--1);
    font-weight: var(--norma--fw-regular);
    margin: 12px 0;
    /* border-bottom: 1px solid gainsboro; */
}

.orderLoadingRequestDetails {
    border: 1px solid var(--norma__neutral--light);
    background: var(--norma__neutral--blue);
}

.orderLoadingRequestDetailsIn {
    gap: 6px;
}

.orderLoadingRequestDetailsDate {
    min-width: 80px;
    font-weight: var(--norma--fw-light);
}

.orderLoadingRequestDetailsTime {
    font-weight: var(--norma--fw-medium);
}

.singleVehicleName:nth-last-of-type(1) .vehcileComma {
    display: none
}
