html,
body {
    overscroll-behavior-y: contain;
}

@font-face {
    font-family: 'NewSpiritCondensed-Medium';
    src: url('/fonts/NewSpiritCondensed-Medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3 {
    font-family: 'NewSpiritCondensed-Medium', Roboto, Arial, sans-serif;
}

.mud-carousel-image-size .mud-ripple {
    background-color: white !important;
    height: 15px !important;
    width: 15px !important;
}

.mud-carousel-image {
    height: 80vh;
    padding: 0px;
    overflow: hidden;
    position: relative;
}

    .mud-carousel-image .mud-ripple {
        background-color: white !important;
    }

.has-cursor-grab {
    cursor: grab;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

    .has-cursor-grab:hover {
        border: solid 1px lightgrey;
    }

.rem1 {
    font-size: 1rem !important
}

.custom-file-upload input[type="file"] {
    display: block !important;
}

.anchrInternalPOsCSV {
    color: rgb(20 49 225);
}

.highlight-cell {
    background-color: #a0cddc !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.hubPickingQuantityText {
    width: 50px;
    height: 30px;
    text-align: center;
}

.HubDriverPickStatus td.status-Pending {
    color: black;
    text-align: center;
}

.HubDriverPickStatus td.status-PickingInProgress {
    background-color: #48BAFB;
}

.HubDriverPickStatus td.status-Loaded {
    background-color: #28A745;
}

.HubDriverPickStatus td.status-Adjustments {
    background-color: #FC9536;
}

    /* Common text color and alignment for p tags inside these tds */
    .HubDriverPickStatus td.status-PickingInProgress p,
    .HubDriverPickStatus td.status-Loaded p,
    .HubDriverPickStatus td.status-Adjustments p {
        color: white;
        text-align: center;
    }

.map-link {
    display: flex !important;
    align-items: center !important;
    color: white !important;
    text-decoration: none !important;
}

.map-link-icon {
    font-size: 1.5rem !important;
    vertical-align: middle !important;
}

.map-link-text {
    margin-left: 6px !important;
    font-size: 1.5rem !important;
    vertical-align: middle !important;
}

.back-arrow-circle {
    aspect-ratio: 1 / 1;
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Common classes for width to reuse */
.col-70 {
    width: 70% !important;
}

.col-30 {
    width: 30% !important;
}

@media (max-width: 640px) {
    .col-70, .col-30 {
        width: 100% !important;
    }
}

@media screen {
    .print-only {
        display: none !important;
    }
}

.text-black {
    color: #212529;
}

.semi-bold {
    font-weight: 400 !important;
}

.label {
    width: 100%;
    max-width: 1015px;
    height: 1218px;
    font-size: 32px;
    padding: 10px;
    box-sizing: border-box;
    color: black;
    word-break: break-word;
}

.dl-print {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 4px 10px;
    margin: 0;
    padding: 0;
}

    .dl-print dt {
        font-weight: bold;
        margin: 0;
        padding: 0;
    }

    .dl-print dd {
        margin: 0;
        padding: 0;
        word-break: break-word;
        white-space: normal;
    }

.biggerText {
    font-size: 42pt;
    font-weight: bold;
    margin-top: 6px;
}

.print-modal {
    height: 100% !important;
    width: 100% !important;
    overflow-y: hidden;
}

.vertically-center {
    display: flex;
    align-items: center;
}

@media print {
    @page {
        size: 5in 6in;
        margin: 0;
    }

    body {
        margin: 0;
        padding: 0;
    }

        body.print-label-mode * {
            visibility: hidden;
        }

        body.print-label-mode #print-label,
        body.print-label-mode #print-label * {
            visibility: visible;
        }

    #print-label {
        visibility: visible;
        position: fixed;
        top: 0;
        left: 5px;
        width: 5in;
        height: 6in;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .vertically-center {
        display: flex;
        align-items: center;
    }

    .dl-print {
        display: grid !important;
    }

    .biggerText {
        font-size: 78pt;
    }
}

.selected {
    background-color: #1E88E5 !important;
}

    .selected > td {
        color: white !important;
    }

        .selected > td .mud-input {
            color: white !important;
        }

.pod-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 10;
}

.swal-high-z-index {
    z-index: 2000 !important;
}

.swal2-container {
    z-index: 2000 !important;
}

.faq-list {
    margin-left: 32px;
    padding-left: 0;
}

    .faq-list li {
        margin-bottom: 12px;
    }

    .faq-list a {
        color: #1976d2;
        text-decoration: underline;
        cursor: pointer;
    }

        .faq-list a:hover {
            color: #1976d2;
            text-decoration: underline;
        }

.ims-root-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 100vh;
}

.ims-content-row {
    display: flex;
    flex-direction: row;
    flex: 1 1 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.ims-navmenu {
    min-width: 220px;
    max-width: 260px;
    background: #ffff;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    margin-top: 60px;
}

.ims-drawer-navmenu-tablet {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 64px);
    min-height: 0;
    max-height: calc(100vh - 64px);
    margin-top: 64px; 
    overflow-y: auto;
}

    .ims-drawer-navmenu-tablet > * {
        flex: 1 1 auto;
        min-height: 0;
        height: 100%;
    }

.ims-maincontent {
    flex: 1 1 0;
    min-width: 0;
    overflow: auto;
    height: 100%;
    min-height: 0;
}

.ims-vertical-nav-bar {
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    box-sizing: border-box;
    width: 210px;
    margin-right: 24px;
}

.top-utility-row {
    padding: 16px 16px;
    border-bottom: 1px solid var(--mud-palette-lines-default, rgba(0, 0, 0, .08));
    align-items: center;
    width: 100%;
    display: flex;
}

.top-utility-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-utilities-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.breadcrumbs .mud-breadcrumb-item {
    color: var(--mud-palette-text-secondary);
    font-size: .875rem;
}

    .breadcrumbs .mud-breadcrumb-item:last-child {
        color: var(--mud-palette-text-primary);
        font-weight: 600;
    }

.breadcrumbs {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.breadcrumbs-one {
    color: var(--mud-palette-text-secondary);
    font-size: .875rem;
}

.breadcrumbs-two {
    color: var(--mud-palette-text-primary);
    font-weight: 600;
    font-size: .875rem;
}

.mini-divider {
    height: 18px;
    align-self: center;
    margin: 0 12px;
    border-left: 1px solid var(--mud-palette-lines-default, rgba(0,0,0,.12));
}

.right-tools {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px;
}

    .right-tools .right-item {
        align-items: center !important;
        flex-direction: row !important;
        gap: 8px;
        cursor: pointer;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

.slim-progress {
    width: 90px;
    min-width: 70px;
    height: 6px;
    opacity: .9;
}

.date-compact .mud-input-root {
    padding: 0;
}

.date-compact .mud-input-slot {
    font-size: .875rem;
}

:root.dark .top-utility-row {
    border-bottom-color: var(--mud-palette-lines-inputs, rgba(255,255,255,.12));
}

:root.dark .mini-divider {
    border-left-color: var(--mud-palette-lines-inputs, rgba(255,255,255,.2));
}

.inv-section-card {
    border: 1px solid var(--mud-palette-lines-default, rgba(0,0,0,.10));
    border-radius: 8px;
    overflow: hidden;
    background: var(--mud-palette-surface);
}

.inv-section-header {
    padding: 10px 14px;
    background: var(--mud-palette-surface);
}

.section-title {
    letter-spacing: .02em;
    color: var(--mud-palette-text-secondary);
}

.inv-table .mud-table-head,
.inv-table .mud-table-body {
    border: 0;
}

.inv-table .mud-table-cell,
.inv-table .mud-table-header {
    padding: 10px 14px;
    border-bottom: 1px solid var(--mud-palette-lines-default, rgba(0,0,0,.06));
}

.inv-table .mud-table-row:last-child .mud-table-cell {
    border-bottom: 0;
}

.qty-box .mud-input-root {
    height: 34px;
    min-height: 34px;
    width: 64px;
    text-align: center;
    justify-content: center;
}

.qty-box input {
    text-align: center;
}

.nc-chip {
    border-radius: 8px;
    background-color: transparent;
    color: var(--mud-palette-text-secondary);
}

.mud-button-outlined {
    border-color: var(--mud-palette-lines-default, rgba(0,0,0,.16));
}

.inv-table .mud-table-row:hover .mud-table-cell {
    background: rgba(0,0,0,.02);
}

.main-body-elements {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.ims-inventory-page,
.ims-inventory-page .main-body-elements {
    height: auto;
    min-height: 100vh;
}

    .ims-inventory-page .ims-vertical-nav-bar {
        height: auto;
        min-height: 100vh;
    }

.donut-wrap {
    position: relative;
    width: 130px;
    height: 130px;
}

.progress-donut svg {
    width: 130px !important;
    height: 130px !important;
}

    .progress-donut svg .mud-progress-circular-underlay {
        stroke: #b0b0b0 !important;
    }

.donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
}

.donut-center-portion {
    font-weight: 700;
    font-size: 1.1rem;
}

.donut-center-percentage {
    font-size: 0.9rem;
    color: gray;
}

.donut-center-text {
    text-align: center;
    margin-top: 10px;
    color: gray;
}

.second-nav-menu-contents {
    gap: 10px;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.second-nav-menu-contents-text {
    display: flex;
    justify-content: space-between;
}

.top-row{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.scrollable-content {
    height: calc(100vh - 270px); 
    overflow-y: auto;
    padding-bottom: 16px;
}

.fixed-bottom-btn {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 0 8px 8px 8px;
}
.hub-class{
    display: flex;
    flex-direction: row;
}

.mud-tabs.custom-inventory-tabs .mud-tab {
    border-radius: 24px;
    border: 2px solid #0097a7;
    margin-right: 8px;
    padding: 0 18px;
    min-height: 36px;
    font-weight: 600;
}

    .mud-tabs.custom-inventory-tabs .mud-tab.mud-tab-active {
        color: #fff !important;
        background: var(--mud-palette-primary) !important;
        border-color: var(--mud-palette-primary) !important;
    }
.mud-tabs.custom-inventory-tabs .mud-tab-slider {
    display: none !important;
}
.mud-tabs-toolbar-wrapper {
    display: flex;
    gap: 20px;
}

.mud-list.mud-list-padding.no-padding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.date-field{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.date-field-icon{
    cursor:pointer;
}

.date-field-value {
    margin-left: 4px;
    cursor: pointer
}

.hub-name {
    min-width: 220px;
    padding: 4px 12px;
}

.progress-bar-mobile-view {
    float: right;
}

.mobile-view-tabs {
    gap: 12px;
    padding: 8px 12px;
}

.mobile-view-cards {
    padding: 18px 18px 12px 18px;
}

.complete-button-mobile-view {
    height: 48px;
    font-weight: 600;
}

.expander-content.collapsed {
    display: none;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Ensures equal column widths */
}

    .custom-table th, .custom-table td {
        border: 1px solid #ddd;
        padding: 12px;
        text-align: left;
        vertical-align: middle;
    }

.driver-cell {
    background-color: #f8f9fa; /* Light gray background */
    font-weight: bold;
    text-align: left;
}

.product-cell {
    word-wrap: break-word;
}

.fw-bold {
    font-weight: bold;
}

.quantity-cell {
    text-align: center;
    font-weight: bold;
}

.custom-table tbody tr:nth-child(even) {
    background-color: #f5f5f5; /* Alternating row colors */
}

.custom-card {
    border: 1px solid #ccc;
    margin-top: 10px;
    margin-bottom: 10px;
}

.custom-header {
    background-color: #dce0e3 !important;
    color: black;
    padding: 10px;
}

.bold-center {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}