.bf__alert_outer {
    background: rgba(0, 0, 0, 0.3);
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    text-align: center;
    position: fixed;
    top: 0;
    overflow: hidden;
    z-index: 1000;
}

.bf__alert {
    height: auto;
    background: #FFFFFF;
    border-radius: 8px;
    align-items: center;
    position: absolute;
    top: 30%;
    left: 50%;
    width: 400px;
    margin: 0 0 0 -200px;
    padding: 30px;
}

.bf__alert_title {
    font-size: 20px;
    font-weight: bold;
    color: #141618;
	margin:0 0 18px 0;
}

.bf__alert_content {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
}

.bf__alert_btn_confirm {
    width: 100%;
    height: 40px;
    background: #DD1029;
    border-radius: 4px;
    text-align: center;

    font-size: 18px;
    font-weight: bold;
    color: #FFFFFF;
    line-height: 40px;
    margin: 20px 0 0;
    display: inherit;
    align-items: center;
}

.bf__alert_btn_confirm:hover {
    opacity: 0.85;
}

/* ---- Info-alert variant (BOOK-11852: 1.2c / 1.2d / 1.2e) ---- */
.bf__alert_outer.bf__alert_info {
    z-index: 2147483646;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.bf__alert_outer.bf__alert_info .bf__alert {
    position: relative;
    top: auto;
    left: auto;
    width: var(--bf-alert-width, 580px);
    max-width: calc(100% - 32px);
    margin: 10vh auto 10vh;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
    border-radius: 12px;
}

.bf__alert_outer.bf__alert_info .bf__alert_title {
    text-align: center;
    margin: 0 0 20px;
    padding: 0 36px;
    font-size: 18px;
    line-height: 28px;
    min-height: 28px;
}

.bf__alert_outer.bf__alert_info .bf__alert_content {
    text-align: left;
    max-height: 60vh;
    overflow-y: auto;
    font-size: 15px;
    line-height: 22px;
    color: #141618;
}

.bf__alert_outer.bf__alert_info .bf__alert_content p {
    margin: 0 0 16px 0;
}

.bf__alert_outer.bf__alert_info .bf__alert_content p:last-child {
    margin-bottom: 0;
}

.bf__alert_outer.bf__alert_info .bf__alert_content strong {
    font-weight: 700;
}

/* Close X — top-left, aligned with title row and content left edge */
.bf__alert_outer.bf__alert_info .bf__alert_close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 28px;
    height: 28px;
    z-index: 2;
}

.bf__alert_close {
    position: absolute;
    top: 14px;
    left: 16px;
    width: 28px;
    height: 28px;
    z-index: 2;
}

.bf__alert_close:before,
.bf__alert_close:after {
    content: '';
    position: absolute;
    left: 4px;
    top: 13px;
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background-color: #141618;
}

.bf__alert_close:before {
    transform: rotate(45deg);
}

.bf__alert_close:after {
    transform: rotate(-45deg);
}

@media only screen and (max-width: 420px) {
    .bf__alert_outer.bf__alert_info .bf__alert {
        margin: 8vh auto;
        padding: 20px;
    }
    .bf__alert_outer.bf__alert_info .bf__alert_title {
        padding: 0 36px;
        margin: 0 0 16px;
    }
    .bf__alert_outer.bf__alert_info .bf__alert_close {
        top: 20px;
        left: 20px;
    }
}
