.wb-modal {
    align-items: center;
    background-color: #211E207A;
    display: none;
    height: 100%;
    justify-content: center;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}
.wb-modal.show-modal {
    animation: fadeIn 0.3s ease-out forwards;
    display: flex;
}
.wb-modal.hide-modal {
    animation: fadeOut 0.3s ease-out forwards;
}
.wb-modal .modal-body {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 72px);
    max-width: 1220px;
    padding: 64px 0 16px;
    position: relative;
    width: 94.28%;
}
.wb-modal .modal-content {
    max-height: 532px;
    overflow-y: auto;
    padding: 0 9.01%;
}
.wb-modal .close-modal-btn {
    border-radius: 256px;
    cursor: pointer;
    position: absolute;
    right: 28px;
    top: 28px;
    height: 48px;
    line-height: 1;
    padding: 12px;
    transition: .3s ease-out;
    width: 48px;
}
.wb-modal .close-modal-btn:hover {
    background-color: #E0D4C8A3;
}
.wb-modal .modal-footer {
    border-top: 1px solid #E0D4C8;
    margin-top: 47px;
    padding: 16px 32px 0;
}

.wb-modal form {
    margin-top: 0;
}
.wb-modal .wbf-fields-container {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

body:has(.wb-modal.show-modal) {
    overflow: hidden;
}

@media (max-width: 767px) {
    .wb-modal .wbf-fields-container {
        flex-direction: column;
    }
}

/* Liability Release Modal */
.liability-release-modal .wbf-field-label {
    align-items: center;
    color: #385480A3;
    column-gap: 16px;
    display: flex;
    font: 500 14px var(--fontFamily);
    letter-spacing: .1px;
    line-height: 20px;
    position: relative;
}
.liability-release-modal .wbf-field-label:before {
    aspect-ratio: 1 / 1;
    border: 1px solid #E0D4C8;
    content: '';
    height: 32px;
    padding: 3px 4px 4px;
    width: 32px;
}
.liability-release-modal .wbf-field:has(input[type="checkbox"]:checked) .wbf-field-label:before {
    content: url(../img/checkmark-icon.svg);
}
.liability-release-modal .wbf-field input[type="checkbox"] {
    display: none;
}

/* Promotion Modal */
.promotion-modal .modal-body {
    max-width: 480px;
}
.promotion-modal .wbf-fields-container {
    column-gap: 48px;
}
.promotion-modal .wbf-field {
    justify-content: center;
}