/* Estilos para el modal de cuartos */
#roomsModal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 80%;
    max-width: 600px; /* Ajustar el tamaño del modal */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

.room-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: background-color 0.3s;
}

.room-item:hover {
    background-color: #f0f0f0; /* Color de fondo al hacer hover */
}

.room-photo {
    width: 120px; /* Tamaño ajustado de las fotos */
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra en las fotos */
}

.room-item h3 {
    margin-top: 10px;
    font-size: 1.5rem;
    color: #333;
}

.room-item p {
    margin: 5px 0;
    color: #555;
}

.copy-btn {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.copy-btn:hover {
    background-color: #45a049;
}

/* Estilo para el ícono de cuartos */
.rooms-icon {
    cursor: pointer;
    font-size: 20px;
    color: #075E54;
    padding: 10px;
    transition: color 0.3s, transform 0.3s;
}

.rooms-icon:hover {
    color: #4CAF50;
    transform: scale(1.1);
}

.close {
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Ajustes responsivos */
@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        padding: 15px;
    }

    .room-photo {
        width: 100px;
    }

    .room-item {
        padding: 12px;
    }

    .copy-btn {
        width: 100%;
        font-size: 1em;
    }
}
