.local-modal-close {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    color: #344767;
    background: transparent;
    opacity: .65;
    transition: color .15s ease, background-color .15s ease, opacity .15s ease;
}

.local-modal-close:hover,
.local-modal-close:focus-visible {
    color: #5131da;
    background: rgba(81, 49, 218, .08);
    opacity: 1;
}

.local-modal-close:focus-visible {
    outline: 2px solid rgba(81, 49, 218, .35);
    outline-offset: 2px;
}

.local-modal-close__icon {
    display: block;
    width: 14px;
    height: 14px;
    background-color: currentColor;
    -webkit-mask: url('/assets/icons/common/close.svg') center / contain no-repeat;
    mask: url('/assets/icons/common/close.svg') center / contain no-repeat;
}

/* Soft UI uses a Font Awesome glyph for checkbox ticks. Keep the tick local. */
.form-check:not(.form-switch) .form-check-input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 46%;
    left: 50%;
    display: block;
    width: .32rem;
    height: .58rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    background: transparent;
    opacity: 0;
    transform: translate(-50%, -55%) rotate(45deg);
    transition: opacity .15s ease-in-out;
}

.form-check:not(.form-switch) .form-check-input[type="checkbox"]:checked::after {
    opacity: 1;
}
