.dialog-type-lightbox {
    z-index: 999;
}

.elementor-field-type-formico_spf .iti {
    display: block;
    width: 100%;
    position: relative;
}

.elementor-field-type-formico_spf .iti:before,
.elementor-field-type-formico_spf .iti:after {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    background-size: cover;
    z-index: 9;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.elementor-field-type-formico_spf .iti.valid:before {
    background-image: url('data: image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="green" ><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /></svg>');
}

.elementor-field-type-formico_spf .iti.invalid:after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="red"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z" clip-rule="evenodd" /></svg>');
}


/* Signature */
.formico_signature_pad {
    width: 100%;
    display: grid;
    grid-template-columns: auto 30px;
    justify-content: start;
    align-items: end;
    gap: 5px;
}

.formico_signature_canvas {
    border: 2px dashed #dddddd;
    position: relative;
    height: 200px;
}

.formico_signature_canvas canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature_clear {
    cursor: pointer;
    width: 24px;
}