/* Opaque checkboxes independent of background-image loading and optimisation. */
.wpcf7 .wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label {
    background-image: none !important;
}

.wpcf7 .wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label::before {
    background: #fff !important;
    border: 1px solid #751755;
    border-radius: 2px;
    box-sizing: border-box;
}

.wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
    background: #751755 !important;
    border-color: #751755;
}

.wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    pointer-events: none;
}

.wpcf7 .wpcf7-checkbox input[type="checkbox"]:focus-visible + .wpcf7-list-item-label::before {
    outline: 2px solid #3b647b;
    outline-offset: 3px;
}

html.ict-form-confirmation-open {
    overflow: hidden;
}

.ict-form-confirmation:not([open]) {
    display: none;
}

.ict-form-confirmation {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(520px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    overflow: auto;
    box-sizing: border-box;
    border: 0;
    border-top: 6px solid #751755;
    border-radius: 12px;
    padding: 32px;
    background: #fff;
    color: #3b647b;
    box-shadow: 0 20px 70px rgb(0 0 0 / 25%);
    text-align: center;
    font-family: inherit;
}

.ict-form-confirmation::backdrop {
    background: rgb(23 39 49 / 65%);
}

.ict-form-confirmation__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #751755;
    color: #fff;
    font-size: 32px;
    line-height: 1;
}

.ict-form-confirmation .ict-form-confirmation__title {
    margin: 0 0 16px;
    padding: 0;
    color: #751755;
    font-size: clamp(24px, 5vw, 32px);
    line-height: 1.2;
    font-weight: 700;
    text-transform: none;
}

.ict-form-confirmation .ict-form-confirmation__message {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.5;
    white-space: pre-line;
}

.ict-form-confirmation .ict-form-confirmation__close {
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 12px 28px;
    border: 2px solid #751755;
    border-radius: 6px;
    background: #751755;
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
    cursor: pointer;
}

.ict-form-confirmation .ict-form-confirmation__close:hover {
    background: #fff;
    color: #751755;
}

.ict-form-confirmation .ict-form-confirmation__close:focus-visible {
    outline: 3px solid #3b647b;
    outline-offset: 4px;
}

@media (max-width: 480px) {
    .ict-form-confirmation {
        padding: 24px 20px;
    }
}
