﻿body[data-topbar="dark"] {
    background-color: #ffffff;
}

.breadcrumb {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #e9ecef;
    border-radius: .25rem;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


.k-tabstrip-content, .k-tabstrip > .k-content {
    border-color: transparent !important;
}

.k-tabstrip-items-wrapper .k-item.k-state-active, .k-tabstrip-items-wrapper .k-item.k-state-selected {
    color: #0080ff !important;
    font-weight: 400 !important;
}


.k-tabstrip-items .k-link {
    display: block !important;
    text-align: center;
}

.k-tabstrip-items-wrapper .k-item {
    color: black !important;
    min-width: 100px;
}

.button-image img, .scale-image {
    width: 24px;
    height: 24px;
    margin: 4px !important;
    /*margin-right: 8px !important;*/
}


.form-group {
    margin-bottom: 1.25rem;
}



.form-area-left {
    float: left;
    min-width: 600px;
    padding-right: 25px;
}

.form-header-line {
    border-top: 1px solid #eeeeee;
    padding-top: 10px;
    width: 250px;
}

.form-area-right {
    float: left;
}

.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}

/*.AppNotification {
    z-index: 10000;
    margin: 20px;
}

    .AppNotification .k-notification-container .k-notification-wrap {*/
        /*    width: 300px;
    height: 50px;
    font-size: 1.5em;
    text-align: center;
    align-items: center;*/
    /*}*/



.k-loader-container-overlay
{
    opacity: 0.01 !important;
}

.k-tabstrip-top > .k-tabstrip-items-wrapper .k-item.k-active {
    border-bottom-color: transparent;
    color: #556ee6 !important;
    font-weight: bold;
}



/*.app-tabstrip .k-tabstrip-content.k-active, .k-tabstrip > .k-content.k-active {
    display: block;
    display: none !important;
}
*/


.dashboard-box-container {
    padding: 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Align the elements to the left */
    align-items: flex-start; /* Align the elements to the top */
    gap: 25px; /* Add a gap of 50px between the elements */
}



.dashboard-box {
    width: 125px;
    height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    color: black;
    background-color: #fff;
}

    .dashboard-box:hover {
        border-color: #0d6efd;
    }

    .dashboard-box .box-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .dashboard-box .title-container {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        flex-grow: 1;
    }

    .dashboard-box .count-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-grow: 1;
    }

    .dashboard-box .title {
        margin: 0;
        font-size: 13px;
        color: black;
    }

    .dashboard-box .count {
        margin: 0;
        font-size: 16px;
    }


    .dashboard-box:hover i {
        opacity: 1;
        color: #0d6efd;
    }

    .dashboard-box i {
        font-size: 36px; /* Set the font size of the icon to 48px */
        margin: 10px 0;
        opacity: 0.6;
        transition: opacity 0.2s ease-in-out;
    }

span.clipboard-rap {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    display: flex;
}

span.clipboard-inner-wrap {
    padding: 4px 8px;
}

span.clipboardicon {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border-left: 1px solid #ced4da;
    cursor: pointer;
}

span.clipboardicon:hover {
        border-color: #c7cdd5;
    background-color: #ced3db;
}

span.clipboardicon:active {
    border-color: #bfc6d0;
    background-color: #c7cdd5;
}


.temperature-slide-main-wrap {
    display: flex;
    padding-left: 30px;
    gap: 30px;
}

.temperature-left-panel {
    width: 223px;
}

.temperature-right-panel {
    width: calc(100vw - 257px);
    /*width: 100%;*/
}

.temperature-right-panel::-webkit-scrollbar-track, .temperature-slide-main-wrap.mgr-dash-slide-main-wrap::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.temperature-right-panel::-webkit-scrollbar, .temperature-slide-main-wrap.mgr-dash-slide-main-wrap::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    background-color: #F5F5F5;
}

.temperature-right-panel::-webkit-scrollbar-thumb, .temperature-slide-main-wrap.mgr-dash-slide-main-wrap::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}

.temperature-right-panel-row {
    height: 170px;
    margin-bottom: 10px;
}


/*.left-panel-card {
    height: 170px;
    margin-bottom: 10px;
    width: 244px;
    border: 1px solid #fffvw
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-align: center;
}*/


.left-panel-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 20px;
    width: 223px;
    color: #fff; /* Adjust color as needed */
    border: 1px solid #fff;
    /*border-radius: 5px;*/ /* Optional */
    height: 170px; /* Adjust as needed */
    margin-bottom: 10px; /* Space between cards */
    position: relative; /* For positioning pager */
}

    .left-panel-card .count {
        font-size: 3em; /* Large font size for count */
        margin-bottom: 0px; /* Space between count and status */
    }

    .left-panel-card .status {
        font-size: 1.9em; /* Medium font size for status */
        font-weight: 500;
        margin-bottom: 20px; /* Space between status and bottom of card */
    }

    .left-panel-card .pager {
        position: absolute;
        bottom: 15px; /* Positioned at the bottom */
        right: 10px; /* Positioned to the right */
        font-size: 1em; /* Small font size for pager */
    }

.temperature-card {
    min-width: 390px;
    width: 100%;
    color: #fff;
    flex: 1;
}

.temperature-right-panel-row .widget-carousel {
    min-width: 1250px;
}

.left-panel-card.green {
    background-color: #249b41;
}

.left-panel-card.yellow {
    background-color: #e7a935;
    color: #000;
}

.left-panel-card.red {
    background-color: #af031a;
}

.left-panel-card.white {
    background-color: #fff;
    color: #000;
}

.warehouse-input-label-and-value-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.warehouse-top-row {
    display: flex;
    gap: 5px;
}

.warehouse-grey-btn {
    border-color: #e4e7eb;
    color: #212529;
    background-color: #e4e7eb;
}

.warehouse-grey-btn:hover {
    border-color: #bfc6d0;
    background-color: #c7cdd5;
}

.warehouse-grey-btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(228, 231, 235, 0.5);
}


.warehouse-btns-wrapper {
    padding: 1rem 1.5rem;
    position: fixed;
    bottom: 0;
    width: -webkit-fill-available;
    border-top: 1px solid #f2f5f7;
    box-shadow: 0 -4px 5px -3px rgba(0, 0, 0, .1);
    background-color: #fff;
    z-index: 100;
    height: 70px;
    margin-left: -12px;
    display: flex;
    gap: 15px;
}

.warehouse-btns-inner-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.warehouse-btns-wrapper button {
    font-size: 1rem;
    padding-left: 15px;
    padding-right: 15px;
}

.warehouse-red-btn {
    background-color: #fff;
    color: #dc3545;
    border-color: #dc3545;
}

.warehouse-red-btn:hover {
     background-color: #dc3545;
    color: #fff;
}

.warehouse-red-btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(228, 231, 235, 0.5);
}

.warehouse-btns-left-wrapper, .warehouse-btns-right-wrapper {
    display: flex;
    gap: 10px;
}

.warehouse--two-sides-btns-wrapper {
    display: flex;
    justify-content: space-between;
}

/* Asset Exchange Page Styles */
.asset-exchange-page-wrap {
    padding: 20px;
}



h2.asset-exchange-page-title {
    color: #256dac !important;
    font-size: 2.25rem;
}

h2.asset-exchange-page-title i {
    margin-right: 9px;
}

.asset-exchange-card {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.asset-exchange-card-right-wrap p {
    font-size: 1.2rem;
    font-weight: 500;
}

p.asset-exchange-page-description {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-top: 20px;
    margin-bottom: 30px;
    color: #5f3392;
    font-weight: 500;
}

/* Inventory Item Page */
.inventory-item-tabstrip .k-tabstrip-content.k-content.k-active:focus {
    outline: none;
}

.inventory-item-tabstrip .k-tabstrip-items-wrapper .k-item:focus {
    box-shadow: none;
}

/* App Page Common Styles */
.app-page-main-wrapper {
    padding: 20px;
}

.two-col-grid-wrap, .tab-grid-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.tab-grid-wrap {
    gap: 30px;
}

.dim-imperial-selected, .dim-metric-selected {
    background-color: #e4e7eb !important;
}

.k-button-solid-base:focus {
    box-shadow: unset;
}

button.telerik-blazor.k-button.weight-metric-selected.k-group-end.k-button-solid.k-rounded-md.k-button-md.k-button-solid-base, button.telerik-blazor.k-button.weight-imperial-selected.k-group-start.k-button-solid.k-rounded-md.k-button-md.k-button-solid-base {
    background-color: #e4e7eb;
}


button.telerik-blazor.k-button.weight-metric-selected.k-group-end.k-button-solid.k-rounded-md.k-button-md.k-button-solid-base.k-selected, button.telerik-blazor.k-button.weight-imperial-selected.k-group-start.k-button-solid.k-rounded-md.k-button-md.k-button-solid-base.k-selected {
    background-color: #0257d5;
}

.k-upload-button-wrap {
    margin-right: 10px;
}





.memo-media-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.memo-media-viewer-content {
    background-color: #e8ecef;
    width: 100%;
    height: 100%;
}

.memo-media-viewer-header {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    background-color: #d7dcdf;
    height: 58px;
    z-index: 100;
}


.memo-add-inner-wrapper {
    display: flex;
    gap: 30px;
    height: calc(100% - 55px);
}

.memo-media-viewer-downloader-wrapper {
    float: right;
    margin-top: -25px;
    padding-right: 20px;
}

.memo-media-download-btn {
    padding: 5px;
    border-radius: 15px;
    background-color: #f1f1f1;
    border: 1px solid #eee;
    cursor: pointer;
}

.memo-media-viewer-content .memo-add-wrapper {
    min-height: calc(100vh - 58px);
}

.memo-media-viewer-content .memo-add-left-side-wrapper, .memo-media-viewer-content .memo-add-right-side-wrapper {
    height: calc(100vh - 110px);
}

.memo-media-viewer-content .thumbnails {
    height: calc(100vh - 144px);
    overflow-x: hidden;
}

    .memo-media-viewer-content .thumbnails img {
        width: 100%;
        object-fit: cover;
        margin-bottom: 15px;
    }

.memo-media-viewer-selected-attachment-wrapper {
    display: flex;
    gap: 15px;
}

.media-viewer-description-area-wrapper {
    text-align: left;
    font-size: 18px;
    flex: 1;
    /* height: calc(100vh - 130px); */
    overflow-y: auto;
}

.media-viewer-description-row {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}


.media-viewer-image-wrapper {
    background: #efefe6;
    flex: 2;
    height: unset;
}

.memo-add-right-side-wrapper {
    width: 100%;
}

.attachments-container .thumbnails .thumbnail {
    display: block;
    margin-bottom: 10px;
    border: 3px solid #eee;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    position: relative;
    text-align: center;
    cursor: pointer;
}

.thumbnail img {
    max-width: 100px;
}

.media-viewer-file {
    width: 100%;
}

.media-viewer-pdf {
    width: 100%;
}

.media-viewer-code-mirror-wrapper {
    width: 100%;
}

.media-video-wrapper {
    width: 100%;
}



.memo-image-editor-header {
    position: fixed;
    width: 100%;
    background-color: #d7dcdf;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    top: 60px;
}

button.memo-add-close-btn {
    border: none;
    font-size: 16px;
    position: absolute;
    left: 30px;
    border-radius: 50%;
    top: 15px;
    width: 26px;
}

    button.memo-add-close-btn:hover {
        border-color: #cc0000;
        color: white;
        background-color: #cc0000;
        border-radius: 50%;
    }

.memo-title-wrapper {
    position: relative;
    left: -220px;
}

.memo-add-title {
    font-size: 12pt;
    color: #666666;
    font-weight: bold;
    text-align: center;
    padding-top: 15px;
}

.memo-add-wrapper {
    background: #e9edf0;
    padding: 30px;
    position: relative;
    top: 55px;
    height: calc(100% - 55px);
}

.memo-add-inner-wrapper {
    display: flex;
    gap: 30px;
    height: calc(100% - 55px);
}

.memo-add-left-side-wrapper {
    background-color: #fff;
}

.attachments-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7px;
}

.add-attachment-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #e4e7eb;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    justify-content: center;
    width: 78px;
    height: 72px;
}

button.add-attachment-btn i {
    font-size: 20px;
}

.thumbnails {
    overflow-x: auto;
    white-space: nowrap;
    overflow-y: auto;
    height: calc(100vh - 309px);
    position: relative;
    padding-right: 5px;
    width: 88px;
}

.memo-add-right-side-wrapper {
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
}

.memo-add-right-side-inner-wrapper {
    height: 100%;
}

.selected-attachment-wrapper {
    display: flex;
    gap: 15px;
    justify-content: space-around;
    border: 1px solid #eee;
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.image-area-wrapper {
    position: relative;
}

.image-editing-tools-wrapper {
    height: 60px;
    z-index: 1;
    width: 100%;
    padding: 0px 30px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    left: 0;
    top: 0px;
}

.image-editing-tool-item, .additional-tool-btn {
    border-radius: 50%;
    width: 40px;
    padding: 10px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.undo-redo-btns-wrapper {
    position: absolute;
    top: -75px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 15px;
    height: 35px;
    z-index: 1000;
}

    .undo-redo-btns-wrapper span {
        padding: 0px 12px;
        cursor: pointer;
    }

        .undo-redo-btns-wrapper span:nth-child(2), .undo-redo-btns-wrapper span:first-child {
            border-right: 1px solid #ddd;
        }

span.reset-default-btn i {
    font-weight: 700;
}

.undo-redo-btns-wrapper svg {
    width: 18px;
    height: 18px;
}

.img-editor-panel {
    height: calc(100% - 60px) !important;
    padding: 60px;
    padding-top: 15px;
}

.memo-add-bottom-wrapper {
    margin-top: 15px;
}

.memo-add-bottom-row {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.memo-add-bottom-input-wrapper {
    position: relative;
    width: 100%;
}

.k-input input {
    height: 38px;
}

.memo-add-textarea {
    height: 300px;
}

.memo-add-right-side-wrapper .popup-add-btn {
    position: absolute;
    bottom: 0;
    right: 0;
}

.popup-add-btn button {
    display: block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #04b57a;
    color: #fff;
    border: none;
}

.CodeMirror {
    height: calc(100vh - 130px) !important;
}

.media-viewer-pdf iframe, .media-viewer-img-viewer {
    width: 100%;
    height: calc(100vh - 130px);
}

.memo-media-preview-card .k-card-body button {
    background: #eee;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    margin-bottom: 15px;
}

.location-input {
    min-width: 250px;
}

.location-txt-area {
    min-width: 350px;
}

.instruction-wrapper {
    grid-column: span 2;
    margin-bottom: 30px;
}

.app-page-title {
    margin-bottom: 15px;
}


/* MGR Dashboard Page */

.mgr-dash-slide-main-wrap .pagebuttons {
    display: flex;
    gap: 5px;
    justify-content: flex-start;
    position: absolute;
    bottom: 10px;
    left: 10%;
    /*transform: translateX(-50%);*/
}

.mgr-dash-slide-main-wrap .left-panel-card {
    height: 160px;
}

.mgr-dash-slide-main-wrap .left-panel-card .count {
    line-height: 1.2;
}

.temperature-slide-main-wrap.mgr-dash-slide-main-wrap {
    height: calc(100vh - 110px);
    overflow-y: auto;
    overflow-x: auto;
}

.mgr-dash-bottom-spacer {
    width: 100%;
    height: 20px;
}

.k-chip.k-chip-lg.k-rounded-sm.k-chip-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.k-chip.k-chip-lg.k-rounded-sm.k-chip-outline.k-selected {
    color: white;
    background-color: #249b41;
    border-color: #249b41;
}

.mgr-dash-card-grid .temperature-card .card-header {
    background-color: #249b41;
    color: #000;
}

.mgr-dash-card-grid .temperature-card .card-body {
    border-color: #249b41;
    position: relative;
}

.temperature-card.co-status .card-header {
    background-color: #17a2b8;
    color: #000;
}

.mgr-dash-right-panel .temperature-right-panel-row {
    height: 160px;
    margin-bottom: 10px;
}

.temperature-left-panel.mgr-dash-left-panel .left-panel-card {
    color: #000;
}

.temperature-card .card-body {
    min-width: 390px;
    width: 100%;
}

.temperature-card.co-status .card-body {
    border-color: #17a2b8;
}

.temperature-card.inactive-status .card-header {
    background-color: #f2c342;
    color: #000;
}

.temperature-card.inactive-status .card-body {
    border-color: #f2c342;
    position: relative;
}

.card-body-right-wrap-bottom {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 50%;
}

.temperature-card.lowbattery-status .card-header {
    background-color: #563d7c;
}

.temperature-card.lowbattery-status .card-body {
    border-color: #563d7c;
}

.temperature-card.restricted-status .card-header {
    background-color: #af031a;
}

.temperature-card.restricted-status .card-body {
    border-color: #af031a;
}

.temperature-card.cnl-status .card-header {
    background-color: #fff;
    color: #000;
}


.temperature-card.foreign-status .card-header {
    background-color: magenta;
    color: #fff;
}
.temperature-card.foreign-status .card-body {
    border-color: magenta;
}




.temperature-card.offsite-status .card-header {
    background-color: orangered;
    color: #fff;
}
.temperature-card.offsite-status .card-body {
    border-color: orangered;
}



.temperature-card.cnl-status .card-body {
    border-color: #fff;
}

.new-req-chip.telerik-blazor.k-chip.k-chip-lg.k-rounded-sm.k-chip-outline.k-chip-outline-success.k-selected {
    background: darkblue;
    border-color: darkblue;
}

.low-battery-chip.telerik-blazor.k-chip.k-chip-lg.k-rounded-sm.k-chip-outline.k-chip-outline-success.k-selected {
    background-color: #563d7c;
    border-color: #563d7c;
}

.in-active-chip.telerik-blazor.k-chip.k-chip-lg.k-rounded-sm.k-chip-outline.k-chip-outline-success.k-selected {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

.open-pm-chip.telerik-blazor.k-chip.k-chip-lg.k-rounded-sm.k-chip-outline.k-chip-outline-success.k-selected {
    color: #000;
}

.open-corrective-chip.telerik-blazor.k-chip.k-chip-lg.k-rounded-sm.k-chip-outline.k-chip-outline-success.k-selected {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: #000;
}

.restricted-chip.telerik-blazor.k-chip.k-chip-lg.k-rounded-sm.k-chip-outline.k-chip-outline-success.k-selected {
    background-color: #af031a;
    border-color: #af031a;
}

.cnl-chip.telerik-blazor.k-chip.k-chip-lg.k-rounded-sm.k-chip-outline.k-chip-outline-success.k-selected {
    background-color: #fff;
    border-color: #fff;
    color: #000;
}



.foreign-chip.telerik-blazor.k-chip.k-chip-lg.k-rounded-sm.k-chip-outline.k-chip-outline-success.k-selected {
    background-color: magenta;
    border-color: #fff;
    color: white;
}

.offsite-chip.telerik-blazor.k-chip.k-chip-lg.k-rounded-sm.k-chip-outline.k-chip-outline-success.k-selected {
    background-color: orangered;
    border-color: #fff;
    color: white;
}

.title-card-bottom-content {
    height: 100%;
    font-size: 18px;
    text-align: center;
}

.auto-page-switch .k-switch-track {
    height: 20px !important;
    width: 40px;
}


.auto-page-switch .k-switch-thumb {
    height: 18px !important;
}

.k-chip-outline-success.k-selected {
    font-weight: 500;
}

span.past-due-txt {
    background-color: red;
    padding: 4px;
    margin-left: 1px;
}


/* Top bar */
.top-bar-tabs-wrap {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.top-bar-tabs-wrap span.k-chip-label.k-text-ellipsis {
    font-size: 0.8rem;
}

/* Topbar scrollbar */
.scroll-container {
    display: flex;
    align-items: center;
    position: relative;
}

.scrollable-div {
    overflow-x: hidden;
    white-space: nowrap;
    width: 300px; /* Adjust width as needed */
}

.scroll-button {
    background-color: #ccc; /* Button background color */
    border: none;
    padding: 10px;
    cursor: pointer;
}

    .scroll-button.left {
        position: absolute;
        left: 0;
        display: none;
    }

    .scroll-button.right {
        position: absolute;
        right: 0;
        display: none;
}

.scollable-div {
    display: flex;
    gap: 50px;
}

.title-card-top-content {
    display: flex;
    gap: 10px;
    white-space: nowrap;
}

.scroll-container::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 5px;
    background-color: #F5F5F5;
}


.mgr-dash-card-grid {
    margin-right: 15px;
}

.scroll-container::-webkit-scrollbar {
    width: 5px;
    height: 10px;
    background-color: #F5F5F5;
}

.scroll-container::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}


.card-body-left-wrap span.status-txt {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-top: 10px;
}

/* Justification Page*/
.form-header-with-btn-wrap {
    display: flex;
    align-items: center;
}

.form-header-with-btn-wrap h5 {
    margin-bottom: 0px;
}



.k-tabstrip-content:focus, .k-tabstrip-content.k-focus, .k-tabstrip > .k-content:focus, .k-tabstrip > .k-content.k-focus {
    outline: none;
}


/* Par Track View Header */
.par-track-header-switch-wrap span.k-switch-thumb {
    background: green;
}

.par-track-header-switch-wrap .k-switch-off span.k-switch-thumb {
    background: red;
}

.par-track-view-top-bar .topbar-right-wrap {
    display: flex;
    gap: 15px;
}

.par-track-view-body-group-wrap .group-area-wrap {
    margin-bottom: 25px;
}

.group-area-wrap-bottom-bar {
    background-color: white;
    height: 10px;
    width: 100%;
    margin-bottom: 10px;
}
/* Light mode */
.page-ui-mode-light .par-track-view-main-wrapper {
    background-color: #fff;
    color: #000;
}


.page-ui-mode-light .par-track-view-main-wrapper .scope-indicator {
    border-color: #000;
}

.page-ui-mode-light .par-track-view-main-wrapper .par-track-dashboard-name {
    border-color: #000;
}

.page-ui-mode-light .group-area-wrap-bottom-bar {
    background-color: #000;
    height: 3px;
}

.page-ui-mode-light .par-track-view-main-wrapper .par-value-card {
    background-color: #f0f0f0;
}

.temperature-card-with-location {
    position: relative;
}

.card-header-location-txt {
    position: absolute;
    right: 0px;
    top: 0px;
    color: #fff;
    padding: 5px;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
}

.temperature-card-with-location.temperature-card.new-req .card-header {
    background-color: darkblue;
    color: white;
}

.temperature-card-with-location.temperature-card.new-req .card-body {
    border-color: darkblue;
}

span.new-req-card-body-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    position: relative;
}

span.new-req-row-item {
    width: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

span.patient-incident-label {
    background-color: red;
    padding: 2px;
    margin-left: 1px;
    position: absolute;
    right: 0px;
}

/* Trigger Page Dashboard*/
.trigger-page-wrapper {
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
    min-height: 100vh;
}

.trigger-top-bar {
    display: flex;
    justify-content: space-between;
    gap: 20px;

}

.trigger-top-bar-left {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
}

.trigger-top-bar-left-main-wrap {
    display: flex;
    border: 1px solid #8f8c8c;
    width: 100%;
}

.teamnet-logo-wrap {
    display: flex;
    border: 1px solid #8f8c8c;
    width: 223px;
    align-items: center;
    justify-content: center;
}

/*justify-content: space-between;
border: 1px solid #8f8c8c;
padding: 10px;*/
.trigger-top-bar-indicator-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: flex-end;
}

.trigger-top-bar-title-wrap h1 {
    margin-bottom: 0px;
    color: #fff;
    font-size: 1.5rem;
}

.trigger-top-bar-right {
    max-width: 300px;
    border: 1px solid #8f8c8c;
    padding: 10px;
    text-align: center;
}

.trigger-cards-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.trigger-details-card-wrap {
    display: flex;
    gap: 20px;
    width: 100%;
}

.trigger-label-card {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 223px;
    padding: 10px;
    flex-direction: column;
    border: 1px solid #fff;
}



.trigger-label-card .count {
    font-size: 3em;
    margin-bottom: 0px;
    line-height: 1.2;
}

.yellow-cards-row .trigger-label-card .count {
    color: #000;
}

.trigger-label-card h2 {
    color: #fff;
    font-size: 1.9em;
    font-weight: 500;
    margin-bottom: 20px;
}

.trigger-label-card-pager-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.trigger-main-wrapper {
    margin-top: 20px;
}

/* Green Cards */
.green-cards-row .trigger-label-card, .green-cards-row .trigger-details-card-header span {
    background-color: #249b41;
}

.green-cards-row .trigger-details-card-body {
    border-color: #249b41;
}

/* Yellow Cards */
.yellow-cards-row .trigger-label-card, .yellow-cards-row .trigger-details-card-header span {
    background-color: #ffc90d;
}

.yellow-cards-row .trigger-details-card-body {
    border-color: #ffc90d;
}

/* Orange Cards */
.orange-cards-row .trigger-label-card, .orange-cards-row .trigger-details-card-header span {
    background-color: #ff7f26;
}

.orange-cards-row .trigger-details-card-body {
    border-color: #ff7f26;
}

/* Red Cards */
.red-cards-row .trigger-label-card, .red-cards-row .trigger-details-card-header span {
    background-color: #ed1b24;
}

.red-cards-row .trigger-details-card-body {
    border-color: #ed1b24;
}

.trigger-details-card-header span {
    padding: 5px 15px;
}

.trigger-details-card-body {
    border: 4px solid;
    padding: 10px;
    min-width: 400px;
    color: #fff;
}

.trigger-details-card-body-top-row {
    display: flex;
    justify-content: space-between;
}

.trigger-details-card-body-bottom-row {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 1rem;
}

.trigger-card-row-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trigger-indicator-item {
    border-right: 1px solid #eeee;
    padding-right: 15px;
}

.trigger-indicator-item-icon.green-icon {
    color: #249b41;
}

.trigger-indicator-item-icon.yellow-icon {
    color: #ffc90d;
}

.trigger-indicator-item-icon.orange-icon {
    color: #ff7f26;
}

.trigger-indicator-item-icon.red-icon {
    color: #ed1b24;
}

.top-bar-time-txt {
    display: inline-block;
    font-size: 1.2rem;
}

.trigger-top-bar-title-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.trigger-details-card {
    width: 33.3%;
}

.trigger-cards-row.yellow-cards-row .trigger-label-card h2, .trigger-cards-row.yellow-cards-row .trigger-details-card-header, .trigger-cards-row.yellow-cards-row .trigger-label-card .pager {
    color: #000;
}

.trigger-carousel {
    width: 100%;
}

.pagebuttons {
    display: flex;
    gap: 5px;
}


.auto-page-wrap, .trigger-page-dark-mode-switch-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px 15px;
    flex-direction: column;
}

.auto-page-wrap span, .trigger-page-dark-mode-switch-wrap span {
    display: flex;
    white-space: nowrap;
}

 .trigger-page-dark-mode-switch-wrap .k-switch-lg .k-switch-track, .trigger-page-dark-mode-switch-wrap .k-switch .k-switch-thumb {
    height: 20px !important;
}

/* Trigger Page Dark mode */
.page-ui-mode-light .trigger-page-wrapper  {
    background-color: #fff;
    color: #000;
}

.page-ui-mode-light .trigger-details-card-body {
    color: #000;
    background-color: #f0f0f0;
}

.page-ui-mode-light  .trigger-top-bar-title-wrap h1 {
    color: #000;
}

.page-ui-mode-light .teamnet-logo-wrap img {
    filter: invert(1);
}

.page-ui-mode-light .k-switch-off .k-switch-thumb {
    background-color: #ed1b24;
}

/* ------------------- WIP Dashboard ------------------------------------ */
/* PAGE WRAPPER */
.wip-page {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 100vh;
    background: #f3f4f6;
    overflow-x: hidden;
}

.wip-page,
.wip-page * {
    box-sizing: border-box;
}

    /* HEADER */
    .wip-page .wip-header {
        width: 100%;
        max-width: 100%;
        height: 40px;
        background: #9fc0df;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 14px;
        box-sizing: border-box;
        font-size: 13px;
        color: #1f2d3d;
        border-bottom: 1px solid #87abc9;
    }

    /* LEFT / CENTER / RIGHT */
    .wip-page .wip-header-left {
        display: flex;
        align-items: center;
        min-width: 140px;
    }

    .wip-page .wip-header-center {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        font-weight: 700;
        white-space: nowrap;
        font-size: 18px;
        color: #fff;
    }

    .wip-page .wip-header-right {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        overflow: hidden;
    }

    /* BRAND */
    .wip-page .wip-brand {
        font-weight: 700;
        font-size: 18px;
        line-height: 1;
        color: #fff;
    }

    /* CONTROL GROUP */
    .wip-page .wip-control {
        display: flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
    }

.wip-control.auto-scroll-control {
    background: #2e7ccf;
    padding: 0px 10px;
    color: #fff;
}

.wip-control.dark-mode-control {
    background: #e7ecf1;
    padding: 0px 10px;
    color: #71889f;
}


.wip-page .wip-control .k-switch-md.k-switch-on .k-switch-track {
    background-color: #4a8ff3;
    border-color: #4a8ff3;
}


.wip-page .wip-label {
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
}

    /* DROPDOWNS */

/* wrapper */
.wip-page .wip-dropdown {
    font-size: 14px;
    font-weight: 600;
    color: #71889f;
}

    /* main control */
    .wip-page .wip-dropdown.k-dropdownlist {
        height: 34px;
        border-radius: 0px;
        border: 1px solid #9ca7b3;
        background: #fff;
        box-shadow: none;
    }

    /* text inside */
    .wip-page .wip-dropdown .k-input-inner {
        padding: 2px 6px;
        font-size: 12px;
    }

    /* dropdown arrow */
    .wip-page .wip-dropdown .k-button-icon {
        font-size: 12px;
    }

/* popup list */
.wip-page .k-list {
    font-size: 13px;
}

/* hover item */
.wip-page .k-list-item:hover {
    background-color: #e6f2ff;
}

.wip-page .wip-dropdown {
    min-width: 140px;
}

.wip-page .wip-native-select {
    width: 150px;
    height: 30px;
    border: 1px solid #9ca7b3;
    border-radius: 0;
    background: #fff;
    color: #71889f;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 3px 24px 3px 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wip-page .wip-header-right {
    gap: 8px;
}

    /* TELERIK SWITCH */
    .wip-page .wip-switch.k-switch {
        transform: scale(0.72);
        transform-origin: center;
        margin: 0;
    }

    .wip-page .wip-switch .k-switch-track {
        border-radius: 999px;
    }

    .wip-page .wip-switch .k-switch-thumb {
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
    }

.wip-page .wip-content {
    display: grid;
    gap: 8px;
    height: calc(100vh - 68px);
    overflow: hidden;
    box-sizing: border-box;
    padding: 10px 12px 12px 12px;
}

.wip-page .wip-content--split {
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
}

.wip-page .wip-content--single {
    grid-template-rows: minmax(0, 1fr);
}

.wip-page .wip-section {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-bottom: 0;
}

.wip-page .wip-section-title-row {
    background: #e7ecf1;
    display: grid;
    grid-template-columns: auto auto auto auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: 36px;
    padding: 4px 8px;
    flex: 0 0 auto;
    margin-bottom: 8px;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.wip-page .wip-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
}

.wip-page .wip-section-icon-down {
    color: red !important;
   
}

.wip-page .wip-section-icon-limited {
    color: #d1a300 !important;
}

.wip-page .wip-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.wip-page .wip-section-separator {
    font-size: 18px;
    color: #555;
    margin: 0 6px;
    line-height: 1;
}

.wip-page .wip-section-count {
    font-size: 18px;
    color: #444;
    line-height: 1;
}

/* wip card component */
.wip-page .wip-status-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.25fr);
    background: #fff;
    height: 100%;
    min-height: 0;
    min-width: 0;
    border: 3px solid transparent;
    overflow: hidden;
}

.wip-page .wip-status-card--down {
    border-color: #e53935;
}

.wip-page .wip-status-card--limited {
    border-color: #f2d230;
}

.wip-page .wip-status-card__left,
.wip-page .wip-status-card__right {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.wip-page .wip-status-card__left {
    border-right: 1px solid #e5e5e5;
}

.wip-page .wip-status-card__section {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    flex: 0 0 auto;
}

.wip-page .wip-status-card__left .wip-status-card__section:first-child {
    border-bottom: 1px solid #e5e5e5;
}

.wip-page .wip-status-card__section-title {
    padding: 5px 8px 4px 8px;
    font-size: 12px;
    font-weight: 700;
    color: #666;
    border-bottom: 1px solid #efefef;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wip-page .wip-status-card__section-title i {
    margin-right: 5px;
    font-size: 13px;
}

.wip-page .wip-status-card__row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 5px;
    padding: 3px 8px;
    border-bottom: 1px solid #f2f2f2;
    align-items: start;
    min-width: 0;
}

.wip-page .wip-status-card__label {
    color: #6ba6cf;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.25;
    min-width: 0;
}

.wip-page .wip-status-card__value {
    color: #444;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
}

.wip-page .wip-status-card__row--note {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wip-page .wip-status-card__note {
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.wip-page .wip-status-card__right {
    justify-content: space-between;
}

.wip-page .wip-status-card__footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 8px;
    border-top: 1px solid #efefef;
}

.wip-page .wip-status-card__footer-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wip-page .wip-status-card__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    padding: 4px 8px;
    background: #83d9c9;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.wip-page .wip-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}


.wip-page .wip-page-indicator {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    min-width: 90px;
    text-align: center;
}

.wip-page .wip-page-nav-button {
    width: 28px;
    height: 28px;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #444;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    border-radius: 4px;
}

    .wip-page .wip-page-nav-button:disabled {
        opacity: 0.4;
        cursor: default;
    }

.wip-page .wip-card-slider {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.wip-page .wip-card-slider-track {
    display: flex;
    height: 100%;
    width: 100%;
    max-width: 100%;
    transition: transform 0.45s ease-in-out;
    will-change: transform;
}

.wip-page .wip-card-slide {
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.wip-page .wip-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, calc((100% - 12px) / 3)));
    height: 100%;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    gap: 6px;
    overflow: hidden;
}

.wip-page .wip-card-grid > * {
    min-width: 0;
}

.wip-page .wip-card-grid--six {
    grid-template-rows: repeat(2, minmax(0, calc((100% - 6px) / 2)));
    align-content: start;
}



.wip-page .wip-section-pager {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.wip-page .wip-section-pager--inline {
    justify-self: end;
    margin-top: 0;
    margin-left: 0;
    flex: 0 0 auto;
    max-width: 100%;
    overflow: hidden;
}

.wip-page .wip-section-pager--hidden {
    visibility: hidden;
    pointer-events: none;
}

.wip-page .wip-page-indicator {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    min-width: 76px;
    text-align: center;
    white-space: nowrap;
}

.wip-page .wip-page-nav-button {
    width: 26px;
    height: 28px;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #444;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    border-radius: 4px;
}

    .wip-page .wip-page-nav-button:disabled {
        opacity: 0.4;
        cursor: default;
    }


    /* wip page dark mode */
.wip-page.wip-page--dark {
    background: #111827;
    color: #e5e7eb;
}

    .wip-page.wip-page--dark .wip-header {
        background: #1f2937;
        border-bottom: 1px solid #374151;
        color: #f3f4f6;
    }

    .wip-page.wip-page--dark .wip-brand,
    .wip-page.wip-page--dark .wip-label,
    .wip-page.wip-page--dark .wip-header-center {
        color: #f3f4f6;
    }

    .wip-page.wip-page--dark .wip-content {
        background: #111827;
    }

    .wip-page.wip-page--dark .wip-section-title-row {
        border-bottom: 1px solid #374151;
        background: #1f2937;
    }

    .wip-page.wip-page--dark .wip-section-title,
    .wip-page.wip-page--dark .wip-section-separator,
    .wip-page.wip-page--dark .wip-section-count,
    .wip-page.wip-page--dark .wip-section-icon {
        color: #f3f4f6;
    }

    .wip-page.wip-page--dark .wip-page-indicator {
        color: #d1d5db;
    }

    .wip-page.wip-page--dark .wip-page-nav-button {
        background: #1f2937;
        color: #f3f4f6;
        border: 1px solid #4b5563;
    }

        .wip-page.wip-page--dark .wip-page-nav-button:disabled {
            opacity: 0.35;
        }

    /* Telerik dropdown */
    .wip-page.wip-page--dark .wip-dropdown.k-dropdownlist {
        background: #1f2937;
        border-color: #4b5563;
        color: #f3f4f6;
    }

    .wip-page.wip-page--dark .wip-dropdown .k-input-inner {
        color: #f3f4f6;
        background: transparent;
    }

    .wip-page.wip-page--dark .wip-dropdown .k-button-icon {
        color: #d1d5db;
    }

    /* Telerik dropdown popup */
    .wip-page.wip-page--dark .k-popup,
    .wip-page.wip-page--dark .k-list-container,
    .wip-page.wip-page--dark .k-list-content,
    .wip-page.wip-page--dark .k-list {
        background: #1f2937;
        color: #f3f4f6;
    }

    .wip-page.wip-page--dark .k-list-item {
        color: #f3f4f6;
    }

        .wip-page.wip-page--dark .k-list-item:hover,
        .wip-page.wip-page--dark .k-selected {
            background: #374151;
            color: #ffffff;
        }


    .wip-page.wip-page--dark .wip-status-card {
        background: #1f2937;
    }

    .wip-page.wip-page--dark .wip-status-card__left {
        border-right: 1px solid #374151;
    }

        .wip-page.wip-page--dark .wip-status-card__left .wip-status-card__section:first-child {
            border-bottom: 1px solid #374151;
        }

    .wip-page.wip-page--dark .wip-status-card__section-title {
        color: #f3f4f6;
        border-bottom: 1px solid #374151;
    }

    .wip-page.wip-page--dark .wip-status-card__row {
        border-bottom: 1px solid #374151;
    }

    .wip-page.wip-page--dark .wip-status-card__label {
        color: #93c5fd;
    }

    .wip-page.wip-page--dark .wip-status-card__value,
    .wip-page.wip-page--dark .wip-status-card__note {
        color: #e5e7eb;
    }

    .wip-page.wip-page--dark .wip-status-card__footer {
        border-top: 1px solid #374151;
    }

    .wip-page.wip-page--dark .wip-status-card__status {
        background: #0f766e;
        color: #ffffff;
    }

 .wip-page.wip-page--dark .wip-control.dark-mode-control, .wip-page.wip-page--dark .wip-control.auto-scroll-control {
    background: #1f2937;
    border: 1px solid #4b5563;
 }

.k-popup.k-list-container.k-dropdownlist-popup {
    height: auto !important;
    padding-bottom: 10px;
}

/* --------------------------------------------------------------------------- Map Summary Page -------------------------------------------------------- */
.summary-bar {
    display: flex;
    gap: 24px;
    padding: 14px 18px;
    margin-bottom: 12px;
    border: 1px solid #d9e2ef;
    border-radius: 12px;
    background: white;
}

.red {
    color: #e74c3c;
}

.yellow {
    color: #d99500;
}

.green {
    color: #22994d;
}

.breadcrumbs {
    margin-bottom: 12px;
}

    .breadcrumbs button {
        border: 1px solid #cbd5e1;
        background: white;
        border-radius: 8px;
        padding: 6px 12px;
        cursor: pointer;
    }

.dashboard-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 470px;
    gap: 16px;
}

.left-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.side-card {
    border: 1px solid #d9e2ef;
    border-radius: 14px;
    background: white;
    padding: 16px;
}

    .side-card h4 {
        margin: 0 0 14px 0;
        color: #102a56;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
    color: #475569;
    font-weight: 600;
}

    .step-item span {
        width: 24px;
        height: 24px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #e2e8f0;
        color: #334155;
        font-size: 13px;
    }

    .step-item.active {
        color: #1d4ed8;
    }

        .step-item.active span {
            background: #2563eb;
            color: white;
        }

.legend-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
}

    .legend-row b {
        display: block;
        font-size: 13px;
    }
    
    .legend-row small {
        display: block;
        color: #64748b;
        margin-top: 2px;
    }
 
.legend-dot {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-block;
}

.green-bg {
    background: #39a852;
}

.yellow-bg {
    background: #f5b51b;
}

.red-bg {
    background: #e74c3c;
}

.mixed-bg {
    background: linear-gradient(135deg, #e74c3c, #f5b51b, #39a852);
}

.map-panel {
    position: relative;
    height: 620px;
    border: 1px solid #d9e2ef;
    border-radius: 14px;
    background: linear-gradient(rgba(255,255,255,.65), rgba(255,255,255,.65)), radial-gradient(circle at 25% 40%, #dbeafe 0, transparent 35%), radial-gradient(circle at 70% 45%, #e0f2fe 0, transparent 36%), #eff6ff;
    overflow: hidden;
}

    .map-panel::before {
        content: "";
        position: absolute;
        inset: 70px 80px;
        border: 2px dashed #b6c7df;
        border-radius: 45% 48% 42% 50%;
        transform: rotate(-6deg);
        opacity: .8;
    }

.map-title {
    position: absolute;
    left: 18px;
    top: 18px;
    font-weight: 700;
    color: #102a56;
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(15,23,42,.12);
}

.map-dot {
    position: absolute;
    transform: translate(-50%, -50%);
    border: 2px solid white;
    border-radius: 999px;
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(15,23,42,.22);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .map-dot:hover {
        transform: translate(-50%, -50%) scale(1.08);
        box-shadow: 0 12px 30px rgba(15,23,42,.3);
    }

    .map-dot span {
        display: block;
        font-size: 12px;
        line-height: 1.1;
    }

.detail-panel {
    border: 1px solid #d9e2ef;
    border-radius: 14px;
    background: white;
    padding: 16px;
    overflow-y: auto;
    height: 100%;
}

    .detail-panel h4 {
        margin-top: 0;
    }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

tbody tr {
    cursor: pointer;
}

    tbody tr:hover {
        background: #f8fafc;
    }

.mini-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    margin-right: 8px;
}

.facility-popup {
    position: absolute;
    right: 60px;
    top: 170px;
    width: 290px;
    background: white;
    border: 1px solid #d9e2ef;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 18px 45px rgba(15,23,42,.25);
    z-index: 5;
}

    .facility-popup h4 {
        margin: 0 28px 14px 0;
    }

.close {
    position: absolute;
    right: 12px;
    top: 10px;
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
}

.popup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    text-align: center;
    font-size: 13px;
    margin-bottom: 14px;
}

.open-btn {
    width: 100%;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    padding: 10px 12px;
    font-weight: 700;
    cursor: pointer;
}

.tooltip-facility-name {
    margin: 4px 0 8px 0;
    color: #475569;
    font-size: 12px;
}

.tooltip-open-btn {
    margin-top: 10px;
    width: 100%;
    border: none;
    border-radius: 7px;
    background: #2563eb;
    color: white;
    padding: 7px 10px;
    font-weight: 700;
    cursor: pointer;
}

.selected-row {
    background: #eff6ff !important;
    outline: 2px solid #93c5fd;
}

    .selected-row td:first-child {
        font-weight: 700;
        color: #1d4ed8;
    }

/* Dashboard Header */
.mc-summary-dashboard-page {
    background: #f8fafc;
    min-height: 100vh;
}

    .mc-summary-dashboard-page .dashboard-header {
        display: flex;
        justify-content: space-between;
        align-items: center; /* tighter vertical alignment */
        gap: 20px;
        padding: 10px 16px;
        margin-bottom: 10px;
        background: white;
        border: 1px solid #d9e2ef;
    }

    .mc-summary-dashboard-page .header-left h2 {
        color: #0f172a;
        margin: 1px 0;
        font-size: 22px;
        line-height: 1.2;
    }

    .mc-summary-dashboard-page .eyebrow {
        font-size: 11px;
        margin-bottom: 2px;
        font-weight: 800;
        color: #2563eb;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .mc-summary-dashboard-page .subtitle {
        color: #64748b;
        margin-bottom: 6px; /* ⬅️ reduce gap */
        font-size: 13.5px;
    }

    .mc-summary-dashboard-page .summary-cards {
        display: flex;
        gap: 10px;
    }


    .mc-summary-dashboard-page .title-row {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .mc-summary-dashboard-page .title-block {
        display: flex;
        flex-direction: column;
    }

    .mc-summary-dashboard-page .title-meta {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .mc-summary-dashboard-page .subtitle {
        font-size: 13.5px;
        color: #64748b;
        margin-bottom: 2px;
    }

    .mc-summary-dashboard-page .breadcrumbs {
        display: flex;
        align-items: center;
        gap: 4px;
    }

        .mc-summary-dashboard-page .breadcrumbs button {
            border: none;
            background: #f1f5f9;
            border-radius: 6px;
            padding: 3px 8px;
            font-size: 12px;
            cursor: pointer;
        }
    .mc-summary-dashboard-page .summary-overview {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 640px;
        flex-wrap: wrap;
    }

    .mc-summary-dashboard-page .summary-inline-chip {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        padding: 6px 12px;
        border-radius: 999px;
        border: 1px solid #d9e2ef;
        background: #f8fafc;
        color: #0f172a;
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
    }

        .mc-summary-dashboard-page .summary-inline-chip.down {
            background: #fff1f0;
            border-color: #fecaca;
            color: #c2410c;
        }

        .mc-summary-dashboard-page .summary-inline-chip.limited {
            background: #fffbeb;
            border-color: #fde68a;
            color: #a16207;
        }

        .mc-summary-dashboard-page .summary-inline-chip.up {
            background: #f0fdf4;
            border-color: #bbf7d0;
            color: #166534;
        }

    .mc-summary-dashboard-page .dashboard-layout {
        margin-top: 12px;
        min-height: calc(100vh - 138px);
        height: calc(100vh - 138px);
        padding: 0px 18px;
    }

    /* right panel */

    .mc-summary-dashboard-page .detail-instruction {
        margin-top: 6px;
        margin-bottom: 10px;
        padding: 7px 10px;
        background: #f8fafc;
        border-radius: 8px;
        font-size: 12.5px;
        color: #64748b;
        border: 1px dashed #cbd5e1;
    }

    .mc-summary-dashboard-page .summary-section {
        background: white;
        border: 1px solid #d9e2ef;
        border-radius: 14px;
        padding: 14px;
        margin-bottom: 15px;
    }

        .mc-summary-dashboard-page .summary-section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 8px;
        }

        .mc-summary-dashboard-page .summary-section h4 {
            margin: 0;
            color: #0f172a;
            font-size: 15px;
        }

        .mc-summary-dashboard-page .summary-back-btn,
        .mc-summary-dashboard-page .summary-open-btn {
            border: 1px solid #cbd5e1;
            background: white;
            color: #0f172a;
            border-radius: 8px;
            padding: 5px 10px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
        }

        .mc-summary-dashboard-page .summary-back-btn:hover,
        .mc-summary-dashboard-page .summary-open-btn:hover {
            background: #f8fafc;
        }

        .mc-summary-dashboard-page .summary-action-cell {
            width: 1%;
            white-space: nowrap;
        }

        .mc-summary-dashboard-page .facility-summary-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .mc-summary-dashboard-page .facility-summary-item {
            width: 100%;
            border: 1px solid #d9e2ef;
            border-radius: 12px;
            background: #fff;
            padding: 10px 12px;
            text-align: left;
        }

        .mc-summary-dashboard-page .facility-summary-item-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 6px;
        }

        .mc-summary-dashboard-page .facility-summary-name-row {
            display: flex;
            align-items: center;
            gap: 8px;
            min-width: 0;
            flex: 1;
        }

        .mc-summary-dashboard-page .facility-summary-name {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-weight: 700;
            color: #0f172a;
        }

        .mc-summary-dashboard-page .facility-summary-count-row {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            color: #475569;
            font-size: 12.5px;
        }

        .mc-summary-dashboard-page .facility-summary-open-btn {
            flex-shrink: 0;
        }

        .mc-summary-dashboard-page .summary-section table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
        }

        .mc-summary-dashboard-page .summary-section th {
            background: #f8fafc;
            color: #64748b;
            font-size: 12px;
            font-weight: 700;
        }

        .mc-summary-dashboard-page .summary-section th,
        .mc-summary-dashboard-page .summary-section td {
            padding: 8px 9px;
            border-bottom: 1px solid #e5e7eb;
        }

        .mc-summary-dashboard-page .summary-section tbody tr:hover {
            background: #f8fafc;
        }

        .mc-summary-dashboard-page .summary-section tbody tr:last-child td {
            border-bottom: none;
        }

        .mc-summary-dashboard-page .summary-section tbody tr:nth-child(even) {
            background: #fafafa;
        }

        .mc-summary-dashboard-page .summary-section td {
            text-align: right;
        }

            .mc-summary-dashboard-page .summary-section td:first-child {
                text-align: left;
            }

        .mc-summary-dashboard-page .summary-section th {
            text-align: right;
        }

            .mc-summary-dashboard-page .summary-section th:first-child {
                text-align: left;
            }

    /* bottom bar */
    .mc-summary-dashboard-page .bottom-info-bar {
        margin-top: 16px;
        padding: 12px 16px;
        background: white;
        border: 1px solid #d9e2ef;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #475569;
        font-size: 13.5px;
    }

    .mc-summary-dashboard-page .info-icon {
        width: 20px;
        height: 20px;
        border-radius: 999px;
        background: #2563eb;
        color: white;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 800;
        flex-shrink: 0;
    }

    /* left panel */
    .mc-summary-dashboard-page .step-item {
        cursor: pointer;
        user-select: none;
    }

        .mc-summary-dashboard-page .step-item.disabled {
            opacity: 0.45;
            cursor: not-allowed;
            pointer-events: none;
        }

        .mc-summary-dashboard-page .step-item:hover:not(.disabled) {
            background: #f8fafc;
            border-radius: 8px;
        }

    .mc-summary-dashboard-page .header-right {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .mc-summary-dashboard-page .header-meta {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mc-summary-dashboard-page .last-updated {
        font-size: 11.5px;
        color: #64748b;
        text-align: right;
        line-height: 1.2;
    }

        .mc-summary-dashboard-page .last-updated b {
            font-size: 12.5px;
            color: #0f172a;
        }

    .mc-summary-dashboard-page .refresh-btn {
        border: 1px solid #cbd5e1;
        background: white;
        border-radius: 10px;
        padding: 6px 10px;
        font-size: 16px;
        cursor: pointer;
    }

    .mc-summary-dashboard-page .refresh-btn:hover {
        background: #f1f5f9;
    }

    .facility-detail-window .k-window-titlebar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center !important;
        gap: 12px;
        width: 100%;
        flex-wrap: nowrap !important;
        padding: 10px 16px !important;
        margin: 0 !important;
        min-height: 0 !important;
    }

    .facility-detail-window .k-window-title {
        min-width: 0;
        width: 100%;
        overflow: hidden;
        display: block;
        margin: 0 !important;
        padding: 0 !important;
    }

    .facility-window-title {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        width: 100%;
        min-width: 0;
        flex-wrap: nowrap !important;
    }

    .facility-window-title-left {
        display: flex !important;
        align-items: center;
        gap: 10px;
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .facility-window-title-icon {
        color: #2563eb;
        font-size: 18px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .facility-window-title-main {
        font-size: 18px;
        font-weight: 700;
        color: #0f172a;
        min-width: 0;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .facility-window-title-stats {
        display: flex;
        gap: 12px;
        flex-wrap: nowrap;
        font-size: 12px;
        color: #475569;
        justify-content: flex-end;
        margin-left: auto;
        min-width: fit-content;
    }

    .facility-detail-window .k-window-titlebar-actions {
        flex: 0 0 auto;
        align-self: center;
        justify-self: end;
    }

    .facility-window-filters {
        display: flex;
        gap: 18px;
        align-items: center;
        margin-bottom: 12px;
        color: #334155;
        font-size: 13px;
        font-weight: 600;
    }

    .facility-filter-group .k-button {
        border: 1px solid #cbd5e1 !important;
        background: #e5e7eb !important;
        background-image: none !important;
        color: #111827 !important;
        border-radius: 999px;
        padding: 7px 14px;
        font-size: 12px;
        font-weight: 700;
        box-shadow: none !important;
    }

    .facility-filter-group .k-button,
    .facility-filter-group .k-button .k-button-text,
    .facility-filter-group .k-button .k-icon {
        color: inherit !important;
    }

        .facility-filter-group button.facility-filter-all.k-selected,
        .facility-filter-group button.facility-filter-all.k-selected:hover,
        .facility-filter-group button.facility-filter-all.is-active,
        .facility-filter-group button.facility-filter-all.k-selected .k-button-text,
        .facility-filter-group button.facility-filter-all.is-active .k-button-text,
        .facility-filter-group button.facility-filter-all.k-selected .k-icon,
        .facility-filter-group button.facility-filter-all.is-active .k-icon {
            background: #2563eb !important;
            border-color: #2563eb !important;
            color: white !important;
        }

        .facility-filter-group button.facility-filter-down.k-selected,
        .facility-filter-group button.facility-filter-down.k-selected:hover,
        .facility-filter-group button.facility-filter-down.is-active,
        .facility-filter-group button.facility-filter-down.k-selected .k-button-text,
        .facility-filter-group button.facility-filter-down.is-active .k-button-text,
        .facility-filter-group button.facility-filter-down.k-selected .k-icon,
        .facility-filter-group button.facility-filter-down.is-active .k-icon {
            background: #fff1f0 !important;
            border-color: #fecaca !important;
            color: #c2410c !important;
        }

        .facility-filter-group button.facility-filter-limited.k-selected,
        .facility-filter-group button.facility-filter-limited.k-selected:hover,
        .facility-filter-group button.facility-filter-limited.is-active,
        .facility-filter-group button.facility-filter-limited.k-selected .k-button-text,
        .facility-filter-group button.facility-filter-limited.is-active .k-button-text,
        .facility-filter-group button.facility-filter-limited.k-selected .k-icon,
        .facility-filter-group button.facility-filter-limited.is-active .k-icon {
            background: #fffbeb !important;
            border-color: #fde68a !important;
            color: #a16207 !important;
        }

        .facility-filter-group button.facility-filter-up.k-selected,
        .facility-filter-group button.facility-filter-up.k-selected:hover,
        .facility-filter-group button.facility-filter-up.is-active,
        .facility-filter-group button.facility-filter-up.k-selected .k-button-text,
        .facility-filter-group button.facility-filter-up.is-active .k-button-text,
        .facility-filter-group button.facility-filter-up.k-selected .k-icon,
        .facility-filter-group button.facility-filter-up.is-active .k-icon {
            background: #f0fdf4 !important;
            border-color: #bbf7d0 !important;
            color: #166534 !important;
        }

        .facility-filter-group button.facility-filter-exception.k-selected,
        .facility-filter-group button.facility-filter-exception.k-selected:hover,
        .facility-filter-group button.facility-filter-exception.is-active,
        .facility-filter-group button.facility-filter-exception.k-selected .k-button-text,
        .facility-filter-group button.facility-filter-exception.is-active .k-button-text,
        .facility-filter-group button.facility-filter-exception.k-selected .k-icon,
        .facility-filter-group button.facility-filter-exception.is-active .k-icon {
            background: #ffedd5 !important;
            border-color: #fdba74 !important;
            color: #c2410c !important;
        }

    .facility-window-title-stats .summary-inline-chip {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 30px;
        padding: 5px 10px;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        border-radius: 999px;
        border: 1px solid transparent;
        white-space: nowrap;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    }

    .facility-window-title-stats.summary-overview {
        min-width: auto;
        gap: 8px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }

    .facility-window-title-stats .summary-inline-chip.total {
        background: #f8fafc;
        border: 1px solid #d9e2ef;
        color: #0f172a;
    }

    .facility-window-title-stats .summary-inline-chip.down {
        background: #fff1f0;
        border: 1px solid #fecaca;
        color: #c2410c;
    }

    .facility-window-title-stats .summary-inline-chip.limited {
        background: #fffbeb;
        border: 1px solid #fde68a;
        color: #a16207;
    }

    .facility-window-title-stats .summary-inline-chip.up {
        background: #f0fdf4;
        border: 1px solid #bbf7d0;
        color: #166534;
    }

    .facility-detail-window .k-window-content {
        overflow: hidden !important;
        padding: 0 16px 16px !important;
    }

    .facility-window-body {
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .facility-window-grid-wrap {
        flex: 1;
        min-height: 0;
        overflow: hidden;
    }

    .facility-detail-window .facility-grid-detail {
        font-size: 12px;
        line-height: 1.45;
        color: #334155;
        white-space: normal;
        display: block;
        align-self: flex-start;
    }

        .facility-detail-window .facility-grid-detail b {
            color: #0f172a;
        }

    .facility-detail-window .facility-grid-note {
        font-size: 12px;
        line-height: 1.45;
        color: #334155;
        white-space: normal;
        display: block;
    }

    .facility-detail-window .k-grid td,
    .facility-detail-window .k-grid .k-table-td,
    .facility-detail-window .k-grid .k-master-row td,
    .facility-detail-window .k-grid .k-master-row .k-table-td {
        vertical-align: top !important;
    }

    .facility-detail-window .k-grid tbody tr td,
    .facility-detail-window .k-grid .k-table-tbody .k-table-row .k-table-td {
        vertical-align: top !important;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .facility-detail-window .k-grid tbody tr td > *,
    .facility-detail-window .k-grid .k-table-tbody .k-table-row .k-table-td > * {
        vertical-align: top !important;
        align-self: flex-start !important;
    }

    .facility-detail-window .k-grid .k-table-td,
    .facility-detail-window .k-grid td,
    .facility-detail-window .k-grid-content td,
    .facility-detail-window .k-grid-content .k-table-td {
        padding-top: 10px;
    }

    .facility-detail-window .k-grid td.k-table-td .facility-grid-detail,
    .facility-detail-window .k-grid .k-table-td .facility-grid-detail,
    .facility-detail-window .k-grid td .facility-grid-note,
    .facility-detail-window .k-grid .k-table-td .facility-grid-note {
        margin-top: 0;
    }

/* map tool tip card */
    .mc-summary-dashboard-page .map-tooltip-card {
        min-width: 240px;
        background: white;
        border-radius: 12px;
        padding: 14px;
        box-shadow: 0 14px 35px rgba(15, 23, 42, 0.22);
        border: 1px solid #d9e2ef;
    }

    .mc-summary-dashboard-page .tooltip-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        color: #1e3a8a;
        font-size: 15px;
        margin-bottom: 12px;
    }

    .mc-summary-dashboard-page .tooltip-close {
        color: #0f172a;
        font-size: 20px;
        line-height: 1;
    }

    .mc-summary-dashboard-page .tooltip-count-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        margin-bottom: 14px;
    }

        .mc-summary-dashboard-page .tooltip-count-grid > div {
            text-align: center;
            padding: 0 9px;
            border-right: 1px solid #e5e7eb;
        }

            .mc-summary-dashboard-page .tooltip-count-grid > div:last-child {
                border-right: none;
            }

        .mc-summary-dashboard-page .tooltip-count-grid span {
            display: block;
            font-size: 11px;
            color: #64748b;
            margin-bottom: 5px;
            white-space: nowrap;
        }

        .mc-summary-dashboard-page .tooltip-count-grid b {
            font-size: 20px;
            color: #0f172a;
        }

    .mc-summary-dashboard-page .tooltip-open-btn {
        width: 100%;
        border: none;
        border-radius: 7px;
        background: #2563eb;
        color: white;
        padding: 9px 12px;
        font-weight: 700;
        cursor: pointer;
    }

        .mc-summary-dashboard-page .tooltip-open-btn:hover {
            background: #1d4ed8;
        }

    .mc-summary-dashboard-page .stacked-maps {
        display: flex;
        flex-direction: column;
        gap: 16px;
        height: 100%;
        min-height: 0;
    }

    .mc-summary-dashboard-page .map-section {
        background: #dbeafe;
        border: 1px solid #bfd7fb;
        border-radius: 14px;
        padding: 10px;
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .mc-summary-dashboard-page .map-section-header {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .mc-summary-dashboard-page .step-badge {
        background: #2563eb;
        color: white;
        font-size: 11px;
        font-weight: 700;
        padding: 3px 8px;
        border-radius: 6px;
    }

    .mc-summary-dashboard-page .single-map-section {
        padding: 14px;
        min-height: 0;
    }

    .mc-summary-dashboard-page .mc-summary-map-dot-shell {
        transform: none;
        pointer-events: auto;
    }

    .mc-summary-dashboard-page .mc-summary-leaflet-host {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        background: #dbeafe;
        flex: 1 1 auto;
        min-height: 0;
        height: 100%;
    }

    .mc-summary-dashboard-page .mc-summary-leaflet-host.leaflet-container {
        width: 100%;
        height: 100%;
        background: #dbeafe;
        font-family: inherit;
    }

    .mc-summary-dashboard-page .detail-panel.stacked-detail-panel {
        height: 100%;
        min-height: 0;
    }

    .mc-summary-dashboard-page .detail-panel.stacked-detail-panel .summary-section {
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .mc-summary-dashboard-page .detail-panel.stacked-detail-panel .facility-summary-list,
    .mc-summary-dashboard-page .detail-panel.stacked-detail-panel table {
        flex: 1 1 auto;
    }

    .mc-summary-dashboard-page .detail-panel.stacked-detail-panel .facility-summary-list {
        overflow-y: auto;
        min-height: 0;
        padding-right: 4px;
    }

    .mc-summary-dashboard-page .detail-panel.stacked-detail-panel .detail-instruction {
        margin-top: 12px;
    }

    .mc-summary-dashboard-page .detail-panel.stacked-detail-panel table {
        flex: 0 0 auto;
        align-self: stretch;
    }

    .mc-summary-dashboard-page .detail-panel.stacked-detail-panel .summary-section table tbody {
        vertical-align: top;
    }

    @media (max-width: 1400px) {
        .dashboard-layout {
            grid-template-columns: 220px minmax(0, 1fr) 500px;
        }
    }

    @media (max-width: 1100px) {
        .dashboard-layout,
        .mc-summary-dashboard-page .dashboard-layout {
            grid-template-columns: 1fr;
            height: auto;
            min-height: 0;
        }

        .left-panel,
        .mc-summary-dashboard-page .stacked-maps,
        .mc-summary-dashboard-page .detail-panel.stacked-detail-panel {
            height: auto;
        }

        .mc-summary-dashboard-page .map-section,
        .mc-summary-dashboard-page .mc-summary-leaflet-host {
            min-height: 520px;
        }

        .mc-summary-dashboard-page .detail-panel.stacked-detail-panel .summary-section {
            min-height: 520px;
        }
    }

    .mc-summary-dashboard-page .mc-summary-leaflet-host::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 450;
        background:
            linear-gradient(to right, rgba(219, 234, 254, 0.94), rgba(219, 234, 254, 0) 13%, rgba(219, 234, 254, 0) 87%, rgba(219, 234, 254, 0.94)),
            linear-gradient(to bottom, rgba(219, 234, 254, 0.9), rgba(219, 234, 254, 0) 12%, rgba(219, 234, 254, 0) 88%, rgba(219, 234, 254, 0.9));
    }

    .mc-summary-dashboard-page .mc-summary-leaflet-host .leaflet-div-icon,
    .mc-summary-dashboard-page .mc-summary-leaflet-host .leaflet-marker-icon {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        pointer-events: auto !important;
    }

    .mc-summary-dashboard-page .mc-summary-leaflet-host .leaflet-popup-content-wrapper {
        border-radius: 14px;
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
    }

    .mc-summary-dashboard-page .mc-summary-leaflet-host .leaflet-popup-content {
        margin: 0;
    }

    .mc-summary-dashboard-page .mc-summary-leaflet-host .leaflet-popup-tip {
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
    }

    .mc-summary-dashboard-page .mc-summary-map-dot {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        border-radius: 999px;
        border: 3px solid #ffffff;
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
        overflow: hidden;
        pointer-events: auto;
        cursor: pointer;
    }

    .mc-summary-dashboard-page .mc-summary-map-dot-total {
        color: #ffffff;
        font-size: 11px;
        font-weight: 800;
        line-height: 1;
        text-shadow: 0 1px 2px rgba(15, 23, 42, 0.35);
    }

    .mc-summary-dashboard-page .mc-summary-map-dot-facility {
        transform: scale(1.22);
    }

    .mc-summary-dashboard-page .mc-summary-map-dot-region {
        gap: 4px;
        padding: 10px 12px;
        text-align: center;
        min-width: 96px;
        min-height: 96px;
        white-space: normal;
    }

        .mc-summary-dashboard-page .mc-summary-map-dot-region .mc-summary-map-dot-label {
            color: #ffffff;
            font-size: 11px;
            font-weight: 800;
            line-height: 1.12;
            letter-spacing: 0.02em;
            text-transform: uppercase;
            text-shadow: 0 1px 2px rgba(15, 23, 42, 0.35);
            max-width: 100%;
        }

        .mc-summary-dashboard-page .mc-summary-map-dot-region .mc-summary-map-dot-total {
            font-size: 20px;
            letter-spacing: -0.03em;
        }
