/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-rhmy8fufu4] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #0d1117;
}

main[b-rhmy8fufu4] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #0d1117;
}

article[b-rhmy8fufu4] {
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sidebar[b-rhmy8fufu4] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-rhmy8fufu4] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-rhmy8fufu4]  a, .top-row[b-rhmy8fufu4]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-rhmy8fufu4]  a:hover, .top-row[b-rhmy8fufu4]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-rhmy8fufu4]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-rhmy8fufu4] {
        justify-content: space-between;
    }

    .top-row[b-rhmy8fufu4]  a, .top-row[b-rhmy8fufu4]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-rhmy8fufu4] {
        flex-direction: row;
    }

    .sidebar[b-rhmy8fufu4] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-rhmy8fufu4] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-rhmy8fufu4]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-rhmy8fufu4] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    article[b-rhmy8fufu4] {
        padding: 0 !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-6y955y64bm] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-6y955y64bm] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-6y955y64bm] {
    font-size: 1.1rem;
}

.bi[b-6y955y64bm] {
    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-6y955y64bm] {
    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-6y955y64bm] {
    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-6y955y64bm] {
    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");
}

.bi-graph-up-nav-menu[b-6y955y64bm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-graph-up' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M0 0h1v15h15v1H0V0Zm14.817 3.113a.5.5 0 0 1 .07.704l-4.5 5.5a.5.5 0 0 1-.74.037L7.06 6.767l-3.656 5.027a.5.5 0 0 1-.808-.588l4-5.5a.5.5 0 0 1 .758-.06l2.609 2.61 4.15-5.073a.5.5 0 0 1 .704-.07Z'/%3E%3C/svg%3E");
}

.bi-camera-video-nav-menu[b-6y955y64bm] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-camera-video' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M0 5a2 2 0 0 1 2-2h7.5a2 2 0 0 1 1.983 1.738l3.11-1.382A1 1 0 0 1 16 4.269v7.462a1 1 0 0 1-1.406.913l-3.111-1.382A2 2 0 0 1 9.5 13H2a2 2 0 0 1-2-2V5zm11.5 5.175 3.5 1.556V4.269l-3.5 1.556v4.35zM2 4a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h7.5a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H2z'/%3E%3C/svg%3E");
}

.nav-item[b-6y955y64bm] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-6y955y64bm] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-6y955y64bm] {
        padding-bottom: 1rem;
    }

    .nav-item[b-6y955y64bm]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-6y955y64bm]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-6y955y64bm]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-6y955y64bm] {
        display: none;
    }

    .collapse[b-6y955y64bm] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-6y955y64bm] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/PassengerDashboard.razor.rz.scp.css */
/* General Dashboard Container */
.dashboard-container[b-rle3w4746q] {
    width: 100%;
    margin: 0;
    padding: 1rem 1.5rem;
    background: #0d1117;
    color: #c9d1d9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Adjust layout on desktop to fill viewport height exactly without scrollbars */
@media (min-height: 700px) and (min-width: 993px) {
    .dashboard-container[b-rle3w4746q] {
        height: 100vh;
        overflow: hidden;
    }
}

/* Case Trigger Button */
.case-btn[b-rle3w4746q] {
    background: linear-gradient(135deg, #1f6feb, #6f3fff);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(31, 111, 235, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.case-btn:hover[b-rle3w4746q] {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(111, 63, 255, 0.5);
}

/* Top Level KPIs Grid */
.kpi-grid[b-rle3w4746q] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .kpi-grid[b-rle3w4746q] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .kpi-grid[b-rle3w4746q] {
        grid-template-columns: 1fr;
    }
}

.kpi-card[b-rle3w4746q] {
    background: linear-gradient(145deg, #161b22, #0d1117);
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.kpi-card[b-rle3w4746q]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #30363d;
}

.kpi-card:hover[b-rle3w4746q] {
    transform: translateY(-2px);
    border-color: #388bfd80;
    box-shadow: 0 6px 18px rgba(56, 139, 253, 0.15);
}

.kpi-card.kpi-blue[b-rle3w4746q]::before { background: #58a6ff; }
.kpi-card.kpi-purple[b-rle3w4746q]::before { background: #bc8cff; }
.kpi-card.kpi-orange[b-rle3w4746q]::before { background: #ff7b72; }
.kpi-card.kpi-green[b-rle3w4746q]::before { background: #3fb950; }

.kpi-label[b-rle3w4746q] {
    font-size: 0.8rem;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kpi-icon[b-rle3w4746q] {
    font-size: 1.1rem;
}

.kpi-value[b-rle3w4746q] {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f0f6fc;
    margin-bottom: 0.2rem;
    font-family: SFMono-Regular, Consolas, monospace;
}

.kpi-trend[b-rle3w4746q] {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.trend-up[b-rle3w4746q] { color: #3fb950; }
.trend-down[b-rle3w4746q] { color: #f85149; }

/* Filter Bar Widget */
.filter-bar[b-rle3w4746q] {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 10px;
    padding: 0.5rem 1.2rem;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.filter-left[b-rle3w4746q], .filter-right[b-rle3w4746q] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.filter-label[b-rle3w4746q] {
    font-size: 0.88rem;
    color: #8b949e;
    white-space: nowrap;
}

.select-input[b-rle3w4746q], .date-input[b-rle3w4746q] {
    background: #0d1117;
    border: 1px solid #30363d;
    color: #c9d1d9;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
    height: 34px;
}

.select-input:focus[b-rle3w4746q], .date-input:focus[b-rle3w4746q] {
    border-color: #58a6ff;
}

.btn-toggle-group[b-rle3w4746q] {
    display: flex;
    background: #0d1117;
    padding: 2px;
    border: 1px solid #30363d;
    border-radius: 6px;
    height: 34px;
    box-sizing: border-box;
}

.btn-toggle[b-rle3w4746q] {
    padding: 0 0.8rem;
    background: transparent;
    border: none;
    color: #8b949e;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.btn-toggle.active[b-rle3w4746q] {
    background: #21262d;
    color: #f0f6fc;
}

/* Primary and Secondary Buttons */
.btn-primary[b-rle3w4746q], .btn-secondary[b-rle3w4746q] {
    padding: 0 1rem;
    height: 34px;
    border-radius: 6px;
    border: none;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-sizing: border-box;
    transition: all 0.2s;
}

.btn-primary[b-rle3w4746q] {
    background-color: #1f6feb;
    color: #ffffff;
}

.btn-primary:hover[b-rle3w4746q] {
    background-color: #388bfd;
}

.btn-secondary[b-rle3w4746q] {
    background-color: #21262d;
    color: #c9d1d9;
    border: 1px solid #30363d;
}

.btn-secondary:hover[b-rle3w4746q] {
    background-color: #30363d;
    border-color: #8b949e;
}

/* Row 1 Charts Grid */
.charts-grid[b-rle3w4746q] {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.8rem;
    margin-bottom: 0;
}

@media (min-height: 700px) and (min-width: 993px) {
    .charts-grid[b-rle3w4746q] {
        flex: 1.2;
        min-height: 0;
    }
}

@media (max-width: 992px) {
    .charts-grid[b-rle3w4746q] {
        grid-template-columns: 1fr;
    }
}

.chart-card[b-rle3w4746q] {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
}

.chart-header[b-rle3w4746q] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.chart-title[b-rle3w4746q] {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #f0f6fc;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.chart-legend[b-rle3w4746q] {
    display: flex;
    gap: 0.8rem;
    font-size: 0.75rem;
    color: #8b949e;
}

.legend-item[b-rle3w4746q] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.legend-color[b-rle3w4746q] {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

/* SVG Line Chart Style */
.svg-chart-container[b-rle3w4746q] {
    width: 100%;
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-chart-container svg[b-rle3w4746q] {
    max-height: 100%;
    width: 100%;
}

.chart-axis[b-rle3w4746q] {
    stroke: #30363d;
    stroke-width: 1;
}

.chart-gridline[b-rle3w4746q] {
    stroke: #21262d;
    stroke-width: 1;
    stroke-dasharray: 4, 4;
}

.chart-line-in[b-rle3w4746q] {
    fill: none;
    stroke: #58a6ff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-line-out[b-rle3w4746q] {
    fill: none;
    stroke: #ff7b72;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
}

.chart-area-in[b-rle3w4746q] {
    fill: url(#in-area-grad);
    opacity: 0.12;
}

.chart-area-out[b-rle3w4746q] {
    fill: url(#out-area-grad);
    opacity: 0.08;
}

.chart-dot[b-rle3w4746q] {
    stroke-width: 2;
}

.chart-dot-in[b-rle3w4746q] {
    fill: #0d1117;
    stroke: #58a6ff;
}

.chart-dot-out[b-rle3w4746q] {
    fill: #0d1117;
    stroke: #ff7b72;
}

.chart-axis-text[b-rle3w4746q] {
    fill: #8b949e;
    font-size: 10px;
    font-family: monospace;
}

/* Donut Chart (Gender) */
.donut-chart-wrapper[b-rle3w4746q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex: 1;
    min-height: 150px;
}

.donut-svg[b-rle3w4746q] {
    transform: rotate(-90deg);
}

.donut-bg[b-rle3w4746q] {
    fill: none;
    stroke: #21262d;
    stroke-width: 12;
}

.donut-segment-female[b-rle3w4746q] {
    fill: none;
    stroke: #bc8cff;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s ease;
}

.donut-segment-male[b-rle3w4746q] {
    fill: none;
    stroke: #58a6ff;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s ease;
}

.donut-center-text[b-rle3w4746q] {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.donut-val[b-rle3w4746q] {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f0f6fc;
    font-family: monospace;
}

.donut-lbl[b-rle3w4746q] {
    font-size: 0.7rem;
    color: #8b949e;
    margin-top: 0.1rem;
}

/* Row 2: Demographics Detail Grid */
.demographics-grid[b-rle3w4746q] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 0;
}

@media (min-height: 700px) and (min-width: 993px) {
    .demographics-grid[b-rle3w4746q] {
        flex: 1;
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .demographics-grid[b-rle3w4746q] {
        grid-template-columns: 1fr;
    }
}

/* Custom CSS Bar Charts */
.bar-chart-container[b-rle3w4746q] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    height: 100%;
    flex: 1;
}

.bar-row[b-rle3w4746q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Fixed age labels layout wrapping by setting a larger width and preventing wraps */
.bar-label[b-rle3w4746q] {
    width: 110px;
    font-size: 0.85rem;
    color: #c9d1d9;
    white-space: nowrap;
}

.bar-track[b-rle3w4746q] {
    flex-grow: 1;
    height: 10px;
    background-color: #21262d;
    border-radius: 5px;
    overflow: hidden;
    margin: 0 0.8rem;
    position: relative;
}

.bar-fill[b-rle3w4746q] {
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease-out;
}

.bar-fill-orange[b-rle3w4746q] { background: linear-gradient(90deg, #ff7b72, #ff9a8d); }

.bar-value[b-rle3w4746q] {
    width: 45px;
    text-align: right;
    font-family: monospace;
    font-weight: bold;
    font-size: 0.85rem;
}

/* Horizontal Progress List for Stay Time Bracket */
.stay-list[b-rle3w4746q] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    height: 100%;
    flex: 1;
}

.stay-item[b-rle3w4746q] {
    display: flex;
    flex-direction: column;
}

.stay-meta[b-rle3w4746q] {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.stay-label[b-rle3w4746q] { color: #c9d1d9; }
.stay-count[b-rle3w4746q] { color: #8b949e; font-family: monospace; }

.stay-bar-track[b-rle3w4746q] {
    width: 100%;
    height: 6px;
    background-color: #21262d;
    border-radius: 3px;
    overflow: hidden;
}

.stay-bar-fill[b-rle3w4746q] {
    height: 100%;
    background-color: #58a6ff;
    border-radius: 3px;
    transition: width 0.8s ease;
}

/* Loading Spinners & Indicators */
.loading-spinner[b-rle3w4746q] {
    display: inline-block;
    border: 2px solid rgba(56, 139, 253, 0.2);
    border-top: 2px solid #58a6ff;
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    animation: spin-kpi-b-rle3w4746q 1s linear infinite;
}

@keyframes spin-kpi-b-rle3w4746q {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Section Card general utility styles */
.section-card[b-rle3w4746q] {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* CORS and Startup Warning Alert Box */
.alert-box[b-rle3w4746q] {
    background: rgba(56, 139, 253, 0.1);
    border: 1px solid rgba(56, 139, 253, 0.3);
    border-radius: 10px;
    padding: 1rem;
    color: #c9d1d9;
}

.alert-title[b-rle3w4746q] {
    font-weight: bold;
    color: #58a6ff;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.alert-desc[b-rle3w4746q] {
    font-size: 0.85rem;
    line-height: 1.5;
}

.alert-desc p[b-rle3w4746q] {
    margin: 0.3rem 0;
}

.badge[b-rle3w4746q] {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background-color: #21262d;
    border: 1px solid #30363d;
    color: #8b949e;
    font-size: 0.72rem;
    font-weight: bold;
    border-radius: 4px;
}

.output-box[b-rle3w4746q] {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 0.5rem;
    font-family: monospace;
    font-size: 0.8rem;
    color: #8b949e;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.config-grid[b-rle3w4746q] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.form-label[b-rle3w4746q] {
    display: block;
    font-size: 0.8rem;
    color: #8b949e;
    margin-bottom: 0.3rem;
}

.form-textarea[b-rle3w4746q] {
    width: 100%;
    background-color: #0d1117;
    border: 1px solid #30363d;
    color: #c9d1d9;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-family: monospace;
    outline: none;
    box-sizing: border-box;
}

.form-textarea:focus[b-rle3w4746q] {
    border-color: #58a6ff;
}

/* Slide-over success case Modal styles */
.modal-overlay[b-rle3w4746q] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    backdrop-filter: blur(4px);
}

.modal-panel[b-rle3w4746q] {
    width: 100%;
    max-width: 500px;
    background: #0d1117;
    border-left: 1px solid #30363d;
    height: 100vh;
    padding: 2rem;
    box-sizing: border-box;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    animation: slide-in-b-rle3w4746q 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-in-b-rle3w4746q {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.modal-close-btn[b-rle3w4746q] {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: #8b949e;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close-btn:hover[b-rle3w4746q] {
    color: #f0f6fc;
}

.modal-title[b-rle3w4746q] {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0.5rem 0 1rem 0;
    color: #f0f6fc;
}

.case-section[b-rle3w4746q] {
    margin-bottom: 1.8rem;
    border-bottom: 1px solid #21262d;
    padding-bottom: 1.2rem;
}

.case-section:last-of-type[b-rle3w4746q] {
    border-bottom: none;
    padding-bottom: 0;
}

.case-sec-title[b-rle3w4746q] {
    font-size: 1rem;
    color: #58a6ff;
    margin: 0 0 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.case-sec-content[b-rle3w4746q] {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #c9d1d9;
    margin: 0;
}

.stat-badge-list[b-rle3w4746q] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.stat-badge-card[b-rle3w4746q] {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 0.8rem;
    text-align: center;
}

.stat-badge-num[b-rle3w4746q] {
    font-size: 1.6rem;
    font-weight: 800;
    color: #3fb950;
    font-family: monospace;
}

.stat-badge-label[b-rle3w4746q] {
    font-size: 0.75rem;
    color: #8b949e;
    margin-top: 0.2rem;
}

/* Dynamic chart hover tooltip styles */
.chart-tooltip[b-rle3w4746q] {
    background: rgba(22, 27, 34, 0.95);
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    font-size: 0.8rem;
    pointer-events: none;
    transition: left 0.1s ease-out;
    min-width: 140px;
}

.tooltip-time[b-rle3w4746q] {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #c9d1d9;
    font-size: 0.85rem;
}

.tooltip-row[b-rle3w4746q] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.2rem;
    font-size: 0.78rem;
}

.tooltip-dot[b-rle3w4746q] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
/* /Pages/VideoMonitor.razor.rz.scp.css */
.dashboard-container[b-xjpkad0qy4] {
    width: 100%;
    margin: 0;
    padding: 1.5rem;
    background: #0d1117;
    color: #c9d1d9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

/* Filter Bar */
.filter-bar[b-xjpkad0qy4] {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.filter-left[b-xjpkad0qy4], .filter-right[b-xjpkad0qy4] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-label[b-xjpkad0qy4] {
    font-size: 0.9rem;
    color: #8b949e;
    white-space: nowrap;
}

.select-input[b-xjpkad0qy4], .date-input[b-xjpkad0qy4] {
    background: #0d1117;
    border: 1px solid #30363d;
    color: #c9d1d9;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.select-input:focus[b-xjpkad0qy4], .date-input:focus[b-xjpkad0qy4] {
    border-color: #58a6ff;
}

.btn-toggle-group[b-xjpkad0qy4] {
    display: flex;
    background: #0d1117;
    padding: 2px;
    border: 1px solid #30363d;
    border-radius: 6px;
}

.btn-toggle[b-xjpkad0qy4] {
    padding: 0.4rem 1rem;
    background: transparent;
    border: none;
    color: #8b949e;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-toggle.active[b-xjpkad0qy4] {
    background: #21262d;
    color: #f0f6fc;
}

/* Primary Button */
.btn-primary[b-xjpkad0qy4] {
    background-color: #1f6feb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-primary:hover[b-xjpkad0qy4] {
    background-color: #388bfd;
}

.btn-primary:active[b-xjpkad0qy4] {
    transform: scale(0.98);
}

/* Section Card & Loader styles */
.section-card[b-xjpkad0qy4] {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.loading-spinner[b-xjpkad0qy4] {
    display: inline-block;
    border: 3px solid rgba(56, 139, 253, 0.2);
    border-top: 3px solid #58a6ff;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    animation: spin-b-xjpkad0qy4 1s linear infinite;
}

@keyframes spin-b-xjpkad0qy4 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Video grid dashboard layout */
.video-grid-container[b-xjpkad0qy4] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
    .video-grid-container[b-xjpkad0qy4] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-grid-container[b-xjpkad0qy4] {
        grid-template-columns: 1fr;
    }
}

.video-grid-card[b-xjpkad0qy4] {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.video-grid-card:hover[b-xjpkad0qy4] {
    transform: translateY(-2px);
    border-color: #58a6ff;
}

.video-card-header[b-xjpkad0qy4] {
    background: #21262d;
    padding: 0.6rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #30363d;
}

.video-title[b-xjpkad0qy4] {
    font-size: 0.88rem;
    font-weight: 600;
    color: #f0f6fc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65%;
}

.video-status-badge[b-xjpkad0qy4] {
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: bold;
}

.video-status-badge.status-online[b-xjpkad0qy4] {
    background-color: rgba(56, 139, 253, 0.15);
    color: #58a6ff;
}

.video-status-badge.status-mock[b-xjpkad0qy4] {
    background-color: rgba(240, 184, 0, 0.15);
    color: #e3b341;
}

.video-card-body[b-xjpkad0qy4] {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-video-element[b-xjpkad0qy4] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-watermark[b-xjpkad0qy4] {
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: monospace;
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.6);
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
    pointer-events: none;
}

/* CCTV Placeholder Simulation Screen */
.cctv-placeholder[b-xjpkad0qy4] {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #1a2230 0%, #080c10 100%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cctv-scanline[b-xjpkad0qy4] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2;
}

.cctv-rec-badge[b-xjpkad0qy4] {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: monospace;
    font-size: 0.72rem;
    color: #ff7b72;
    background: rgba(0,0,0,0.5);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: bold;
    z-index: 3;
}

.rec-dot[b-xjpkad0qy4] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ff7b72;
    animation: blink-rec-b-xjpkad0qy4 1s infinite alternate;
}

@keyframes blink-rec-b-xjpkad0qy4 {
    0% { opacity: 0.2; }
    100% { opacity: 1; }
}

.cctv-time[b-xjpkad0qy4] {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-family: monospace;
    font-size: 0.72rem;
    color: #c9d1d9;
    background: rgba(0,0,0,0.5);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    z-index: 3;
}

.cctv-center-text[b-xjpkad0qy4] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(139, 148, 158, 0.3);
    padding: 0.3rem 0.8rem;
    background: rgba(0, 0, 0, 0.4);
    z-index: 3;
    pointer-events: none;
}

.video-card-footer[b-xjpkad0qy4] {
    padding: 0.6rem 1rem;
    background: #1f242c;
    border-top: 1px solid #30363d;
}

.footer-flow-row[b-xjpkad0qy4] {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 0.78rem;
}

.flow-item-lbl[b-xjpkad0qy4] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.flow-divider[b-xjpkad0qy4] {
    color: #30363d;
}
