dialog {
    position: fixed;
    max-inline-size: 684px;
    inline-size: 100%;
    top: 0;
    border-radius: 16px;
    left: 0;
    border: none;
    padding: 32px;
    background-color: #FFFFFF;
    color: #000000;
    text-align: left;
}

h5 {
    font-size: 1.625rem;
    line-height: 1.2;
    font-weight: 400;
}

.openDialogBtn {
    border: 0;
    font-weight: 300;
    font-family: inherit;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
}

.closeDialogBtn {
    display: block;
    position: absolute;
    border: 0;
    padding: 0;
    block-size: 38px;
    inline-size: 38px;
    background-color: transparent;
    border-radius: 8px;
    right: -45px;
}

.dialog__wrapper p {
    font-size: 16px;
    margin-block-end: 16px;
}

.dialog__wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.scroll-lock {
    overflow: hidden;
}