/* Estilos Generales */
body {
    font-family: Arial, sans-serif;
    color: rgb(240, 234, 223);
    background-image: url("reservaciones.jpg");
    background-size: cover;
    margin: 0;
    padding: 0;
    
}

/* Cabecera */
header {
    background-color: #5f3e0d;
    color: rgb(240, 234, 223);
    text-align: center;
    padding: 20px;
    font-size: 24px;
}

/* Tabla de Reservaciones */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #c77930;
}

table th {
    background-color: #6B2800;
    color: #E79F4A;
}

table tr:nth-child(even) {
    background-color: #c56e28;
}

button {
    background-color: rgb(141, 69, 3);
    color: rgb(231, 190, 141);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

button:hover {
    background-color: rgb(95, 36, 2);
}

button:disabled {
    background-color: #ddd6b7;
    cursor: not-allowed;
}

/* Formulario */
form {
    background-color: rgb(237, 230, 204);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

form input[type="text"],
form input[type="date"],
form input[type="number"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid rgb(106, 60, 17);
    border-radius: 5px;
}

form button {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    background-color: rgb(106, 60, 17);
}

form button[type="button"] {
    background-color: #f44336;
}

form button[type="button"]:hover {
    background-color: #e53935;
}

form button:hover {
    background-color: rgb(151, 84, 16);
}

/* Estilo para la tabla de detalles y botones adicionales */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-group button {
    background-color: #008CBA;
    color: rgb(238, 206, 141);
}

.btn-group button:hover {
    background-color: #007B8C;
}

/* Estilo para el mensaje de error/success */
.alert {
    padding: 10px;
    margin: 15px 0;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.alert.success {
    background-color: rgb(241, 164, 47);
    color: rgb(240, 217, 154);
}

.alert.error {
    background-color: #f44336;
    color: rgb(240, 201, 149);
}

/* Estilo para la actualización de reserva */
form.update-form {
    background-color: #ffffff;
    padding: 30px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.update-form input,
.update-form select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.update-form button {
    width: 100%;
    padding: 10px;
    background-color: rgb(106, 60, 17);
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.update-form button:hover {
    background-color: rgb(106, 60, 17)
}

.update-form button[type="button"] {
    background-color: #f44336;
}

.update-form button[type="button"]:hover {
    background-color: #e53935;
}

/* Modificaciones para pantallas pequeñas */
@media (max-width: 768px) {
    table {
        font-size: 14px;
    }

    form {
        width: 90%;
    }

    .btn-group {
        flex-direction: column;
    }
}
.btn {
    font-size: 1.5em;
    color: #e3e7e970;
}