/* Stile generale */
body {
    padding: 20px;
    background-color: #f8f9fa;
}

/* Stile per la griglia delle stanze */
.rooms-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.room-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.room-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.room-card.selected {
    background-color: #e3f2fd;
    border-color: #90caf9;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.3);
}

.room-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.room-capacity {
    font-size: 0.9rem;
    color: #666;
}

/* Stile per le prenotazioni */
.booking-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.booking-header h5 {
    margin: 0;
    font-weight: 600;
}

.booking-details p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.booking-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

/* Stile per il date picker */
.date-picker-container {
    max-width: 300px;
}

#bookings-list {
    max-height: 600px;
    overflow-y: auto;
}

.booking-card {
    background-color: #F0F8FF;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.booking-card h5 {
    color: #4682B4;
    margin-bottom: 10px;
}

.booking-info {
    color: #696969;
    font-size: 0.9em;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .rooms-container {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 10px;
    }

    .room-card {
        font-size: 1em;
    }
}