/* File: css/room-dashboard.css */

.room-card {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    background-color: #fff;
}

.room-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.room-card .card-body {
    padding: 1rem;
}

.room-card .room-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
}

.room-card .room-type {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: -5px;
}

.room-card .status-badge {
    font-size: 0.85rem;
    padding: 0.4em 0.8em;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    border-radius: 50rem;
    font-weight: 500;
}

/* --- Trạng thái Phòng --- */
.room-card.status-vacant { border-left: 5px solid #198754; }
.room-card.status-vacant .status-badge { color: #0f5132; background-color: #d1e7dd; }

.room-card.status-occupied { border-left: 5px solid #dc3545; }
.room-card.status-occupied .status-badge { color: #842029; background-color: #f8d7da; }

.room-card.status-housekeeping { border-left: 5px solid #0dcaf0; }
.room-card.status-housekeeping .status-badge { color: #055160; background-color: #cff4fc; }

.room-card.status-checkout { border-left: 5px solid #ffc107; }
.room-card.status-checkout .status-badge { color: #664d03; background-color: #fff3cd; }

#room-type-filter .list-group-item {
    font-weight: 500;
}
#room-type-filter .list-group-item.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

@keyframes pulse-update {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

.room-card.pulse-update {
    animation: pulse-update 1s;
}