@import '../_content/PSC.Blazor.Components.Chartjs/PSC.Blazor.Components.Chartjs.bundle.scp.css';

/* MonitorApp/Components/TankCard.razor.rz.scp.css */
.wedgitText[b-gm8kau7pnd] {
    position: relative;
}

    .wedgitText span[b-gm8kau7pnd] {
        display: inline-block;
    }

        .wedgitText span:nth-child(2)[b-gm8kau7pnd] {
            width: 50%;
            text-align: center;
            display: inline-block;
            padding-bottom: 5px;
            font-weight: bold;
            border-bottom: 1px solid #777;
        }

        .wedgitText span:nth-child(1)[b-gm8kau7pnd] {
            width: 135px;
            font-size: 13px;
        }

        .wedgitText span:nth-child(3)[b-gm8kau7pnd] {
            font-size: 13px;
        }



/* Base */
.progress[b-gm8kau7pnd] {
    background-color: #f5f5f5;
    border-radius: 3px;
    box-shadow: none;
}

    /* Vertical tank body */
    .progress.vertical[b-gm8kau7pnd] {
        position: relative;
        width: 120px;
        height: 230px;
        display: inline-block;
        overflow: inherit;
        margin-top: 55px;
    }

/* Tank border & base style */
.progress[b-gm8kau7pnd] {
    height: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 0;
    border: 1px solid #000;
    /*    border-top: 1px;*/
}

    /* Tank top cap */
    .progress[b-gm8kau7pnd]::before {
        content: "";
        position: absolute;
        background: #000;
        border-radius: 150% 150% 0 0;
        top: -11px;
        width: 120px;
        height: 10px;
        border: 1px solid #000;
        border-bottom: 0;
        left: -1px;
    }

    /* Tank bottom cap */
    .progress[b-gm8kau7pnd]::after {
        content: "";
        position: absolute;
        background: #000;
        border-radius: 0 0 150% 150%;
        bottom: -11px;
        width: 120px;
        height: 10px;
        border: 1px solid #000;
        border-top: 0;
        left: -1px;
    }

    /* Fill from bottom up */
    .progress.vertical > .progress-bar[b-gm8kau7pnd] {
        width: 100% !important;
        position: absolute;
        bottom: 0;
    }

/* Fill color + smooth animation (height) */
.progress-bar[b-gm8kau7pnd] {
    background-color: #2196f3;
    box-shadow: none;
    /* Important: animate height, not width */
    height: 100%;
    transition: height 0.8s ease-in-out;
    -webkit-transition: height 0.6s ease;
}

/* Legacy duplicate (kept minimal) */
.progress-bar[b-gm8kau7pnd] {
    float: left;
    width: 0;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #337ab7;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.15);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.15);
}

/* Alert state */
.red-alert[b-gm8kau7pnd] {
    background-color: red;
}

.green-alert[b-gm8kau7pnd] {
    background-color: green;
}

/* Optional: rotate whole tank if you ever need it */
.TFProgress[b-gm8kau7pnd] {
    transform: rotate(90deg);
}

.Tank-center[b-gm8kau7pnd] {
    display: flex;
    flex-direction: row;
    justify-content: space-between
}

.pborder[b-gm8kau7pnd] {
    padding: 10px;
}

.TFRow[b-gm8kau7pnd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    padding: 6px;
    flex-wrap: wrap;
    border: 1px, solid, black;
}

.TFLabel[b-gm8kau7pnd] {
    font-size: 14px;
    color: #333;
    min-width: 140px;
}

.TFValue[b-gm8kau7pnd] {
    font-size: 14px;
    font-weight: bold;
    text-align: right;
    min-width: 80px;
    padding: 4px 8px;
    display: inline-block;
}


.TF-r-f-m[b-gm8kau7pnd] {
    margin: 40px 0px;
}


.last-update-badge[b-gm8kau7pnd] {
    background: #eef5ff;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 500;
    border: 1px solid #d0e3ff;
    transition: .2s;
    cursor: default;
}

    .last-update-badge:hover[b-gm8kau7pnd] {
        background: #dbeaff;
        border-color: #a9ceff;
    }



@media (max-width: 440px) {

    .wedgitText span:nth-child(2)[b-gm8kau7pnd] {
        width: 50%;
    }

    .wedgitText span:nth-child(1)[b-gm8kau7pnd] {
        width: 80px;
        font-size: 13px;
    }

    .wedgitText span:nth-child(3)[b-gm8kau7pnd] {
        font-size: 13px;
    }

    .Tank-center[b-gm8kau7pnd] {
        flex-direction: column;
        align-items: center;
    }

    .TFRow[b-gm8kau7pnd] {
        flex-wrap: nowrap;
    }
}
/* MonitorApp/Pages/Index.razor.rz.scp.css */
.tank-grid[b-jb43qm35d6] {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(1, 1fr); /* default 1 */
    margin: 20px;
}

/* >= 770px → 2 tanks */
@media (min-width: 860px) {
    .tank-grid[b-jb43qm35d6] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* >= 1200px → still 2 tanks (optional override, but not needed) */
@media (min-width: 1250px) {
    .tank-grid[b-jb43qm35d6] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* >= 1500px → 3 tanks */
@media (min-width: 1300px) {
    .tank-grid[b-jb43qm35d6] {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* MonitorApp/Shared/MainLayout.razor.rz.scp.css */
.page[b-38nfv2a1mz] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-38nfv2a1mz] {
    flex: 1;
}

.sidebar[b-38nfv2a1mz] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-38nfv2a1mz] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-38nfv2a1mz]  a, .top-row[b-38nfv2a1mz]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-38nfv2a1mz]  a:hover, .top-row[b-38nfv2a1mz]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-38nfv2a1mz]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-38nfv2a1mz] {
        display: none;
    }

    .top-row.auth[b-38nfv2a1mz] {
        justify-content: space-between;
    }

    .top-row[b-38nfv2a1mz]  a, .top-row[b-38nfv2a1mz]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-38nfv2a1mz] {
        flex-direction: row;
    }

    .sidebar[b-38nfv2a1mz] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-38nfv2a1mz] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-38nfv2a1mz]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-38nfv2a1mz], article[b-38nfv2a1mz] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
