.bm__msgbox__modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99;
}

.bm__msgbox {
    display: none;
    position: fixed;
    min-width: 300px;
    max-width: 600px;
    height: 220px;
    margin: auto;
    z-index: 100;

    align-self: center;
    top: 50%;
    margin-top: -110px;

    border: 1px solid var(--msgbox-bordercolor);
    background: var(--msgbox-bg);
    border-radius: 5px;
    box-shadow: 0px 5px 5px var(--msgbox-shadow);
}

.bm__msgbox__layout {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

.bm__msgbox__title {
    display: flex;
    width: 100%;
    padding: 10px;
    background: var(--msgbox-title-bg);
}

.bm__msgbox__title__icon {
    display: flex;
    margin-right: 10px;
}
.bm__msgbox__title__icon img {
    width: 22px;
    height: 22px;
    opacity: 0.9;
}

.bm__msgbox__title__text {
    display: flex;
    margin-top: 3px;
}

.bm__msgbox__title__closebtn {
    display: flex;
    margin-left: auto;
    margin-right: 0;
}
.bm__msgbox__title__closebtn img {
    width: 22px;
    height: 22px;
    opacity: 0.7;
}
.bm__msgbox__title__closebtn img:hover {
    opacity: 1;
}

.bm__msgbox__title p {
    font-family: var(--msgbox-title-font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 20px;

    color: var(--msgbox-title-textcolor);
}

.bm__msgbox__message {
    display: flex;
    padding: 30px;
    height: 100%;
}

.bm__msgbox__message p {
    font-family: var(--msgbox-message-font-family);
    font-style: normal;
    font-weight: 400;
    font-size: 18px;

    color: var(--msgbox-message-textcolor);
}

.bm__msgbox__buttons {
    display: flex;
    align-self: center;
}

.bm__msgbox__buttons input[type=button] {
    margin: 10px;
    width: 92px;
    height: 34px;
    font-family: var(--msgbox-button-font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    color: var(--msgbox-button-textcolor);
    background: var(--msgbox-button-bg);
    border: 1px solid var(--msgbox-button-bordercolor);
    cursor: pointer;
    border-radius: 4px;
}

.bm__msgbox__buttons input[type=button]:hover {
    border: 1px solid var(--msgbox-button-bordercolor-hover);
    background: var(--msgbox-button-bg-hover);
}