/* Hide the original checkmark */
selector .elementor-field-type-acceptance input[type="checkbox"] {
position: absolute;
opacity: 0;
}
/* Style the checkmark container */
selector .elementor-field-type-acceptance input[type="checkbox"] + label::before {
content: "";
display: inline-block;
margin-right: 10px;
width: 20px;
height: 20px;
border: 1px solid rgba(255, 255, 255, 0.2);
background-color: #ffffff00;
text-align: center;
line-height: 20px;
transition: all 0.3s ease;
}
/* Style the checkmark */
selector .elementor-field-type-acceptance input[type="checkbox"]:checked + label::before,
selector .elementor-field-type-acceptance input[type="checkbox"]:hover + label::before {
content: "\2713";
font-size: 16px;
color: rgba(255, 255, 255, 0.5);
background-color: #EA5B0C;
}
selector .elementor-field-type-acceptance input[type="checkbox"]:checked + label::before {
color: rgba(255, 255, 255, 1);
}
/* Associate the label with the checkbox and style it */
selector.elementor-field-type-acceptance input[type="checkbox"] + label {
display: inline-block;
cursor: pointer;
width: 120px;
}
/* Hide the original text of the label */
selector .elementor-field-type-acceptance input[type="checkbox"] + label span {
display: none;
}
/* Center the checkmark vertically and horizontally */
selector .elementor-field-type-acceptance label::before {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: -4px;
}