/* Estilos para resaltar campos faltantes sobre fondo oscuro */
.missing-field-highlight {
    border: 2px solid #ff5252 !important;
    box-shadow: 0 0 8px #ff5252 !important;
    background-color: rgba(255, 82, 82, 0.1) !important;
}

/* Agrega animación para llamar la atención */
@keyframes pulse-border {
    0% {
        border-color: #ff5252;
        box-shadow: 0 0 5px #ff5252;
    }

    50% {
        border-color: #ff0000;
        box-shadow: 0 0 12px #ff0000;
    }

    100% {
        border-color: #ff5252;
        box-shadow: 0 0 5px #ff5252;
    }
}

/* Aplica la animación a los campos faltantes */
.missing-field-highlight {
    animation: pulse-border 1.5s infinite;
}

/* Estilo específico para el botón de confirmar */
button.confirm-btn.disabled-btn {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Ajustar el ancho del campo de comentarios */
#note, textarea[name="note"] {
    width: 100% !important;
}

/* Ajustar el divisor para subirlo al mismo nivel de los contenedores */
.appointment-separator {
    margin-top: -20px !important;
    margin-bottom: 10px !important;
    border-top: 1px solid #e0e0e0;
}

/* Hacer el contenedor del calendario más grande (doble más largo) */
#appointment-schedule, .flatpickr-calendar {
    min-height: 400px !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Mejorar visualización de los días del calendario */
.flatpickr-day {
    height: 50px !important;
    line-height: 50px !important;
    border-radius: 5px !important;
    margin: 2px !important;
}

/* Estilos simples para día actual (hoy) */
.flatpickr-day.today,
.flatpickr-day.today.flatpickr-disabled,
.flatpickr-day.today.disabled {
    position: relative;
}

/* Solo añadir un punto rojo para el día actual */
.flatpickr-day.today:after,
.flatpickr-day.today.flatpickr-disabled:after,
.flatpickr-day.today.disabled:after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ff0000;
    border-radius: 50%;
    width: 6px;
    height: 6px;
}

/* Estilos para los botones de hora */
.hora-btn, .hora-boton {
    background-color: #000 !important;
    color: #FFF !important;
    border: 1px solid #C6C6C6 !important;
    border-radius: 4px !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    font-weight: bold !important;
    cursor: pointer;
}

/* Estilos para el mensaje de hora seleccionada */
#hora-seleccionada-msg {
    margin-top: 15px !important;
    padding: 10px !important;
    background-color: #000 !important;
    color: #1ef1c6 !important;
    border: 1px solid #1ef1c6 !important;
    border-radius: 5px !important;
    text-align: center !important;
    animation: pulse 2s infinite !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(30, 241, 198, 0.4);
    }

    70% {
        box-shadow: 0 0 0 5px rgba(30, 241, 198, 0);
    }

    100% {
        box-shadow: 0 0 0 0px rgba(30, 241, 198, 0);
    }
}

/* Estilo para el checkmark en botón seleccionado */
.checkmark {
    position: absolute !important;
    top: -10px !important;
    right: -10px !important;
    background-color: #000 !important;
    color: #1ef1c6 !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: bold !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5) !important;
    display: none !important;
}

/* Asegurarse que los íconos de error sean muy visibles */
.field-error-icon {
    margin-left: 10px;
    vertical-align: middle;
    display: inline-block;
}

/* Mejorar la visibilidad de texto en los campos de entrada */
.style,
select.style,
input.style,
textarea.style {
    color: #949494 !important;
    border: 1px solid #C6C6C6 !important;
    font-size: 16px;
}

/* Estilos específicos para el textarea */
textarea.style {
    padding: 8px;
    resize: vertical;
    min-height: 100px;
}

/* Estilo para opciones en los selectores */
select.style option {
    background-color: #232323;
    color: #ffffff;
}

/* Placeholder más visible */
::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1;
}

/* Texto seleccionado en dropdown */
select.style:focus,
input.style:focus {
    box-shadow: 0 0 5px #1ef1c6 !important;
    border-color: #1ef1c6 !important;
}