/* /Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-px52vwg8as] {
    min-height: 100vh;
}

.app-content[b-px52vwg8as] {
    width: min(1024px, 100%);
    margin: 0 auto;
    padding: 1.5rem 1rem 2.5rem;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-dmy4sw7oh2] {
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

.bi[b-dmy4sw7oh2] {
    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-dmy4sw7oh2] {
    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-dmy4sw7oh2] {
    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-dmy4sw7oh2] {
    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-dmy4sw7oh2] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

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

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

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

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

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

    .nav-scrollable[b-dmy4sw7oh2] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Home.razor.rz.scp.css */
.admin-hero[b-we5vjm8z08] {
    margin-bottom: 0.75rem;
}

.admin-hero h1[b-we5vjm8z08] {
    margin: 0;
    font-size: clamp(1.3rem, 1rem + 1.5vw, 2rem);
}

.global-message[b-we5vjm8z08] {
    margin-bottom: 0.75rem;
    border: 1px solid #f0c36f;
    background: #fff6e3;
    color: #6f4d08;
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
}

.admin-panel[b-we5vjm8z08] {
    border: 1px solid #d7dee5;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 3px 14px rgba(12, 36, 64, 0.06);
}

.table-wrap[b-we5vjm8z08] {
    overflow-x: auto;
}

.admin-table[b-we5vjm8z08] {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th[b-we5vjm8z08],
.admin-table td[b-we5vjm8z08] {
    border-bottom: 1px solid #e8edf3;
    padding: 0.55rem 0.5rem;
    vertical-align: middle;
}

.admin-table th[b-we5vjm8z08] {
    background: #f8fafc;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #34495e;
    white-space: nowrap;
}

.user-cell[b-we5vjm8z08] {
    font-weight: 700;
    color: #0f3a58;
    white-space: nowrap;
    font-size: 0.85rem;
}

.text-input[b-we5vjm8z08] {
    width: 100%;
    min-width: 120px;
    border: 1px solid #cfd7e0;
    border-radius: 7px;
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
}

.send-btn[b-we5vjm8z08],
.disconnect-btn[b-we5vjm8z08] {
    border: 1px solid transparent;
    border-radius: 7px;
    padding: 0.38rem 0.55rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.send-btn[b-we5vjm8z08] {
    background: #135a90;
    border-color: #135a90;
}

.send-btn:hover:enabled[b-we5vjm8z08] {
    background: #176aa8;
}

.disconnect-btn[b-we5vjm8z08] {
    background: #9a2727;
    border-color: #9a2727;
}

.disconnect-btn:hover:enabled[b-we5vjm8z08] {
    background: #b03030;
}

.send-btn:disabled[b-we5vjm8z08],
.disconnect-btn:disabled[b-we5vjm8z08] {
    opacity: 0.6;
    cursor: default;
}

.status-cell[b-we5vjm8z08] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    font-size: 0.85rem;
}

.status-dot[b-we5vjm8z08] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.connected[b-we5vjm8z08] {
    background: #1b9f4a;
    box-shadow: 0 0 0 3px rgba(27, 159, 74, 0.16);
}

.status-dot.disconnected[b-we5vjm8z08] {
    background: #cb3232;
    box-shadow: 0 0 0 3px rgba(203, 50, 50, 0.16);
}

.details-row td[b-we5vjm8z08] {
    background: #fcfdff;
    padding-top: 0.4rem;
    padding-bottom: 0.6rem;
}

.row-message[b-we5vjm8z08] {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 0.83rem;
    color: #26435e;
}

.row-link[b-we5vjm8z08] {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    font-size: 0.8rem;
}

/* ---- Mobile: card-style rows ---- */

@media (max-width: 768px) {
    .admin-table thead[b-we5vjm8z08] {
        display: none;
    }

    .admin-table[b-we5vjm8z08],
    .admin-table tbody[b-we5vjm8z08],
    .admin-table tr[b-we5vjm8z08],
    .admin-table td[b-we5vjm8z08] {
        display: block;
        width: 100%;
    }

    .admin-table tr[b-we5vjm8z08] {
        border-bottom: 2px solid #e0e5eb;
        padding: 0.5rem;
        margin-bottom: 0.25rem;
    }

    .admin-table td[b-we5vjm8z08] {
        border-bottom: none;
        padding: 0.25rem 0.5rem;
    }

    .admin-table td[b-we5vjm8z08]::before {
        display: block;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #6b7d8e;
        margin-bottom: 0.15rem;
    }

    .admin-table td:nth-child(1)[b-we5vjm8z08]::before { content: "User"; }
    .admin-table td:nth-child(2)[b-we5vjm8z08]::before { content: "Name"; }
    .admin-table td:nth-child(3)[b-we5vjm8z08]::before { content: "E-mail"; }
    .admin-table td:nth-child(4)[b-we5vjm8z08]::before { content: ""; }
    .admin-table td:nth-child(5)[b-we5vjm8z08]::before { content: "Status"; }
    .admin-table td:nth-child(6)[b-we5vjm8z08]::before { content: ""; }

    .text-input[b-we5vjm8z08] {
        min-width: 0;
    }

    .details-row td[b-we5vjm8z08]::before {
        display: none;
    }
}
/* /Pages/Join.razor.rz.scp.css */
.join-panel[b-04psgww312] {
    padding: 0.5rem;
}

.error-text[b-04psgww312] {
    margin: 0;
    color: #9e2727;
    font-weight: 600;
}

.status-bar[b-04psgww312] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
}

.status-bar-name[b-04psgww312] {
    font-weight: 700;
    font-size: 1rem;
}

.status-bar-info[b-04psgww312] {
    color: #5b6e82;
}

.disconnect-link[b-04psgww312] {
    margin-left: auto;
    background: none;
    border: none;
    color: #9a2727;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

/* ---- Cards Grid ---- */

.cards-grid[b-04psgww312] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

/* ---- User Card ---- */

.user-card[b-04psgww312] {
    border-radius: 10px;
    padding: 0.45rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-width: 3px;
    border-style: solid;
    transition: background-color 0.2s, border-color 0.2s;
}

.card-disconnected[b-04psgww312] {
    border-color: #cb3232;
    background: #fff;
}

.card-connected[b-04psgww312] {
    border-color: #1b9f4a;
    background: #fff;
}

.card-talking[b-04psgww312] {
    border-color: #00bcd4;
    background: #e0f7fa;
}

.card-receiving[b-04psgww312] {
    border-color: #1b9f4a;
    background: #e8f5e9;
}

.card-talking.card-receiving[b-04psgww312] {
    border-color: #00bcd4;
    background: #e8f5e9;
}

.card-name[b-04psgww312] {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.3rem;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* ---- PTT Area ---- */

.ptt-area[b-04psgww312] {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid #bcc5d0;
    border-radius: 8px;
    background: #f0f3f7;
    cursor: pointer;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    margin-bottom: 0.35rem;
    transition: background-color 0.15s, border-color 0.15s;
}

.ptt-area.active[b-04psgww312] {
    background: #00bcd4;
    border-color: #00acc1;
}

/* ---- Volume Row ---- */

.volume-row[b-04psgww312] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
}

.volume-row input[type="range"][b-04psgww312] {
    flex: 1;
    min-width: 0;
    height: 18px;
}

.mute-btn[b-04psgww312] {
    width: 24px;
    height: 24px;
    border: 1px solid #bcc5d0;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mute-btn.muted[b-04psgww312] {
    background: #cb3232;
    border-color: #cb3232;
    color: #fff;
}

/* ---- Global Controls ---- */

.global-controls[b-04psgww312] {
    margin-top: 0.75rem;
    border-top: 1px solid #e6ebf1;
    padding-top: 0.6rem;
}

.global-row[b-04psgww312] {
    display: grid;
    grid-template-columns: 55px 1fr auto;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.global-row label[b-04psgww312] {
    font-weight: 600;
    font-size: 0.8rem;
}

.global-row select[b-04psgww312],
.global-row input[type="range"][b-04psgww312] {
    width: 100%;
    min-width: 0;
}

.global-row span[b-04psgww312] {
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 38px;
    text-align: right;
}

/* ---- Mobile: 4 columns ---- */

@media (max-width: 768px) {
    .cards-grid[b-04psgww312] {
        grid-template-columns: repeat(4, 1fr);
    }

    .global-row[b-04psgww312] {
        grid-template-columns: 45px 1fr auto;
        gap: 0.3rem;
    }
}

@media (max-width: 400px) {
    .cards-grid[b-04psgww312] {
        grid-template-columns: repeat(3, 1fr);
    }
}
