/* Room grid */
.room-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 4px;
    padding: 4px;
    background: #000;
}

/* Room card */
.room-card {
    background: #000;
    overflow: hidden;
    border: 1px solid #1a1a1a;
}

/* Loading placeholder card */
.room-card--loading {
    background: #111;
    border: 1px solid #1a1a1a;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-loading {
    text-align: center;
    width: 65%;
}

.room-loading-label {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 14px;
}

.room-loading-bar-wrap {
    background: #333;
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.room-loading-bar {
    height: 100%;
    width: 0%;
    background: #00ff00;
    border-radius: 4px;
    transition: width 0.25s ease;
}

.room-loading-text {
    color: #888;
    font-size: 12px;
}

.room-canvas {
    width: 100%;
    display: block;
    background: #000;
}

/* Navbar left wrapper for dropdown positioning */
.navbar-left {
    position: relative;
}

/* Filter dropdown */
.filter-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    width: 200px;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 10px;
    z-index: 1050;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.filter-dropdown.show { display: block; }

.select-all-row {
    padding: 6px 0;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 6px;
}

.select-all-row label {
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
}

.filter-item {
    padding: 4px 0;
}

.filter-item label {
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-item input[type=checkbox] {
    accent-color: #4a9eff;
}

