.dialog-mask {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .42);
}

.dialog-mask.is-open {
    display: flex;
}

.dialog {
    width: min(100%, 320px);
    padding: 42px 22px 32px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .26);
    text-align: center;
}

.dialog-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fe5d5d 0%, #d21818 100%);
    color: #fff;
    font-size: 36px;
    line-height: 1;
}

.dialog-mask.is-success .dialog-icon {
    background: linear-gradient(180deg, #4dbb77 0%, #14964a 100%);
}

.dialog-title {
    margin: 0 0 20px;
    color: #111;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    text-align: center;
    white-space: pre-line;
}

.dialog-title .benefit-lines {
    display: block;
    margin: 8px 0;
    color: #d21818;
    font-size: 19px;
    line-height: 1.45;
}

.dialog-message {
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}

.dialog-message.contact {
    color: #555;
    font-size: 12px;
    line-height: 1.55;
}

.dialog-message .contact-id {
    color: #d21818;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dialog-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    margin-top: 28px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #fe5d5d 0%, #d21818 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.dialog-button:disabled {
    cursor: default;
    opacity: .72;
}
