/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-69mpdm7apt] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-69mpdm7apt] {
    flex: 1;
}

.sidebar[b-69mpdm7apt] {
    background-color: var(--bs-body-bg);
    border-right:2px solid var(--bs-secondary)
}

.top-row[b-69mpdm7apt] {
    background-color: var(--bs-body-bg);
    border-bottom: 2px solid var(--bs-secondary);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-69mpdm7apt]  a, .top-row[b-69mpdm7apt]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-69mpdm7apt]  a:hover, .top-row[b-69mpdm7apt]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-69mpdm7apt]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-69mpdm7apt] {
        justify-content: space-between;
    }

    .top-row[b-69mpdm7apt]  a, .top-row[b-69mpdm7apt]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-69mpdm7apt] {
        flex-direction: row;
    }

    .sidebar[b-69mpdm7apt] {
        width: 15rem;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-69mpdm7apt] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-69mpdm7apt]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-69mpdm7apt], article[b-69mpdm7apt] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

#blazor-error-ui[b-69mpdm7apt] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-69mpdm7apt] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-l2asqjnd87] {
    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-l2asqjnd87] {
        background-color: rgba(255, 255, 255, 0.5);
    }

.top-row[b-l2asqjnd87] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-l2asqjnd87] {
    font-size: 1.1rem;
}

.bi[b-l2asqjnd87] {
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}


.nav-item[b-l2asqjnd87] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-l2asqjnd87] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-l2asqjnd87] {
        padding-bottom: 1rem;
    }

    .nav-item[b-l2asqjnd87]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
        padding: 1rem;
    }

    .nav-item[b-l2asqjnd87]  a.active {
        background-color: rgba(255,255,255,0.37);
        color: white;
    }

    .nav-item[b-l2asqjnd87]  .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

.nav-scrollable[b-l2asqjnd87] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-l2asqjnd87] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-l2asqjnd87] {
        display: none;
    }

    .nav-scrollable[b-l2asqjnd87] {
        /* 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/UptimeGraph.razor.rz.scp.css */
/* Uptime Graph Container */
.uptime-graph-container[b-t8gis0ysx2] {  
        position: relative;
}

     

/* Graph Header */
.graph-header[b-t8gis0ysx2] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px; 
}

.time-label[b-t8gis0ysx2] {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

/* Graph Bars Container */
.graph-bars[b-t8gis0ysx2] {
    display: flex;
  
 
}

/* Hour Bar Container */
.hour-bar-container[b-t8gis0ysx2] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; 
    gap:2px;
    position: relative;
}

/* Hour Bar */
.hour-bar[b-t8gis0ysx2] {
    width: clamp(.25rem, 8vw, 1rem);
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 3rem; 
}

   

/* Hour Label */
.hour-label[b-t8gis0ysx2] {
    margin-top: 8px;
    font-size: 12px;
    color: #495057;
    font-weight: 500;
    display:none;
}

/* Tooltip */
.tooltip[b-t8gis0ysx2] {
    position: absolute;
    background-color: #fff;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 220px;
    border: 1px solid #dee2e6;
    transform: translateX(-50%);
    animation: fadeIn-b-t8gis0ysx2 0.2s ease;
}

    .tooltip[b-t8gis0ysx2]::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #fff;
        filter: drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.1));
    }

@keyframes fadeIn-b-t8gis0ysx2 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.tooltip-header[b-t8gis0ysx2] {
    font-weight: 600;
    color: #495057;
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.tooltip-body[b-t8gis0ysx2] {
    font-size: 14px;
    color: #6c757d;
}

    .tooltip-body p[b-t8gis0ysx2] {
        margin-bottom: 8px;
        display: flex;
        justify-content: space-between;
    }

    .tooltip-body strong[b-t8gis0ysx2] {
        color: #343a40;
    }

.status-badge[b-t8gis0ysx2] {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-up[b-t8gis0ysx2] {
    background-color: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.status-down[b-t8gis0ysx2] {
    background-color: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

/* Graph Footer */
.graph-footer[b-t8gis0ysx2] {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.legend[b-t8gis0ysx2] {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legend-item[b-t8gis0ysx2] {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
}

.legend-color[b-t8gis0ysx2] {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .graph-bars[b-t8gis0ysx2] {
        height: 150px;
    }

    .hour-bar[b-t8gis0ysx2] {
        width: 20px;
    }

    .hour-label[b-t8gis0ysx2] {
        font-size: 10px;
    }

    .tooltip[b-t8gis0ysx2] {
        min-width: 180px;
        font-size: 12px;
    }

    .legend[b-t8gis0ysx2] {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
