/* _content/BlazorAuthApp/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-g9i31664cw] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-g9i31664cw] {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
}

.sidebar[b-g9i31664cw] {
    background: linear-gradient(180deg, #0c3320 0%, #155d30 55%, #1a7a40 100%);
}

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

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

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

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

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

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

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

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

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

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

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

#blazor-error-ui[b-g9i31664cw] {
    align-items: center;
    background: rgba(0, 0, 0, 0.55);
    bottom: 0;
    display: none;
    justify-content: center;
    left: 0;
    padding: 2rem;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2000;
}

    #blazor-error-ui .blazor-error-card[b-g9i31664cw] {
        background: #f5f5f5;
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
        color: #1b1b1b;
        max-width: 460px;
        padding: 1.5rem 1.75rem;
        text-align: center;
        width: 100%;
    }

    #blazor-error-ui .blazor-error-title[b-g9i31664cw] {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    #blazor-error-ui .blazor-error-message[b-g9i31664cw] {
        color: #444;
        margin-bottom: 1rem;
    }

    #blazor-error-ui .blazor-error-actions[b-g9i31664cw] {
        display: flex;
        gap: 0.75rem;
        justify-content: center;
    }

    #blazor-error-ui .reload[b-g9i31664cw] {
        background: #0d6efd;
        border-radius: 999px;
        color: #fff;
        padding: 0.45rem 1.1rem;
        text-decoration: none;
    }

    #blazor-error-ui .dismiss[b-g9i31664cw] {
        background: transparent;
        border: 1px solid #9d9d9d;
        border-radius: 999px;
        color: #333;
        padding: 0.4rem 1.05rem;
    }

    #blazor-error-ui .reload:hover[b-g9i31664cw],
    #blazor-error-ui .dismiss:hover[b-g9i31664cw] {
        filter: brightness(0.95);
    }
/* _content/BlazorAuthApp/Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Hamburger toggler (mobile) ── */
.navbar-toggler[b-r582il65eu] {
    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.18);
    border-radius: 6px;
    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.75%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.08);
    transition: background-color .15s;
}

.navbar-toggler:checked[b-r582il65eu] {
    background-color: rgba(255, 255, 255, 0.22);
}

/* ── Brand / top row ── */
.top-row[b-r582il65eu] {
    height: 3.5rem;
    background: rgba(0, 0, 0, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.navbar-brand[b-r582il65eu] {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand[b-r582il65eu]::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6ee09a;
    box-shadow: 0 0 6px #6ee09a;
    flex-shrink: 0;
}

/* ── Icons ── */
.bi[b-r582il65eu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    margin-right: 0.65rem;
    font-size: 1.05rem;
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity .15s;
}

/* ── Nav items ── */
.nav-item[b-r582il65eu] {
    font-size: 0.875rem;
    padding: 0 0.65rem 0.15rem;
}

.nav-item:first-of-type[b-r582il65eu] {
    padding-top: 0.75rem;
}

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

.nav-item[b-r582il65eu]  .nav-link {
    color: rgba(255, 255, 255, 0.78);
    background: none;
    border: none;
    border-radius: 8px;
    height: 2.6rem;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    width: 100%;
    transition: background .15s, color .15s;
    font-weight: 500;
    text-decoration: none;
}

.nav-item[b-r582il65eu]  .nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.nav-item[b-r582il65eu]  a.active {
    background: rgba(255, 255, 255, 0.95);
    color: #155d30;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* ── Language selector ── */
.nav-item .form-select[b-r582il65eu] {
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.90);
    border-radius: 8px;
    font-size: 0.82rem;
}

.nav-item .form-select:focus[b-r582il65eu] {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
    color: #fff;
}

.nav-item .form-select option[b-r582il65eu] {
    background: #155d30;
    color: #fff;
}

/* ── Scroll container ── */
.nav-scrollable[b-r582il65eu] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-r582il65eu] {
    display: block;
}

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

    .nav-scrollable[b-r582il65eu] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.2) transparent;
    }

    .nav-scrollable[b-r582il65eu]::-webkit-scrollbar {
        width: 4px;
    }

    .nav-scrollable[b-r582il65eu]::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.2);
        border-radius: 4px;
    }
}
/* _content/BlazorAuthApp/Components/Pages/Controller.razor.rz.scp.css */
.status-indicator[b-d9asfx2by2] {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.status-online[b-d9asfx2by2] {
    background-color: #28a745;
}

.status-indicator.status-offline[b-d9asfx2by2] {
    background-color: #dc3545;
}

.relay-indicator[b-d9asfx2by2] {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 3px solid #6c757d;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.4);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.relay-indicator.relay-on[b-d9asfx2by2] {
    background-color: #28a745;
    border-color: #1e7e34;
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.6);
}

.relay-indicator.relay-off[b-d9asfx2by2] {
    background-color: #dc3545;
    border-color: #b02a37;
    box-shadow: 0 0 12px rgba(220, 53, 69, 0.4);
}

.relay-indicator.sensor-off[b-d9asfx2by2] {
    background-color: #adb5bd;
    border-color: #868e96;
    box-shadow: none;
}

.relay-indicator.relay-unknown[b-d9asfx2by2] {
    background-color: #adb5bd;
    border-color: #6c757d;
    box-shadow: none;
}

.relay-indicator.relay-inline[b-d9asfx2by2] {
    width: 0.85rem;
    height: 0.85rem;
    border-width: 2px;
    box-shadow: none;
}

.relay-visual[b-d9asfx2by2] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.relay-visual-icon[b-d9asfx2by2] {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 4px solid transparent;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.25), 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.relay-visual-icon.relay-on[b-d9asfx2by2] {
    background: radial-gradient(circle at 35% 35%, #7fffb2, #28a745);
    border-color: #1e7e34;
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.6);
}

.relay-visual-icon.relay-off[b-d9asfx2by2] {
    background: radial-gradient(circle at 35% 35%, #ffb0b0, #dc3545);
    border-color: #b02a37;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
}

.relay-visual-details[b-d9asfx2by2] {
    display: flex;
    flex-direction: column;
}

.relay-visual-label[b-d9asfx2by2] {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: #6c757d;
}

.relay-visual-value[b-d9asfx2by2] {
    font-size: 1.75rem;
    font-weight: 600;
}

.relay-visual-meta[b-d9asfx2by2] {
    color: #6c757d;
    font-size: 0.9rem;
}

.sensor-list[b-d9asfx2by2] {
    display: grid;
    gap: 1rem;
}

.sensor-card[b-d9asfx2by2] {
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.25rem;
    background: #f8f9fa;
}

.sensor-row[b-d9asfx2by2] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
}

.sensor-status-inline[b-d9asfx2by2] {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.sensor-channels[b-d9asfx2by2] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-width: 0;
}

.sensor-channel[b-d9asfx2by2] {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.8rem;
    border-radius: 0.25rem;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-width: 160px;
    flex: 1 1 180px;
    max-width: 220px;
}

.sensor-channel-name[b-d9asfx2by2] {
    font-weight: 600;
}

.sensor-channel-value[b-d9asfx2by2] {
    display: inline-flex;
    align-items: center;
    color: #495057;
}

@media (max-width: 767.98px) {
    .sensor-card[b-d9asfx2by2] {
        padding: 0.85rem;
        border-radius: 0.25rem;
    }

    .sensor-row[b-d9asfx2by2] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .sensor-channels[b-d9asfx2by2] {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .sensor-status-inline[b-d9asfx2by2] {
        justify-content: flex-start;
    }

    .sensor-channel[b-d9asfx2by2] {
        display: flex;
        align-items: center;
        padding: 0.85rem 0.9rem;
        border-radius: 0.25rem;
        min-width: 0;
    }
}
/* _content/BlazorAuthApp/Components/Pages/ControllerPresence.razor.rz.scp.css */
.presence-meta[b-antsuyckhz] {
    color: #4a4a4a;
    display: grid;
    gap: 0.35rem;
}

.presence-bar-wrap[b-antsuyckhz] {
    position: relative;
}

.presence-bar[b-antsuyckhz] {
    background: #d9d9d9;
    border-radius: 999px;
    height: 16px;
    margin-bottom: 0.35rem;
    overflow: hidden;
    position: relative;
}

.presence-bar-online[b-antsuyckhz] {
    background: #22a06b;
    height: 100%;
    position: absolute;
    top: 0;
}

.presence-tooltip[b-antsuyckhz] {
    background: rgba(18, 18, 18, 0.9);
    border-radius: 8px;
    color: #fff;
    font-size: 0.75rem;
    left: 0;
    padding: 0.2rem 0.5rem;
    position: absolute;
    top: -28px;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
}

.presence-axis[b-antsuyckhz] {
    color: #666;
    display: flex;
    font-size: 0.9rem;
    justify-content: space-between;
    font-variant-numeric: tabular-nums;
}
/* _content/BlazorAuthApp/Components/Pages/Controllers.razor.rz.scp.css */
.status-indicator[b-1m6fvhod03] {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.status-online[b-1m6fvhod03] {
    background-color: #28a745;
}

.status-indicator.status-offline[b-1m6fvhod03] {
    background-color: #dc3545;
}
