/* /Components/Layout/MainLayout.razor.rz.scp.css */


.page[b-a0dmg736tp] {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    width: 100%;
}

/* Main content stretches */
main[b-a0dmg736tp] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-image: url('images/mainbackground.jpg');
    background-size: cover; /* cover the full area */
    background-position: center;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden; /* prevent internal scrollbars */
}

/* Sidebar styling */
.sidebar[b-a0dmg736tp] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    flex-shrink: 0;
}

/* Top row */
.top-row[b-a0dmg736tp] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    height: 50px; /* Give it a visible height */
    flex-shrink: 0;
}

    .top-row[b-a0dmg736tp]  a,
    .top-row[b-a0dmg736tp]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .top-row[b-a0dmg736tp]  a:hover,
        .top-row[b-a0dmg736tp]  .btn-link:hover {
            text-decoration: underline;
        }

/* Responsive adjustments */
@media (max-width: 640.98px) {
    .top-row[b-a0dmg736tp] {
        justify-content: space-between;
    }

        .top-row[b-a0dmg736tp]  a,
        .top-row[b-a0dmg736tp]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-a0dmg736tp] {
        flex-direction: row;
    }

    .sidebar[b-a0dmg736tp] {
        width: 250px; /* Fixed sidebar width */
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-a0dmg736tp] {
        position: sticky;
        top: 0;
        z-index: 1;
        width: 100%;
    }

        .top-row.auth[b-a0dmg736tp]  a:first-child {
            flex: 1;
            text-align: right;
        }

}


/* Blazor error UI */
#blazor-error-ui[b-a0dmg736tp] {
    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[b-a0dmg736tp] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-0nhg8xdw5m] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-0nhg8xdw5m] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-0nhg8xdw5m] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-0nhg8xdw5m] {
    font-size: 1.1rem;
}

.bi[b-0nhg8xdw5m] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-0nhg8xdw5m] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-0nhg8xdw5m] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-0nhg8xdw5m] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-0nhg8xdw5m] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-0nhg8xdw5m] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-0nhg8xdw5m] {
        padding-bottom: 1rem;
    }

    .nav-item[b-0nhg8xdw5m]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-0nhg8xdw5m]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-0nhg8xdw5m]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-0nhg8xdw5m] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-0nhg8xdw5m] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-0nhg8xdw5m] {
        display: none;
    }

    .nav-scrollable[b-0nhg8xdw5m] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-qudyq7t7o5],
.components-reconnect-repeated-attempt-visible[b-qudyq7t7o5],
.components-reconnect-failed-visible[b-qudyq7t7o5],
.components-pause-visible[b-qudyq7t7o5],
.components-resume-failed-visible[b-qudyq7t7o5],
.components-rejoining-animation[b-qudyq7t7o5] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-qudyq7t7o5],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-qudyq7t7o5],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-qudyq7t7o5],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-qudyq7t7o5],
#components-reconnect-modal.components-reconnect-retrying[b-qudyq7t7o5],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-qudyq7t7o5],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-qudyq7t7o5],
#components-reconnect-modal.components-reconnect-failed[b-qudyq7t7o5],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-qudyq7t7o5] {
    display: block;
}


#components-reconnect-modal[b-qudyq7t7o5] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-qudyq7t7o5 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-qudyq7t7o5 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-qudyq7t7o5 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-qudyq7t7o5]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-qudyq7t7o5 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-qudyq7t7o5 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-qudyq7t7o5 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-qudyq7t7o5 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-qudyq7t7o5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-qudyq7t7o5] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-qudyq7t7o5] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-qudyq7t7o5] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-qudyq7t7o5] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-qudyq7t7o5] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-qudyq7t7o5] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-qudyq7t7o5 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-qudyq7t7o5] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-qudyq7t7o5 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/WeatherData.razor.rz.scp.css */
/* =========================
   PAGE
========================= */
.weather-page[b-0kg8efsuhk] {
    height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* =========================
   FILTER BAR
========================= */
.filter-bar[b-0kg8efsuhk] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-input[b-0kg8efsuhk] {
    width: 180px;
}

.filter-icon[b-0kg8efsuhk] {
    font-size: 24px;
    color: #6c757d;
}
.customdatepicker[b-0kg8efsuhk] {
    width: 130px;
    height: 38px;
}

/* =========================
   TOGGLE BUTTONS — BASE RESET
========================= */
.btn-toggle[b-0kg8efsuhk] {
    border: none;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    cursor: pointer;
    flex-shrink: 0;
}

    .btn-toggle:active[b-0kg8efsuhk] {
        transform: translateY(1px);
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
    }

    .btn-toggle:focus-visible[b-0kg8efsuhk] {
        outline: none;
    }

    /* --- TEMPERATURE: Red --- */
    .btn-toggle.btn-temp[b-0kg8efsuhk] {
        background-color: #4a1109;
        color: #e08078;
    }

        .btn-toggle.btn-temp:hover[b-0kg8efsuhk] {
            background-color: #6b1a0f;
            color: #f0a099;
        }

        .btn-toggle.btn-temp.active[b-0kg8efsuhk] {
            background-color: #EA4335;
            color: #ffffff;
        }

            .btn-toggle.btn-temp.active:hover[b-0kg8efsuhk] {
                background-color: #f26355;
                color: #ffffff;
            }

            .btn-toggle.btn-temp:active[b-0kg8efsuhk],
            .btn-toggle.btn-temp.active:active[b-0kg8efsuhk] {
                background-color: #c4372c;
                color: #ffffff;
            }

    /* --- RAIN: Blue --- */
    .btn-toggle.btn-rain[b-0kg8efsuhk] {
        background-color: #0d2145;
        color: #6a9be8;
    }

        .btn-toggle.btn-rain:hover[b-0kg8efsuhk] {
            background-color: #162f63;
            color: #8ab3ef;
        }

        .btn-toggle.btn-rain.active[b-0kg8efsuhk] {
            background-color: #4285F4;
            color: #ffffff;
        }

            .btn-toggle.btn-rain.active:hover[b-0kg8efsuhk] {
                background-color: #5a96f6;
                color: #ffffff;
            }

            .btn-toggle.btn-rain:active[b-0kg8efsuhk],
            .btn-toggle.btn-rain.active:active[b-0kg8efsuhk] {
                background-color: #2d6fd4;
                color: #ffffff;
            }

    /* --- HUMIDITY: Green --- */
    .btn-toggle.btn-humidity[b-0kg8efsuhk] {
        background-color: #0a2e14;
        color: #5ab874;
    }

        .btn-toggle.btn-humidity:hover[b-0kg8efsuhk] {
            background-color: #133d1e;
            color: #7acc90;
        }

        .btn-toggle.btn-humidity.active[b-0kg8efsuhk] {
            background-color: #34A853;
            color: #ffffff;
        }

            .btn-toggle.btn-humidity.active:hover[b-0kg8efsuhk] {
                background-color: #4cbc6a;
                color: #ffffff;
            }

            .btn-toggle.btn-humidity:active[b-0kg8efsuhk],
            .btn-toggle.btn-humidity.active:active[b-0kg8efsuhk] {
                background-color: #278a43;
                color: #ffffff;
            }

    /* --- PRESSURE: Amber --- */
    .btn-toggle.btn-pressure[b-0kg8efsuhk] {
        background-color: #3d2c00;
        color: #c49004;
    }

        .btn-toggle.btn-pressure:hover[b-0kg8efsuhk] {
            background-color: #573e00;
            color: #dba80a;
        }

        .btn-toggle.btn-pressure.active[b-0kg8efsuhk] {
            background-color: #FBBC05;
            color: #1a1a1a;
        }

            .btn-toggle.btn-pressure.active:hover[b-0kg8efsuhk] {
                background-color: #fcc833;
                color: #1a1a1a;
            }

            .btn-toggle.btn-pressure:active[b-0kg8efsuhk],
            .btn-toggle.btn-pressure.active:active[b-0kg8efsuhk] {
                background-color: #d9a004;
                color: #1a1a1a;
            }

/* =========================
   REFRESH BUTTON
========================= */
.btn-refresh[b-0kg8efsuhk] {
    background-color: #4caf1a;
    color: white;
    border: none;
    border-radius: 4px;
    height: 38px;
    padding: 0 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

    .btn-refresh:hover[b-0kg8efsuhk] {
        background-color: #62c72e;
        color: white;
        transform: translateY(-1px);
    }

    .btn-refresh:active[b-0kg8efsuhk] {
        background-color: #3a8f12;
        color: white;
        transform: translateY(1px);
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.35);
    }

    .btn-refresh:focus-visible[b-0kg8efsuhk] {
        outline: none;
    }

/* =========================
   MAIN LAYOUT
========================= */
.chart-layout[b-0kg8efsuhk] {
    flex: 1;
    display: flex;
    gap: 10px;
    padding: 5px;
    min-height: 0;
    align-items: stretch;
}

/* LEFT BIG CHART */
.chart-main[b-0kg8efsuhk] {
    flex: 1;
    background: #212529;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* RIGHT GRID */
.chart-grid[b-0kg8efsuhk] {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 120px 120px 1fr 1fr;
    gap: 10px;
    min-height: 0;
    height: 100%;
    align-items: stretch;
}

.grid-span[b-0kg8efsuhk] {
    grid-column: span 2;
    grid-row: span 1;
}

/* GRID CELLS */
.grid-cell[b-0kg8efsuhk] {
    background: #212529;
    border-radius: 6px;
    overflow: hidden;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    max-height: 100%;
}

    /* Chart sizing fix — scoped to avoid hitting kpi-title/kpi-values */
    .chart-main > div[b-0kg8efsuhk],
    .grid-cell > div:not(.kpi-title):not(.kpi-values)[b-0kg8efsuhk] {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .chart-main .apexcharts-canvas[b-0kg8efsuhk],
    .grid-cell .apexcharts-canvas[b-0kg8efsuhk] {
        flex: 1;
        width: 100% !important;
        height: 100% !important;
    }

        .chart-main .apexcharts-canvas svg[b-0kg8efsuhk],
        .grid-cell .apexcharts-canvas svg[b-0kg8efsuhk] {
            width: 100% !important;
            height: 100% !important;
        }

/* =========================
   KPI BOX
========================= */
.kpi-box[b-0kg8efsuhk] {
    background: #212529;
    color: white;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

/* =========================
   KPI TITLE
========================= */
.kpi-title[b-0kg8efsuhk] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1;
    white-space: nowrap;
}

    .kpi-title i[b-0kg8efsuhk] {
        color: inherit;
        font-size: 13px;
    }

/* =========================
   KPI VALUES
========================= */
.kpi-values[b-0kg8efsuhk] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.kpi-item[b-0kg8efsuhk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    padding: 1px 0;
}

.kpi-icon[b-0kg8efsuhk] {
    width: 22px;
    text-align: center;
    opacity: 0.75;
}

.kpi-label[b-0kg8efsuhk] {
    flex: 1;
    margin-left: 8px;
    opacity: 0.75;
}

.kpi-value[b-0kg8efsuhk] {
    font-weight: 700;
    margin: 0px 5px 0px 0px;
}

.kpi-placeholder[b-0kg8efsuhk] {
    visibility: hidden;
    min-height: 20px;
}

.kpi-btn-icon[b-0kg8efsuhk] {
    font-size: 13px;
}

/* =========================
   VALUE COLORS
========================= */
.kpi-temp[b-0kg8efsuhk] {
    color: #EA4335;
}

.kpi-humidity[b-0kg8efsuhk] {
    color: #34A853;
}

.kpi-pressure[b-0kg8efsuhk] {
    color: #FBBC05;
}

.kpi-rain[b-0kg8efsuhk] {
    color: #4285F4;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 480px) and (orientation: portrait) {

    /* Page becomes scrollable instead of fixed viewport */
    .weather-page[b-0kg8efsuhk] {
        height: auto;
        overflow: visible;
    }

    /* Filter bar wraps to two lines if needed */
    .filter-bar[b-0kg8efsuhk] {
        gap: 6px;
        padding: 8px;
    }

    .filter-input[b-0kg8efsuhk] {
        width: 140px;
    }

    /* Stack chart-main and chart-grid vertically */
    .chart-layout[b-0kg8efsuhk] {
        flex-direction: column;
        overflow: visible;
        height: auto;
    }

    /* Main chart gets a fixed height on mobile */
    .chart-main[b-0kg8efsuhk] {
        height: 330px;
        flex: none;
    }

    /* KPI grid: 2 columns, auto rows */
    .chart-grid[b-0kg8efsuhk] {
        height: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        flex: none;
    }

    .grid-span[b-0kg8efsuhk] {
        grid-column: span 2;
        height: 220px;
    }

    .kpi-title[b-0kg8efsuhk] {
        font-size: 16px;
    }

    .kpi-item[b-0kg8efsuhk] {
        font-size: 12px;
    }

    .btn-toggle[b-0kg8efsuhk] {
        width: 15px;
        height: 15px;
    }

    .btn-refresh[b-0kg8efsuhk] {
        width: 30px;
        height: 30px;
    }

    .kpi-btn-icon[b-0kg8efsuhk] {
        font-size: 10px !important;
    }

    .customdatepicker[b-0kg8efsuhk] {
        width: 110px;
        height: 30px;
    }
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-height: 480px) and (orientation: landscape) {
    /* Page becomes scrollable instead of fixed viewport */
    .weather-page[b-0kg8efsuhk] {
        height: auto;
        overflow: visible;
    }

    /* Filter bar wraps to two lines if needed */
    .filter-bar[b-0kg8efsuhk] {
        gap: 6px;
        padding: 8px;
    }

    .filter-input[b-0kg8efsuhk] {
        width: 140px;
    }

    /* Stack chart-main and chart-grid vertically */
    .chart-layout[b-0kg8efsuhk] {
        flex-direction: column;
        overflow: visible;
        height: auto;
    }

    /* Main chart gets a fixed height on mobile */
    .chart-main[b-0kg8efsuhk] {
        height: 330px;
        flex: none;
    }

    /* KPI grid: 2 columns, auto rows */
    .chart-grid[b-0kg8efsuhk] {
        height: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        flex: none;
    }

    .grid-span[b-0kg8efsuhk] {
        grid-column: span 2;
        height: 220px;
    }

    .kpi-title[b-0kg8efsuhk] {
        font-size: 16px;
    }

    .kpi-item[b-0kg8efsuhk] {
        font-size: 12px;
    }

    .btn-toggle[b-0kg8efsuhk] {
        width: 15px;
        height: 15px;
    }

    .btn-refresh[b-0kg8efsuhk] {
        width: 30px;
        height: 30px;
    }

    .kpi-btn-icon[b-0kg8efsuhk] {
        font-size: 10px !important;
    }

    .customdatepicker[b-0kg8efsuhk] {
        width: 130px;
        height: 30px;
    }
}
