/* Modal overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* Contenedor interno del modal */
.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Botón de cerrar (X) */
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 25px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}
.modal-close:hover {
    color: #000;
}

/* Pie del modal */
.modal-footer {
    margin-top: 10px; /* Espacio reducido sobre el botón */
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

/* Botón para cerrar el modal (estilo azul) */
.btn-close-modal {
    background-color: #000000;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    max-width: 500px;
    min-width: 150px;
    text-align: center;
    transition: background-color 0.3s;
}
.btn-close-modal:hover {
    background-color: #153dcc;
}

/* Estilos para el formulario de reservación */
#bookingForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: Arial, sans-serif;
}

/* Título del formulario */
#bookingForm h2 {
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

/* Grupo de cada campo: etiqueta e input en línea */
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* Etiqueta a la izquierda */
.form-group label {
    min-width: 150px;
    font-size: 16px;
    color: #555;
    margin-right: 10px;
}

/* Entrada del formulario */
.form-group input {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Botón de envío del formulario */
#bookingForm button[type="submit"] {
    background-color: #000000;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#bookingForm button[type="submit"]:hover {
    background-color: #0d2b8a;
}
