.div_agenda_calendario {
    position: static;
    width: 100%;
    padding-top: 300px;
}
form {
    max-width: 400px;
    margin: 0 auto;
}

label {
    display: block;
    margin-top: 10px;
}

input, textarea, button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 16px;
}

button {
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

#horarios {
    display: flex;
    justify-content: center;
    gap: 40px; /* Espacio entre las columnas */
    margin-top: 20px;
}

.columna-fecha {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fecha-titulo {
    font-size: 1.2rem;
    font-weight: bold;
    color: #5a5a5a;
    text-align: center;
    margin-bottom: 10px;
}

.contenedor-horarios {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.horario {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 35px;
    background-color: #fddde6;
    color: #333;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.horario:hover {
    background-color: #fcb6c9;
}

.horario.disabled {
    background-color: transparent;
    color: #999;
    text-decoration: line-through;
    cursor: not-allowed;
}

 /* Estilos del calendario */
        .flatpickr-calendar {
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .flatpickr-months {
            background-color: #f3a7aa !important; /* Color de la cabecera */
            color: white;
        }

        .flatpickr-weekday {
            color: #555;
        }

        .flatpickr-day.selected, .flatpickr-day:hover {
            background-color: #f3a7aa !important;
            color: white !important;
        }

        /* Ocultar el input y el label */
        #fecha {
            display: none;
        }
#form-confirmacion {
    background: #F8F8F8;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#form-confirmacion h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

#form-confirmacion p {
    font-size: 18px;
    color: #555;
    font-weight: bold;
    margin-bottom: 10px;
}

#form-confirmacion label {
    font-size: 16px;
    color: #333;
    display: block;
    margin-top: 10px;
    text-align: left;
}

#form-confirmacion input[type="text"],
#form-confirmacion input[type="tel"] {
    width: 90%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

#confirmacionCelular {
    margin-right: 5px;
}

#confirmacionCelular + label {
    font-size: 14px;
    color: #333;
}

#confirmarCita {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    color: white;
    background: #28a745;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}

#confirmarCita:disabled {
    background: #ccc;
    cursor: not-allowed;
}
#reloj {
    display: block;
    color: #fff;
    background-color: #333;
    width: 250px;
    font-size: 1.8rem;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 10px auto;
    font-weight: bold;
}
#mensaje_reservar_cita {
    width: 100%;
    max-width: 30rem;
    margin: .5rem auto;

}
#mensaje_reservar_cita .text-success {
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
}

#mensaje_reservar_cita .text-success::before {
    content: "❌";
    color: crimson;
    margin-right: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.2;
}
#mensaje_reservar_cita .text-success-ok {
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
}

#mensaje_reservar_cita .text-success-ok::before {
    content: "✅ ";
    color: crimson;
    margin-right: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.2;
}
#btn-outline-danger {
    background-color: #878787;
}
#form-confirmacion #botonCancelar {
    background-color: #989898;
}
/*  css de agenda */
.h-reservada  { background:#ffdbe6; color:#333; cursor:not-allowed; }
.h-confirmada { background:transparent; color:#9aa0a6; text-decoration:line-through; cursor:not-allowed; }
.horario:not(.disabled) { cursor:pointer; }

#form-confirmacion input {
    width: 90%;
}