/*@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*/
:root {
    --primary-bg-color: #e0ecf6;
    --secondary-bg-color: #d0d6e2;
    --tertiary-bg-color: #2c4765cc;
    --quaternary-bg-color: #c2d3e5e1;
    --quinary-bg-color: #242d37e9;
    --table-border-color: #969696;
    --sidebar-color: #252525;
    --splendor-blue: #00aeef;
    --sky-blue: #ade1fa;
    --prussian-blue: #00426A;
    --navy-900: #252525; /*will change after dentist today*/
    --blue-700: #08779b;
    --blue-600: #0b89ad;
    --blue-100: #dff3f8;
    --slate-opaque: #e1e6ea;
    --slate-900: #1f2933;
    --slate-700: #526272;
    --slate-600: #69798a;
    --slate-500: #8190a0;
    --slate-300: #cbd5df;
    --slate-200: #dce4eb;
    --slate-100: #edf2f6;
    --slate-050: #f6f8fa;
    --white: #ffffff;
    --success: #247a58;
    --success-bg: #e7f5ee;
    --warning: #9a6415;
    --warning-bg: #fff3d9;
    --danger: #b33b45;
    --danger-bg: #fdebed;
    --info: #2d6ca3;
    --info-bg: #e9f2fb;
    --purple: #6b52a3;
    --purple-bg: #f0ebfa;
    --shadow: 0 8px 24px rgba(25,48,68,.08);
    --shadow-sm: 0 2px 8px rgba(25,48,68,.06);
    --radius: 12px;
    --sidebar: 300px;
    --topbar: 64px;
}

/* #region CLASSES */
* {
    box-sizing: border-box
}

a, .btn-link {
    color: #006bb7;
    text-decoration: none
}

.account-actions {
    display: flex;
    gap: 7px
}

.account-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--blue-100);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800
}

.account-banner {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 13px 14px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px
}

.account-main {
    flex: 1
}

.account-meta {
    font-size: 10px;
    color: var(--slate-500);
    margin-top: 4px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.account-name {
    font-size: 16px;
    font-weight: 750;
    color: var(--navy-900)
}

.active-filters {
    font-size: 11px;
    color: var(--slate-600);
    margin: -5px 2px 12px;
    display: flex;
    align-items: center;
    gap: 7px
}

    .active-filters strong {
        color: var(--slate-900)
    }

.alert-box {
    border: 1px solid var(--slate-200);
    border-left: 3px solid var(--warning);
    border-radius: 9px;
    padding: 10px 11px;
    background: #fff;
    font-size: 10px;
    line-height: 1.4;
    color: var(--slate-700)
}

    .alert-box.danger {
        border-left-color: var(--danger)
    }

    .alert-box strong {
        display: block;
        color: var(--navy-900);
        margin-bottom: 3px
    }

    .alert-box.success {
        border-left-color: var(--success)
    }


.align-center {
    text-align: center
}

.align-start {
    align-self: start !important;
}

.app {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.app-border {
    border: 2px solid var(--table-border-color);
}

.app-border-top-sides {
    border: 2px solid var(--table-border-color);
    border-left: 2px solid var(--table-border-color);
    border-right: 2px solid var(--table-border-color);
}

.area-count {
    font-size: 9px;
    color: var(--blue-700);
    font-weight: 700;
    margin-top: 6px
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px
}

.area-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--blue-100);
    color: var(--blue-700);
    display: grid;
    place-items: center;
    font-weight: 800;
    flex: 0 0 auto
}

.area-sub {
    font-size: 9px;
    color: var(--slate-500);
    line-height: 1.35;
    margin-top: 3px
}

.area-tile {
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    padding: 12px;
    background: #fff;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    transition: .15s;
    cursor: pointer;
    min-height: 82px
}

    .area-tile:hover {
        border-color: var(--blue-600);
        box-shadow: 0 4px 14px rgba(11,137,173,.10);
        transform: translateY(-1px)
    }

.area-title {
    font-size: 11px;
    font-weight: 750;
    color: var(--navy-900)
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue-100);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700
}

.badge-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    display: grid;
    place-items: center;
    font-size: 9px;
    margin-left: auto
}

.bar-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--blue-600)
}

.bar-label {
    font-size: 10px;
    color: var(--slate-700);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.bar-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.bar-row {
    display: grid;
    grid-template-columns: 115px 1fr 54px;
    align-items: center;
    gap: 10px
}

.bar-track {
    height: 10px;
    background: var(--slate-100);
    border-radius: 999px;
    overflow: hidden
}

.bar-value {
    text-align: right;
    font-size: 10px;
    font-weight: 700;
    color: var(--navy-900)
}

.bg-app-primary {
    background-color: var(--primary-bg-color);
}

.bg-app-secondary {
    background-color: var(--secondary-bg-color);
}

.bg-app-tertiary {
    background-color: var(--tertiary-bg-color);
}

.bg-app-quinary {
    background-color: var(--quinary-bg-color) !important;
}

.bg-dark-grid {
    --bs-bg-opacity: 1;
    background-color: #656565 !important;
}

.bg-light-green {
    --bs-bg-opacity: 1;
    background-color: #73dd32c6 !important;
}

.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."
    }

body.capture .card-body {
    padding: 11px 12px
}

body.capture .card-head {
    height: 42px
}

body.capture .filter-bar {
    padding: 10px 12px
}

body.capture .kpi {
    padding: 11px 12px
}

body.capture .kpi-value {
    font-size: 21px
}

body.capture .main {
    padding: 14px 16px 18px
}

body.capture .page-subtitle {
    max-width: 800px
}

body.capture .table-wrap {
    max-height: 320px
}

body.capture .top-action.notes {
    display: none
}

.border-separate {
    border-collapse: separate;
}

.brand {
    height: var(--topbar);
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    gap: 12px
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg,#62c4dd,#0d88ad);
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: .5px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.24)
}

.brand-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1
}

.brand-sub {
    font-size: 11px;
    color: #b7c9d6;
    margin-top: 3px
}

.br-5 {
    border-radius: 5px;
}

.brt-0 {
    border-start-start-radius: 0px !important;
    border-end-start-radius: 0px !important;
}

.btn {
    height: 35px;
    border-radius: 8px;
    border: 1px solid var(--slate-300);
    background: #fff;
    color: var(--slate-700);
    padding: 0 12px;
    font-weight: 600;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    justify-content: center
}

    .btn:hover {
        background: var(--slate-050)
    }

    .btn.primary {
        background: var(--splendor-blue);
        border-color: var(--splendor-blue);
        color: #fff
    }

        .btn.primary:hover {
            background: #066b8c
        }

    .btn.ghost {
        border-color: transparent;
        background: transparent
    }

.btn-anchor {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    user-select: auto !important;
}

    .btn-anchor:hover {
        --bs-link-color-rgb: var(--bs-link-hover-color-rgb);
    }

    .btn-anchor:not([href]):not([class]), a:not([href]):not([class]):hover {
        color: inherit;
        text-decoration: none;
    }

button {
    cursor: pointer
}

button, input, select {
    font: inherit
}

.callout-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px
}

.card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    min-width: 0;
    overflow: hidden
}

    .card section {
        margin: 10px;
    }

.card-actions {
    margin-left: auto;
    display: flex;
    gap: 6px;
    align-items: center
}

.card-body {
    padding: 13px 14px
}

    .card-body.flush {
        padding: 0
    }

.card-head {
    height: 44px;
    padding: 5px 14px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--slate-200);
    gap: 10px;
}

.card-note {
    font-size: 10px;
    color: var(--slate-500);
    margin-top: 9px;
    line-height: 1.4
}

.card-sub {
    font-size: 10px;
    color: var(--slate-500);
    margin-left: 2px
}

.card-title {
    font-size: 16px !important;
    font-weight: 750;
    margin: 0;
    color: black !important
}

.cell-small {
    display: block;
    font-size: 8px;
    font-weight: 500;
    margin-top: 2px;
    opacity: .78
}

.chart {
    width: 100%;
    height: 220px;
    display: block
}

    .chart text {
        font-family: "Segoe UI",Arial,sans-serif
    }

.clickable-grid tbody tr {
    cursor: pointer;
}

.click-link {
    color: var(--blue-700);
    font-weight: 700;
    cursor: pointer
}

    .click-link:hover {
        text-decoration: underline
    }

.content {
    padding-top: 1.1rem;
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 11px;
    min-width: 720px;
}

    .data-table th {
        position: sticky;
        top: 0;
        background: #f8fafc;
        color: var(--slate-600);
        font-size: 9.5px;
        text-transform: uppercase;
        letter-spacing: .04em;
        text-align: left;
        padding: 10px 10px;
        border-bottom: 1px solid var(--slate-200);
        z-index: 2;
        white-space: nowrap
    }

        .data-table th .col-title {
            color: inherit;
            font: inherit;
            text-transform: inherit;
            letter-spacing: inherit;
            text-align: inherit;
            white-space: inherit;
            background: transparent;
            border: 0;
            padding: 0;
        }

    .data-table td {
        padding: 10px;
        border-bottom: 1px solid var(--slate-100);
        vertical-align: middle;
        color: #334251
    }
        .data-table td button {
            appearance: none;
            -webkit-appearance: none;
            background: none;
            border: 0;
            padding: 0;
            margin: 0;
            font: inherit;
            color: var(--bs-link-color);
            text-align: inherit;
            text-decoration: none;
            cursor: pointer;
        }

            .data-table td button:hover {
                color: var(--bs-link-hover-color, #0a58ca);
                text-decoration: underline;
            }

            .data-table td button:focus-visible {
                outline: none;
                text-decoration: underline;
                text-underline-offset: 2px;
            }

    .data-table tfoot {
        top: 0;
        background: #f8fafc;
        color: var(--slate-600);
        font-size: 9.5px;
        text-transform: uppercase;
        letter-spacing: .04em;
        text-align: left;
        padding: 10px 10px;
        border-top: 1px solid var(--slate-200);
        z-index: 2;
        white-space: nowrap
    }

    .data-table tr:hover td {
        background: #f9fbfc
    }

    .data-table tr.clickable {
        cursor: pointer
    }

    .data-table .link {
        color: var(--blue-700);
        font-weight: 650
    }

    .data-table .num {
        text-align: right;
        font-variant-numeric: tabular-nums
    }

    .data-table .muted {
        color: var(--slate-500)
    }

    .data-table .strong {
        font-weight: 700;
        color: var(--navy-900)
    }

.detail-box {
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 9px
}

.detail-list {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 9px 14px;
    margin: 0;
}

.detail-div-top {
    border: 2px solid #808080;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-width: 1px;
}

.detail-div-middle {
    border: 2px solid #808080;
    border-left-width: 2px;
    border-right-width: 2px;
    border-top-width: 1px;
    border-bottom-width: 1px;
}

.detail-div-bottom {
    border: 2px solid #808080;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-width: 1px;
}

.detail-div-bottom-left {
    border: 2px solid #808080;
    border-bottom-left-radius: 5px;
    border-top-width: 1px;
    border-right-width: 1px;
}

.detail-div-bottom-right {
    border: 2px solid #808080;
    border-color: #808080;
    border-bottom-right-radius: 5px;
    border-top-width: 1px;
    border-left-width: 1px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px
}

.detail-label {
    font-size: 8.5px;
    color: var(--slate-500);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .04em
}

.detail-value {
    font-size: 11px;
    color: var(--navy-900);
    font-weight: 700;
    margin-top: 4px
}

.dev-body {
    padding: 12px 13px;
    font-size: 10.5px;
    color: var(--slate-600);
    line-height: 1.5
}

    .dev-body strong {
        color: var(--navy-900)
    }

    .dev-body ul {
        padding-left: 17px;
        margin: 7px 0 0
    }

    .dev-body li {
        margin: 5px 0
    }

.dev-head {
    padding: 12px 13px;
    background: var(--navy-900);
    color: #fff;
    font-size: 12px;
    font-weight: 700
}

.dev-panel {
    position: fixed;
    right: 18px;
    top: 76px;
    width: 310px;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(17,35,50,.18);
    z-index: 45;
    display: none;
    overflow: hidden
}

    .dev-panel.open {
        display: block
    }

div.border {
    background-color: #e2e3e5;
    border-radius: 5px;
}

.div-flex {
    display: inline-flex;
    margin-bottom: 15px;
}

    .div-flex > div {
        flex-direction: column;
        padding-right: 15px;
    }

.donut {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: conic-gradient(var(--success) 0 62%,#d08a21 62% 78%,var(--danger) 78% 90%,var(--slate-200) 90% 100%);
    position: relative;
    flex: 0 0 auto
}

    .donut:after {
        content: "";
        position: absolute;
        inset: 19px;
        border-radius: 50%;
        background: #fff
    }

.donut-center {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 1;
    text-align: center
}

    .donut-center strong {
        font-size: 20px;
        color: var(--navy-900)
    }

    .donut-center span {
        font-size: 9px;
        color: var(--slate-500);
        display: block;
        margin-top: 2px
    }

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 10px;
    color: var(--slate-600)
}

.donut-wrap {
    display: flex;
    gap: 16px;
    align-items: center
}

.drawer {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 430px;
    background: #fff;
    z-index: 51;
    transform: translateX(100%);
    transition: .2s;
    box-shadow: -16px 0 35px rgba(17,35,50,.18);
    display: flex;
    flex-direction: column
}

    .drawer.open {
        transform: translateX(0)
    }

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17,35,50,.28);
    z-index: 50;
    display: none
}

    .drawer-backdrop.open {
        display: block
    }

.drawer-body {
    padding: 16px;
    overflow: auto
}

.drawer-close {
    margin-left: auto;
    border: 0;
    background: var(--slate-100);
    width: 31px;
    height: 31px;
    border-radius: 8px;
    color: var(--slate-700)
}

.drawer-head {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 17px;
    border-bottom: 1px solid var(--slate-200)
}

.drawer-title {
    font-size: 16px;
    font-weight: 750;
    color: var(--navy-900)
}

.empty-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--slate-100);
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    font-size: 22px
}

.empty-state {
    border: 1px dashed var(--slate-300);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    background: #fff;
    color: var(--slate-600)
}

.empty-sub {
    font-size: 10px;
    line-height: 1.45;
    max-width: 500px;
    margin: 5px auto 13px
}

.empty-title {
    font-size: 14px;
    font-weight: 750;
    color: var(--navy-900)
}

.exception {
    border: 1px solid var(--slate-200);
    border-radius: 9px;
    padding: 10px 10px;
    display: grid;
    grid-template-columns: 26px 1fr auto;
    gap: 9px;
    align-items: start
}

    .exception.danger .exception-icon {
        background: var(--danger-bg);
        color: var(--danger)
    }

    .exception.info .exception-icon {
        background: var(--info-bg);
        color: var(--info)
    }

.exception-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: var(--warning-bg);
    color: var(--warning);
    font-weight: 800;
    font-size: 12px
}

.exception-list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.exception-sub {
    font-size: 9.5px;
    color: var(--slate-500);
    margin-top: 3px;
    line-height: 1.35
}

.exception-time {
    font-size: 9px;
    color: var(--slate-500);
    white-space: nowrap
}

.exception-title {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.3
}

.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 118px
}

    .field.wide {
        min-width: 175px
    }

    .field label {
        font-size: 10px;
        color: var(--slate-600);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .035em
    }

    .field select, .field input {
        height: 35px;
        border: 1px solid var(--slate-300);
        border-radius: 8px;
        background: #fff;
        padding: 0 10px;
        color: var(--slate-900);
        outline: none
    }

        .field select:focus, .field input:focus {
            border-color: var(--blue-600);
            box-shadow: 0 0 0 3px rgba(11,137,173,.11)
        }

#field label {
    font-weight: 500;
}


.filter-bar {
    background: #fff;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
    padding: 12px 13px;
    margin-bottom: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap
}

    .filter-bar .filter-check {
        margin: 0;
        border: 1px solid var(--slate-opaque);
        align-items: center;
        padding: 5px;
        gap: 5px;
        border-radius: 10px;
        display: flex !important;
        flex-direction: column;
    }

    .filter-bar .filter-bar-inner {
        width: 100%;
        display: flex !important;
        gap: 0.5rem !important;
        align-items: end;
    }

.filter-bar-inner .filter-check {
    margin: 0;
    border: 1px solid var(--slate-opaque);
    align-items: center;
    padding: 5px;
    gap: 5px;
    border-radius: 10px;
    display: flex !important;
    flex-direction: column;
}


.filter-right {
    margin-left: auto;
    display: flex;
    gap: 8px
}

.filter-sep {
    height: 35px;
    width: 1px;
    background: var(--slate-200);
    margin: 0 1px
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-group label {
    margin-bottom: 5px; /* Adds a small gap between the label and the input */
    font-weight: bold; /* Optional: Makes the label text bold */
}

.form-group input[type="date"] {
    /* Optional: Add styling to the datepicker input itself */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.footer-height {
    height: 26px;
}

.global-search {
    flex: 1;
    max-width: 640px;
    position: relative
}

    .global-search input {
        width: 100%;
        height: 38px;
        border: 1px solid var(--slate-200);
        background: var(--slate-050);
        border-radius: 9px;
        padding: 0 38px 0 38px;
        outline: none;
        color: var(--slate-900)
    }

        .global-search input:focus {
            border-color: var(--blue-600);
            box-shadow: 0 0 0 3px rgba(11,137,173,.12);
            background: #fff
        }

.gradient-tb {
    background-image: linear-gradient(var(--quaternary-bg-color), var(--tertiary-bg-color));
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 11px;
    margin-bottom: 14px
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 11px;
    margin-bottom: 14px
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 11px;
    margin-bottom: 14px
}

.grid-12 {
    display: grid;
    grid-template-columns: repeat(12,minmax(0,1fr));
    gap: 12px
}

.h-7_5 {
    height: 7.5%;
}

.h-10 {
    height: 10%;
}

h1:focus {
    outline: none;
}

.header-row-top {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    background-color: var(--tertiary-bg-color);
    padding: 10px 15px 0px 15px;
    border-start-start-radius: 5px;
    border-start-end-radius: 5px;
    color: white;
    border: 2px solid var(--table-border-color);
}

.header-row-inner {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    background-color: var(--tertiary-bg-color);
    padding: 5px;
    border-start-start-radius: 5px;
    border-start-end-radius: 5px;
    color: white;
    border: 2px solid var(--table-border-color);
}

.heat-bad {
    background: #fbe2e5;
    color: #a03640
}

.heat-good {
    background: #dff3ec;
    color: #226b50
}

.heat-info {
    background: #e4f2f7;
    color: #0b6f91
}

.heat-low {
    background: #eef4f7;
    color: #637787
}

.heat-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 5px;
    font-size: 10px
}

    .heat-table th {
        font-weight: 700;
        color: var(--slate-600);
        text-align: center;
        padding: 4px
    }

        .heat-table th:first-child {
            text-align: left
        }

    .heat-table td {
        padding: 7px 8px;
        border-radius: 7px;
        text-align: center;
        font-weight: 700;
        position: relative
    }

        .heat-table td:first-child {
            text-align: left;
            background: transparent !important;
            color: var(--navy-900);
            padding-left: 0
        }

.heat-warn {
    background: #fff0cd;
    color: #8a5a12
}

html {
    font-size: 14px;
}

@media(max-width:1200px) {
    :root {
        --sidebar: 220px
    }

    .area-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    html {
        font-size: 16px;
    }

    .kpi-grid {
        grid-template-columns: repeat(3,1fr)
    }

    .mini-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .span-3 {
        grid-column: span 6
    }

    .span-4 {
        grid-column: span 6
    }

    .span-5, .span-7 {
        grid-column: span 12
    }
}

html, body {
    position: relative;
    min-height: 100%;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: "Poppins", sans-serif !important;
    font-style: normal !important;
    font-weight: 400;
    color: #444444;
    background-color: #F5F5F5;
}


.icon-btn {
    height: 29px;
    min-width: 29px;
    border: 1px solid var(--slate-200);
    background: #fff;
    border-radius: 7px;
    color: var(--slate-600);
    padding: 0 8px;
    font-size: 11px
}

    .icon-btn:hover {
        background: var(--slate-050)
    }

.icon-cell {
    display: flex;
    gap: 8px;
    align-items: center;
}

.icon-danger {
    color: var(--danger) !important
}

.icon-warning {
    color: var(--warning) !important
}

.image-box-seasonal {
    width: 100%;
    height: 100vh;
    background-image: url('images/spoopyseason.png') !important;
    background-repeat: no-repeat;
    background-size: cover !important;
    background-position: center;
}

    .image-box-seasonal * {
        opacity: .95
    }

.invalid {
    outline: 1px solid #e50000;
}

.kpi {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 13px 14px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
    position: relative;
    overflow: hidden
}

    .kpi:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--splendor-blue)
    }

    .kpi.success:before {
        background: var(--success)
    }

    .kpi.warning:before {
        background: #d08a21
    }

    .kpi.danger:before {
        background: var(--danger)
    }

    .kpi.purple:before {
        background: var(--purple)
    }

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 11px;
    margin-bottom: 14px
}

.kpi-label {
    font-size: 10px;
    color: var(--slate-600);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .045em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.kpi-sub {
    font-size: 10px;
    color: var(--slate-500);
    margin-top: 3px;
    display: flex;
    gap: 5px;
    align-items: center
}

.kpi-value {
    font-size: 23px;
    font-weight: 750;
    color: var(--navy-900);
    margin-top: 5px;
    letter-spacing: -.02em
}

.legend {
    display: flex;
    gap: 13px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 10px;
    color: var(--slate-600)
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-600)
}

    .legend-dot.target {
        background: #8aa0b2
    }

    .legend-dot.warn {
        background: #d08a21
    }

    .legend-dot.good {
        background: var(--success)
    }

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logout-button {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    background: transparent;
    color: var(--slate-700);
    cursor: pointer;
}
.main {
    grid-column: 2;
    overflow: auto;
    padding: 18px 20px 24px;
    background: var(--slate-050)
}

.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #f8f9fa;
}

.mb-15 {
    margin-bottom: 15px;
}

.menu-btn {
    border: 0;
    background: transparent;
    color: var(--slate-700);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 20px
}

    .menu-btn:hover {
        background: var(--slate-100)
    }

.meta-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success)
}

.meta-pill {
    border: 1px solid var(--slate-200);
    background: #fff;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 11px;
    color: var(--slate-600);
    display: flex;
    align-items: center;
    gap: 6px
}

.metric-toggle {
    display: inline-flex;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 3px;
    background: var(--slate-050)
}

    .metric-toggle button {
        border: 0;
        background: transparent;
        border-radius: 6px;
        padding: 6px 8px;
        font-size: 10px;
        color: var(--slate-600)
    }

        .metric-toggle button.active {
            background: #fff;
            color: var(--navy-900);
            font-weight: 700;
            box-shadow: 0 1px 4px rgba(18,45,62,.10)
        }

.mini-card {
    border: 1px solid var(--slate-200);
    border-radius: 9px;
    padding: 10px;
    background: var(--slate-050)
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px
}

.mini-label {
    font-size: 8.5px;
    color: var(--slate-500);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .04em
}

.mini-sub {
    font-size: 9px;
    color: var(--slate-500);
    margin-top: 2px
}

.mini-value {
    font-size: 16px;
    font-weight: 750;
    color: var(--navy-900);
    margin-top: 4px
}

.money-negative {
    color: var(--danger);
    font-weight: 700
}

.money-positive {
    color: var(--success);
    font-weight: 700
}

.nav-scroll {
    overflow: auto;
    padding: 14px 10px 18px;
    scrollbar-width: thin;
    scrollbar-color: #58758a transparent
}

.nav-section-label {
    padding: 12px 10px 7px;
    color: var(--sky-blue);
    font-size: 10px;
    letter-spacing: .11em;
    text-transform: uppercase;
    font-weight: 700
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border-radius: 9px;
    color: #dbe8ef;
    font-size: 13px;
    margin: 2px 0;
    transition: .15s;
    position: relative
}

    .nav-item.active .badge-count {
        background: var(--danger-bg);
        color: var(--danger)
    }

    .nav-item:hover {
        background: rgba(255,255,255,.08);
        color: #fff
    }

    .nav-item:has(.active) {
        background: #fff;
        color: var(--navy-900);
        font-weight: 700;
        box-shadow: var(--shadow-sm)
    }

.nav-icon {
    width: 23px;
    height: 23px;
    border-radius: 7px;
    background: rgba(255,255,255,.10);
    display: grid;
    place-items: center;
    font-size: 12px;
    flex: 0 0 auto
}

.nav-item.active .nav-icon {
    background: var(--blue-100);
    color: var(--blue-700)
}

.nav-footer {
    margin-top: auto;
    padding: 12px 14px;
    border-top: 1px solid rgba(255,255,255,.10);
    font-size: 11px;
    color: #a9bdca;
    line-height: 1.4
}

.nowrap {
    white-space: nowrap
}

.page-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px
}

.page-head-main {
    flex: 1
}

.page-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end
}

.page-subtitle {
    margin-top: 5px;
    color: var(--slate-600);
    font-size: 12px;
    line-height: 1.45;
    max-width: 920px
}

.page-title-row {
    display: flex;
    align-items: center;
    gap: 10px
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--navy-900);
    margin: 0
}

.po-progress {
    display: flex;
    align-items: center;
    gap: 7px
}

    .po-progress .progress {
        width: 80px
    }

.pointer-auto {
    pointer-events: auto !important;
}

.progress {
    height: 7px;
    background: var(--slate-100);
    border-radius: 999px;
    overflow: hidden
}

    .progress > span {
        display: block;
        height: 100%;
        border-radius: 999px;
        background: var(--blue-600)
    }

    .progress.success > span {
        background: var(--success)
    }

    .progress.warning > span {
        background: #d08a21
    }

    .progress.danger > span {
        background: var(--danger)
    }

.progress-label {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
    margin-bottom: 5px
}

    .progress-label strong {
        color: var(--navy-900)
    }

    .progress-label span {
        color: var(--slate-500)
    }

.prototype-chip {
    font-size: 10px;
    line-height: 1;
    border-radius: 999px;
    background: var(--purple-bg);
    color: var(--purple);
    padding: 6px 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em
}

.quickgrid-row-key {
    display: none;
}

.quickgrid tbody tr:not([aria-rowindex]) {
    display: none;
}


.report-form {
    background-image: linear-gradient(to right, var(--quaternary-bg-color), var(--tertiary-bg-color));
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid var(--table-border-color);
}

.row-success {
    background-color: var(--danger-bg);
}

.row-warning {
    background-color: var(--warning-bg);
}

.row-danger {
    background-color: var(--success-bg);
}

.search-hint {
    position: absolute;
    right: 10px;
    top: 9px;
    border: 1px solid var(--slate-300);
    border-radius: 5px;
    padding: 2px 6px;
    font-size: 10px;
    color: var(--slate-500);
    background: #fff
}

.screen-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    color: var(--slate-500);
    background: var(--slate-100);
    border-radius: 999px;
    padding: 4px 7px
}

.search-icon {
    position: absolute;
    left: 13px;
    top: 10px;
    color: var(--slate-500);
    font-size: 15px
}

.section-caption {
    font-size: 10px;
    color: var(--slate-500);
    margin: -3px 0 10px
}

.sensitive {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    background: var(--warning-bg);
    color: var(--warning);
    padding: 5px 8px;
    font-size: 9px;
    font-weight: 700
}

.shrink {
    width: 0;
    min-width: fit-content
}

.sidebar {
    background: var(--sidebar-color);
    color: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 20;
    box-shadow: 4px 0 18px rgba(10,28,41,.16)
}

    .sidebar.open {
        width: var(--sidebar);
    }

    .sidebar.collapsed {
        width: 0px
    }

.span-2 {
    grid-column: span 2
}

.span-3 {
    grid-column: span 3
}

.span-4 {
    grid-column: span 4
}

.span-5 {
    grid-column: span 5
}

.span-6 {
    grid-column: span 6
}

.span-7 {
    grid-column: span 7
}

.span-8 {
    grid-column: span 8
}

.span-9 {
    grid-column: span 9
}

.span-12 {
    grid-column: span 12
}

.stack-bar {
    height: 15px;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    background: var(--slate-100)
}

.stack-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--blue-600)
}

.stack-key {
    display: inline-flex;
    align-items: center;
    gap: 5px
}

.stack-legend {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 9px;
    font-size: 9px;
    color: var(--slate-600)
}

.stack-seg {
    height: 100%
}

.station-list {
    display: flex;
    flex-direction: column;
    gap: 11px
}

.station-meta {
    font-size: 9px;
    color: var(--slate-500);
    margin-top: 2px
}

.station-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--navy-900)
}

.station-row {
    display: grid;
    grid-template-columns: 112px 1fr 64px;
    gap: 10px;
    align-items: center
}

.station-value {
    text-align: right;
    font-size: 11px;
    font-weight: 700;
    color: var(--navy-900)
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 4px 7px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap
}

    .status:before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor
    }

    .status.success {
        color: var(--success);
        background: var(--success-bg)
    }

    .status.warning {
        color: var(--warning);
        background: var(--warning-bg)
    }

    .status.danger {
        color: var(--danger);
        background: var(--danger-bg)
    }

    .status.info {
        color: var(--info);
        background: var(--info-bg)
    }

    .status.neutral {
        color: var(--slate-600);
        background: var(--slate-100)
    }

    .status.purple {
        color: var(--purple);
        background: var(--purple-bg)
    }

.summary-item {
    flex: 1;
    padding: 12px 14px;
    border-right: 1px solid var(--slate-200)
}

    .summary-item:last-child {
        border-right: 0
    }

.summary-label {
    font-size: 9px;
    color: var(--slate-500);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .04em
}

.summary-strip {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
    overflow: hidden
}

.summary-sub {
    font-size: 9px;
    color: var(--slate-500);
    margin-top: 2px
}

.summary-value {
    font-size: 18px;
    color: var(--navy-900);
    font-weight: 750;
    margin-top: 3px
}

.text-danger-subtle {
    color: var(--danger) !important
}

.table-fixed {
    table-layout: fixed;
    width: 100%;
}

table.quickgrid tbody tr > td {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.tab {
    border: 0;
    background: transparent;
    padding: 10px 12px;
    font-size: 10px;
    color: var(--slate-600);
    border-bottom: 2px solid transparent;
    white-space: nowrap
}

    .tab.active {
        color: var(--blue-700);
        font-weight: 750;
        border-bottom-color: var(--blue-700)
    }

.tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    border-bottom: 1px solid var(--slate-200);
    padding: 0 10px;
    background: #fff;
    overflow: auto
}

.table-footer {
    padding: 9px 12px;
    border-top: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: var(--slate-500)
}

.table-wrap {
    overflow: auto;
    max-height: 362px
}

td[colspan] {
    padding: 0 0 0 10px;
    text-align: start; /* Centers text horizontally */
    vertical-align: middle; /* Centers text vertically */
}

.text-end-imp {
}

thead tr {
    font-weight: bold;
}

tfoot tr {
    font-weight: bold;
}

.timeline {
    position: relative;
    padding-left: 20px
}

    .timeline:before {
        content: "";
        position: absolute;
        left: 6px;
        top: 6px;
        bottom: 7px;
        width: 2px;
        background: var(--slate-200)
    }

.timeline-item {
    position: relative;
    margin-bottom: 14px
}

    .timeline-item:before {
        content: "";
        position: absolute;
        left: -18px;
        top: 3px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--success);
        box-shadow: 0 0 0 3px var(--success-bg)
    }

    .timeline-item.pending:before {
        background: var(--slate-300);
        box-shadow: 0 0 0 3px var(--slate-100)
    }

.timeline-sub {
    font-size: 9.5px;
    color: var(--slate-500);
    margin-top: 2px;
    line-height: 1.4
}

.timeline-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--navy-900)
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translate(-50%,20px);
    background: var(--navy-900);
    color: #fff;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 11px;
    opacity: 0;
    pointer-events: none;
    transition: .2s;
    z-index: 100;
    box-shadow: var(--shadow)
}

    .toast.show {
        opacity: 1;
        transform: translate(-50%,0)
    }

.top-action {
    height: 36px;
    border: 1px solid var(--slate-200);
    background: #fff;
    border-radius: 8px;
    padding: 0 11px;
    color: var(--slate-700);
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px
}

    .top-action:hover {
        background: var(--slate-050)
    }

.topbar {
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid var(--slate-200);
    z-index: 10;
}

.top-spacer {
    flex: 1
}

tr.active-row td {
    background-color: #6cc23fa6 !important; /* Light green */
}

tr.inactive-row td {
    background-color: #c44141a6 !important; /* Light red */
}

.trend-down {
    color: var(--danger);
    font-weight: 700
}

.trend-neutral {
    color: var(--slate-600);
    font-weight: 700
}

.trend-up {
    color: var(--success);
    font-weight: 700
}

.user-meta {
    line-height: 1.1;
    text-align: right
}

.user-name {
    font-size: 14px;
    font-weight: 700
}

.user-role {
    font-size: 10px;
    color: var(--slate-500);
    margin-top: 3px
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.validation-message {
    color: #e50000;
}

.w-7_5 {
    width: 7.5%;
}

.w-10 {
    width: 10%;
}

.w-15 {
    width: 15%;
}

.w-20 {
    width: 20%;
}

.w-30 {
    width: 30%;
}

.w-33 {
    width: 33.33333333%;
}

.w-60 {
    width: 60%;
}

.w-66 {
    width: 66%;
}

.w-80 {
    width: 80%;
}
/* #endregion */
/* #region ID */
/* MUD WILL BE REMOVED*/
#form {
    display: flex;
    flex-direction: row;
}

#form-group {
    display: flex;
    flex-direction: column; /* Stacks children vertically */
    justify-content: end;
}

#word-wrap-normal {
    word-wrap: normal
}
/* #endregion */

/*#region SPECIAL*/

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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;
    }

/* #endregion */