
* {
    user-select: none;
}

.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 20px;
    /* background-color: rgb(240, 240, 240); */
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    color: rgb(50, 51, 54);
}

.search-filter {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: rgb(50, 51, 54);
    background: white;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 16px;
    background-color: rgb(63, 165, 233);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s ease;
}

.filter-btn:hover {
    background-color: rgb(33, 133, 203);
}

.filter-btn.active {
    background-color: rgb(33, 133, 203);
    box-shadow: 0 2px 8px rgba(33, 133, 203, 0.3);
    border: solid 2px rgb(235, 235, 235);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

.room-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.room-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: rgb(50, 51, 54);
}

.room-category {
    background: rgb(63, 165, 233);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.computer-count {
    color: rgb(50, 51, 54);
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.computer-count i.ic-pc {
    /* background-color: #a86315; */
    /* white */
    filter: invert(0.4) sepia(0.2) saturate(5) hue-rotate(170deg) brightness(0.9);
    padding: 5px;
    margin: 5px;
    /* border-radius: 5px; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}


.computer-icon {
    display: inline-block;
    margin-left: 8px;
}

.apps-section h3 {
    color: rgb(50, 51, 54);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.apps-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.app-tag {
    background: #f8f9fa;
    color: rgb(50, 51, 54);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid #e9ecef;
}

.no-apps {
    color: #999;
    font-style: italic;
}

.loading {
    text-align: center;
    padding: 40px;
    color: rgb(50, 51, 54);
    font-size: 1.2rem;
}

.error {
    text-align: center;
    padding: 40px;
    color: #dc3545;
    font-size: 1.1rem;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: rgb(50, 51, 54);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: rgb(50, 51, 54);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: rgb(63, 165, 233);
}

.stat-label {
    font-size: 0.9rem;
    margin-top: 5px;
    color: rgb(100, 100, 100);
}

@media (max-width: 768px) {
    .filter-buttons {
        justify-content: flex-start;
    }
            
    .rooms-grid {
        grid-template-columns: 1fr;
    }
}

.highlight {
    background-color: yellow;
    transition: background-color 1s ease;
}



#selectFillterApps {
    max-height: 400px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px 16px;
    padding: 12px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    overflow-y: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    direction: rtl;
}


#selectFillterApps label {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row-reverse;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background-color: #fafafa;
    transition: background-color 0.2s ease, transform 0.1s ease;
}


#selectFillterApps label:hover {
    background-color: #f0f0f0;
    cursor: pointer;
    transform: translateY(-1px);
}


#selectFillterApps input[type="checkbox"] {
    accent-color: #0078d7;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

#selectFillterApps label:has(input[type="checkbox"]:disabled), #selectFillterApps input[type="checkbox"]:disabled {
    cursor: not-allowed;
    accent-color: #aaa;
    background-color: #e9e9e9;
}

.highlights {
    background-color: #ffeb3b;
}

