﻿#reports-container {
    padding: 0;
    position: relative;
    display: flex;
    font-size: 14px;
    background: #fefefe;
    flex: 1;
    max-width: 100vw;
}

#reports-container .form-select {
    font-size: 14px;
}

tr th {
    padding: 12px 8px;
}

.mw-input {
    min-width: 250px;
}

#nav-tabs {
    padding: 0;
    border-right: 1px solid var(--primary);
    height: 100%;
    overflow: hidden;
    background: var(--dark);
    width: 200px;
    min-width: 200px;
    transition-duration: 300ms;
    position: absolute;
    left: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    text-align: center;
}

    #nav-tabs.closed {
        width: 3rem;
        min-width: 3rem;
        overflow: hidden;
    }


#tab-content {
    padding: 8px 0px;
    padding-left: 50px;
    max-width: 100%;
    flex: 1;
}


.submenu {
    display: none;
}

.dropdown.open {
    background: #883db1;
}

.submenu .custom-pill {
    background: #883db1;
}

.page-sized {
    min-height: calc(100vh - 80px);
}


.custom-pill, .toggle, .report-nav {
    padding: 12px !important;
    transition-duration: 200ms;
    border: none;
    background: transparent;
    color: #fff;
    border-bottom: 1px solid #fff;
    font-size: 1rem;
    width: 100%;
    position: relative;
    text-align: left;
    height: 49px;
}


    .custom-pill i, .toggle i, .report-nav i {
        font-size: 1rem;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .dropdown:hover, .custom-pill:hover, .toggle:hover, .report-nav:hover {
        background: var(--primary);
        color: #fff;
    }

    .custom-pill.active, .report-nav.active {
        background: var(--primary-light);
        color: var(--primary-dark);
        text-shadow: 0px 0px 1px var(--primary-dark), 0px 0px 35px #fff, 0px 0px 20px #fff, 0px 0px 10px #fff;
    }


.tab-pane, .report-pane {
    min-height: calc(100vh - 80px);
    border-radius: 8px;
    overflow: hidden;
    padding: .25rem;
    position: relative;
}

    .tab-pane::-webkit-scrollbar, .report-pane::-webkit-scrollbar {
        width: 5px;
        position: relative;
        right: -5px;
    }

    .tab-pane::-webkit-scrollbar-thumb, .report-pane::-webkit-scrollbar-thumb {
        background-color: var(--primary);
        border-radius: 10px;
    }

.pill-text {
    font-size: .85rem;
}


.modal-title {
    color: #666;
    font-weight: 600;
    font-size: 1.5rem;
    text-shadow: 0px 0px 2px #000;
    letter-spacing: 1px;
}

@media screen and (min-width: 576px) {
    #tab-content {
        padding-left: 50px;
    }
}


@media screen and (min-width: 992px) {
    #nav-tabs {
        position: relative;
    }

    #tab-content {
        padding: .5rem;
    }
}

@media screen and (min-width: 2067px) {
    #reports-container {
        font-size: 16px;
    }
    #nav-tabs {
        min-width: 250px;
    }

    .pill-text {
        font-size: 1rem;
    }
}

/* config - reports */
.short-table {
    width: 100%;
    max-width: 950px;
}

.extra-short-table {
    width: 100%;
    max-width: 700px;
}

.order-row {
    height: 57px;
    transition-duration: 150ms;
}

.order-row:nth-child(even) {
    background: #efefef;
}

.order-row:hover {
    background: #682d9141;
}


.chart-title-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    color: var(--primary-dark);
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    padding: 1rem;
    position: relative;
    gap: 1rem;
}

.chart-title-bar h4 {
    padding: 0;
    font-weight: 600;
}

.chart-title-bar select {
   font-size: .8rem;
   border-radius: 8px;
   height: 2rem;
   width: fit-content;
}

    .chart-title-bar select:focus {
        outline-color: var(--primary);
        box-shadow: 0px 0px 0px 3px var(--primary-light);
        border-color: var(--primary);
    }

.chart-container .chart-title-bar h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700 !important;
}

.chart-body {
    padding: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.pie {
    padding-top: .5rem;
    min-height: 400px;
}

#carrier-service-map {
    max-width: 100%;
    max-height: 500px;
}

#search-btn {
    border: none;
    background: none;
}

#search-btn i {
    color: var(--primary-dark);
    transition-duration: 200ms;
}

#search-btn:hover i {
    color: var(--primary);
}

    @media screen and (min-width: 1282px) {
        .chart-container .chart-title-bar h4 {
            font-size: 1.25rem;
        }

        
    }


#order-document-modal.modal {
    max-width: unset !important;
}

#order-document-modal .modal-dialog {
    max-width: 90% !important;
    width: auto;
}

@media screen and (max-width: 900px) {


    #order-document-modal .modal-dialog {
        max-width: 100% !important;
        width: auto;
    }
}

.pass-toggle-btn {
    transition-duration: 150ms;
    cursor: pointer;
}

.pass-toggle-btn:hover{
    color: var(--primary);
}

.docs-btn {
    font-size: 1.5rem;
    cursor: pointer;
}

.docs-btn:hover {
    color: var(--primary);
}

#shipping-locations-modal input:invalid, #lanes-add-modal input:invalid{
    box-shadow: 0px 0px 1px 1px red;
}

/* carrier markup */
.carrier-markup-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.carrier-markup-box {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-radius: .25rem;
    & p
{
    color: #fff;
    text-align: center;
    padding: .5rem;
    text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 1.25rem;
}

    & input {
        text-align:end;
        font-size: 1rem;
        width: 100%;
    }
}

@media screen and (max-width: 1200px) {
    .carrier-markup-container {
        grid-template-columns: repeat(3,1fr);
    }
}

@media screen and (max-width: 800px) {
    .carrier-markup-container {
        grid-template-columns: repeat(2,1fr);
    }
}

.account-grid {
    display: grid;
    margin-bottom: 1.5rem;
    padding: 1rem;
    grid-template-areas:
        'sm sm otp otp otp'
        'sh map map map map'
        'fg fg fg fg fg'
        'pc pc pc pc pc';
    grid-gap: 1.5rem;
    >div {
             display: flex;
             flex-grow: 1;
             >div {
                      flex-grow: 1;
                  }
         }
}

@media screen and (max-width: 1350px) {
    .account-grid {
        grid-template-areas:
            'sm otp otp otp otp'
            'map map map map map'
            'sh sh sh sh sh'
            'fg fg fg fg fg'
            'pc pc pc pc pc';
    }
}

@media screen and (max-width: 950px) {
    .account-grid {
        grid-template-areas:
            'sm sm sm sm sm'
            'otp otp otp otp otp'
            'map map map map map'
            'sh sh sh sh sh'
            'fg fg fg fg fg'
            'pc pc pc pc pc';
    }
}