.cf-field-radio .u4u-choice-heading,
.cf-field-checkbox .u4u-choice-heading {
    margin-bottom: 12px;
}

.cf-field-radio .u4u-choice-heading h3,
.cf-field-checkbox .u4u-choice-heading h3 {
    margin: 0;
}

.cf-field-radio .u4u-choice-link,
.cf-field-checkbox .u4u-choice-link {
    position: relative;
    z-index: 3;
    color: inherit;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    pointer-events: auto;
}

.cf-field-radio .wpcf7-list-item.has-free-text,
.cf-field-checkbox .wpcf7-list-item.has-free-text {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.cf-field-radio .wpcf7-list-item.has-free-text > label,
.cf-field-checkbox .wpcf7-list-item.has-free-text > label {
    position: relative;
    z-index: 2;
    width: max-content;
    max-width: 100%;
}

.cf-field-checkbox .wpcf7-list-item.has-free-text > label > input[type="checkbox"] {
    inset: 0;
    width: 100%;
    height: 100%;
}

.cf-field-radio .u4u-custom-answer-input,
.cf-field-checkbox .u4u-custom-answer-input {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--Black-100, #e7e7e7);
    border-radius: 1000px;
    outline: 0;
    background: var(--White, #fff);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    color: var(--Black-700, #4f4f4f);
    font: inherit;
    line-height: 140%;
}

.cf-field-radio .wpcf7-list-item.has-free-text.u4u-custom-answer-long-label,
.cf-field-checkbox .wpcf7-list-item.has-free-text.u4u-custom-answer-long-label {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.cf-field-radio .wpcf7-list-item.has-free-text.u4u-custom-answer-long-label > label,
.cf-field-checkbox .wpcf7-list-item.has-free-text.u4u-custom-answer-long-label > label {
    width: 100%;
}

.cf-field-radio .wpcf7-list-item.has-free-text.u4u-custom-answer-long-label > .u4u-custom-answer-input,
.cf-field-checkbox .wpcf7-list-item.has-free-text.u4u-custom-answer-long-label > .u4u-custom-answer-input {
    width: calc(100% - 32px);
    margin: 10px 0 0 32px;
}

.cf-field-radio .u4u-custom-answer-input:focus,
.cf-field-checkbox .u4u-custom-answer-input:focus {
    border-color: var(--Black-200, #d1d1d1);
}

.cf-field-radio.is-error .wpcf7-list-item.has-free-text:has(input[type="radio"]:checked) > .u4u-custom-answer-input,
.cf-field-checkbox.is-error .wpcf7-list-item.has-free-text:has(input[type="checkbox"]:checked) > .u4u-custom-answer-input {
    border-color: #ff4d4f;
}

.cf-field-file .codedropz-upload-handler,
.cf-field-file .codedropz-upload-container,
.cf-field-file .codedropz-upload-inner {
    cursor: pointer;
}

.cf-field-file .codedropz-upload-handler {
    width: 100%;
}

.cf-field-file .dnd-upload-status + .dnd-upload-status {
    margin-top: 8px;
}

.cf-field-file .codedropz-upload-wrapper .dnd-upload-status .dnd-upload-details .remove-file {
    z-index: 4;
    cursor: pointer;
    pointer-events: auto;
}

.cf-field-file .codedropz-upload-wrapper .dnd-upload-status .dnd-upload-details .remove-file .dnd-icon-remove {
    pointer-events: none;
}

.cf-field-file .codedropz-upload-wrapper .dnd-upload-status .remove-file.is-deleting {
    opacity: 0.45;
    pointer-events: none;
}
