﻿/* ======== ESTILOS PARA LA VISTA DE RESERVA ======== */

.reserva-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /*background-image: url("/images/fondo.png");  Ruta de la imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
}

.reserva-card {
    background-color: rgb(229, 234, 234, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 30px 40px;
    width: 90%;
    max-width: 900px;
    text-align: center;
}

    /* Título */
    .reserva-card h2 {
        font-size: 1.8rem;
        color: #071833;
        font-weight: 700;
        margin-bottom: 25px;
    }

    /* Selector de fecha */
    .reserva-card form label {
        font-weight: 600;
        color: #0c223f;
        margin-right: 10px;
    }

    .reserva-card input[type="date"] {
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 6px 12px;
        margin-right: 10px;
    }

    /* Botón buscar */
    .reserva-card .btn-primary {
        background-color: #1c6dd0;
        border: none;
        border-radius: 8px;
        transition: all 0.3s;
    }

        .reserva-card .btn-primary:hover {
            background-color: #1558a3;
        }

/* ======== BOTONES DE HORARIOS ======== */

/* Oculta los círculos de selección */
input[type="radio"] {
    display: none;
}

/* Hace que el span actúe como botón */
label span {
    display: inline-block;
    background-color: white;
    color: #1c6dd0;
    border: 2px solid #1c6dd0;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin: 4px;
}

    /* Efecto hover */
    label span:hover {
        background-color: #1c6dd0;
        color: white;
    }

/* Cuando está seleccionado */
input[type="radio"]:checked + span {
    background-color: #1c6dd0;
    color: white;
    border-color: #1c6dd0;
}

/* Cuando está deshabilitado */
input[type="radio"]:disabled + span {
    background-color: #999;
    color: #eee;
    border-color: #999;
    cursor: not-allowed;
}

/* Botón confirmar */
.btn-reserva {
    margin-top: 20px;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 600;
    
}

/* Contenedor de botones */
.btn-group label {
    display: inline-block;
}
