/* Reset básico */
* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    padding: 20px;
    background: #f4f6f8;
    color: #333;
}

/* Contenedor general */
h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #0056b3;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Secciones */
section {
    background: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Labels */
label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

/* Inputs */
input[type="text"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

/* Checkbox */
input[type="checkbox"] {
    margin-right: 6px;
}

/* Horarios */
#horarios {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

#horarios button {
    padding: 10px 14px;
    border: 1px solid #007bff;
    background: #ffffff;
    color: #007bff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#horarios button:hover {
    background: #007bff;
    color: #ffffff;
}

#horarios button.activo {
    background: #007bff;
    color: #ffffff;
    font-weight: bold;
}

/* Botón reservar */
button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #28a745;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background: #218838;
}

/* Responsive */
@media (min-width: 768px) {
    body {
        max-width: 600px;
        margin: auto;
        padding: 30px;
    }
}
.mensaje {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.mensaje.ok {
    background-color: #e6f4ea;
    color: #1e7e34;
    border: 1px solid #b7dfc5;
}


.mensaje.error {
    background-color: #fdecea;
    color: #b02a37;
    border: 1px solid #f5c2c7;
}

.oculto {
    display: none;
}

