:root {
    --ri-selected-border-color: #220ed2;
    --ri-selected-background-color:#fff;
    --ri-selected-text-color:#0b0404f3;
    --ri-hover-border-color:#fff;
    --ri-image-icon-size:100px;
    --ri-field-gap:5px;
    --ri-field-min-width:20%;
    --ri-field-padding:20px;
}

.image-radio-label {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: var(--ri-field-padding);
    min-width:var(--ri-field-min-width);
    width: auto;
    gap:5px;
    border-radius: 8px;
    margin-bottom:var(--ri-field-gap);
    margin-right:var(--ri-field-gap);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}


.ehp-form__wrapper .is-field-type-image_radio.ehp-form__field-group .elementor-field-subgroup label.image-radio-label.elementor-field:hover {
    border-color: var(--ri-hover-border-color);
}

.image-radio-label img{
    width: var(--ri-image-icon-size); 
    max-height: 100px; 
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.image-radio-label svg{
    width: var(--ri-image-icon-size);
    height: var(--ri-image-icon-size);
}

.image-radio-label i{
    font-size:var(--ri-image-icon-size);
}

.image-radio-label input {
    display: none;
}

.is-field-type-image_radio.ehp-form__field-group .elementor-field-subgroup label.image-radio-label.elementor-field:has(input[type="checkbox"]:checked),
.is-field-type-image_radio.ehp-form__field-group .elementor-field-subgroup label.image-radio-label.elementor-field:has(input[type="radio"]:checked){
    border-color:var(--ri-selected-border-color);
    background-color: var(--ri-selected-background-color);
    color:var(--ri-selected-text-color);
}

.is-field-type-image_radio .image-radio-label{
    background-color: white;
}

.image-radio-label .label-content {
    flex: 1;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.image-radio-label.horizontal {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.image-radio-label.vertical {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:10px;
}
