
@media only screen and (min-width: 768px){

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.columnaizquierda{
    float: left;
    width: 50%;
    display: flex;
    align-items: flex-end;
    flex-wrap:wrap;
}
.inputentrada{
    display: block;
    width: 60%;
}
.botonverificar{
    background-color: #4293f5;
    color:white;
    font-weight: 700;
    margin-left:10px;
    border:none;
    margin-bottom: 7px;
    border-radius: 50px;
}
.botonverificar:hover{
    background-color: #131c94;
}
.divbotonverificar{
    width:30%;
}
form#reserva-form{
    display:contents;
}
#datos-entrada{
    width:100%;
    padding-top: 20px;
}
.botonmodificar{
    float:left;
    width:50%;
}
.botoneliminar{
    float:right;
    width:50%;
}


.columnaderecha{
    float:right;
    width:50%;
}

.map-container {
    grid-column: 2;
}


svg:not(:root){
    width:80%;
}


.form-container {
    grid-column: 1;
}


}







/* Estilos para los botones */
#modificar-reserva{
    display:none;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50; /* Color verde */
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}
#enviar-reserva {
    display:none;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50; /* Color verde */
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

#modificar-reserva:hover{
    background-color: #45a049; /* Color verde más oscuro al pasar el mouse */
}
#enviar-reserva:hover {
    background-color: #45a049; /* Color verde más oscuro al pasar el mouse */
}


@media only screen and (max-width: 768px){
.botonmodificar{
    float:left;
    width:50%;
}
.botoneliminar{
    float:right;
    width:50%;
}

.divbotonverificar{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;

}
.botonverificar{
    background-color: #4293f5;
    color:white;
    font-weight: 700;
    margin-left:10px;
    border:none;
    margin-bottom: 7px;
    border-radius: 50px;
    padding: 5px 10px 5px 10px;
}
.botonverificar:hover{
    background-color: #131c94;
}

#svg-container {
    overflow: hidden; /* Oculta cualquier parte del SVG que se desborde */
    width: 100%; /* Ajusta el ancho del contenedor al 100% del contenedor padre */
    height: auto; /* Permite que la altura se ajuste automáticamente para mantener la proporción */
    max-width: none; /* Elimina el máximo ancho impuesto */
}


}


.legend {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-color {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 1px solid #000;
}

.legend-text {
    font-size: 14px;
}


