/* ==================== APPOINTMENT FORM STYLES ==================== */
#appointmentForm .form-control.is-invalid,
#appointmentForm .form-select.is-invalid {
    border: 2px solid var(--danger) !important;
    background-image: none;
}

#appointmentForm .form-control.is-valid,
#appointmentForm .form-select.is-valid {
    border: 2px solid var(--success) !important;
    background-image: none;
}

#appointmentForm .field-error {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
    line-height: 1.3;
    font-weight: 500;
    color: #FFD700;
}

#appointmentForm .form-check-input {
    cursor: pointer;
}

#appointmentForm .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

#ap-submitBtn {
    position: relative;
    min-width: 220px;
}

#ap-submitBtn .ap-btn-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#appointmentForm .hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

#ap-formSuccess {
    background: #d1e7dd;
    color: #0f5132;
    border: none;
    border-left: 4px solid #198754;
    border-radius: 8px;
    padding: 18px 22px;
    font-size: 15px;
}

#ap-formError {
    background: #f8d7da;
    color: #842029;
    border: none;
    border-left: 4px solid #dc3545;
    border-radius: 8px;
    padding: 18px 22px;
    font-size: 15px;
}