/* Página "Pedir cita" - estilos propios (complementan estilo.min.css) */
.formulario_cita label { font-weight: 700; margin-top: 10px; margin-bottom: 4px; }
.formulario_cita label.etiqueta_normal { font-weight: 400; margin: 0; display: inline; }
.formulario_cita .caja { border-radius: 0; border: 1px solid #373daa; font-size: 14px; color: #000; }
.formulario_cita .caja:focus { box-shadow: 0 0 0 3px rgba(245, 167, 216, .45); border-color: #373daa; }
.formulario_cita .caja.es-invalido { border-color: #dc3545; background-color: #fff6fa; }
.formulario_cita select.caja { height: calc(1.5em + .75rem + 2px); }
.formulario_cita .ayuda_campo { color: #7c7c7c; font-size: 12px; }

.paso_cita { margin-top: 8px; padding-bottom: 14px; border-bottom: 1px dashed #a4a6db; }
.paso_cita:last-of-type { border-bottom: 0; }
.paso_cita h4 { display: inline-block; color: #373daa; padding: 10px 0 5px 0; font-size: 18px; font-weight: 700; }
.numero_paso { display: inline-block; width: 30px; height: 30px; line-height: 30px; border-radius: 50%; background-color: #f5a7d8; color: #fff; text-align: center; font-size: 15px; margin-right: 6px; }

/* Opciones tipo pastilla (radios) */
.opciones_pastilla { display: flex; flex-wrap: wrap; gap: 8px; }
.opciones_pastilla .pastilla { position: relative; margin: 0; font-weight: 400; cursor: pointer; }
.opciones_pastilla .pastilla input { position: absolute; opacity: 0; width: 0; height: 0; }
.opciones_pastilla .pastilla span { display: inline-block; border: 1px solid #373daa; color: #373daa; border-radius: 30px; padding: 6px 16px; font-size: 14px; background: #fff; transition: all .2s ease-in-out; }
.opciones_pastilla .pastilla input:checked + span { background-color: #373daa; color: #fff; }
.opciones_pastilla .pastilla:hover span { background-color: #f5a7d8; border-color: #f5a7d8; color: #fff; }
.opciones_pastilla .pastilla input:focus-visible + span { box-shadow: 0 0 0 3px rgba(245, 167, 216, .6); }

/* Rejilla de horas */
.rejilla_horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 4px; min-height: 42px; }
.rejilla_horas .aviso_horas { grid-column: 1 / -1; color: #7c7c7c; font-size: 14px; margin: 6px 0 0 0; }
.rejilla_horas .hora { position: relative; margin: 0; cursor: pointer; font-weight: 400; }
.rejilla_horas .hora input { position: absolute; opacity: 0; width: 0; height: 0; }
.rejilla_horas .hora span { display: block; text-align: center; border: 1px solid #373daa; color: #373daa; background: #fff; padding: 7px 0; font-size: 14px; transition: all .2s ease-in-out; }
.rejilla_horas .hora:hover span { background-color: #f5a7d8; border-color: #f5a7d8; color: #fff; }
.rejilla_horas .hora input:checked + span { background-color: #373daa; color: #fff; }
.rejilla_horas .hora.ocupada { cursor: not-allowed; }
.rejilla_horas .hora.ocupada span { border-color: #ddd; color: #bbb; background: #f1f1f1; text-decoration: line-through; }
.rejilla_horas .hora.ocupada:hover span { background: #f1f1f1; border-color: #ddd; color: #bbb; }

.boton_solicitar { font-weight: 700; letter-spacing: .5px; padding: 10px 28px; }
.boton_solicitar i { margin-right: 6px; }

/* Confirmación */
.confirmacion_cita { text-align: center; padding: 30px 15px; }
.confirmacion_cita .icono_confirmacion { width: 80px; height: 80px; line-height: 80px; border-radius: 50%; background-color: #f5a7d8; color: #fff; font-size: 36px; margin: 0 auto 15px auto; }
.confirmacion_cita h3 { color: #373daa; font-size: 26px; font-weight: 400; }
.confirmacion_cita .resumen_cita { max-width: 520px; margin: 15px auto 0 auto; text-align: left; border: 1px solid #a4a6db; padding: 15px; }
.confirmacion_cita .resumen_cita .list-group-item { padding: 3px 0; }
.confirmacion_cita .resumen_cita .list-group-item strong { color: #373daa; display: inline-block; min-width: 130px; }
.confirmacion_cita .btn { margin-top: 10px; }

/* Lateral */
.tarjeta_lateral_cita { margin-top: 25px; padding: 15px; border-top: 3px solid #f5a7d8; background-color: #f8f8fc; }
.tarjeta_lateral_cita h4 { color: #373daa; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.tarjeta_lateral_cita .list-group-item { padding: 2px 0; font-size: 14px; }
.texto_rosa { color: #f5a7d8; margin-right: 4px; }

@media only screen and (max-width: 767px) {
    .confirmacion_cita .btn { display: block; margin: 10px auto 0 auto; max-width: 260px; }
}
