/* 레거시 공개 사이트 alertLayer / confirmLayer 공통 스타일
   원본: docs/legacy/inc/css/sub_renewal.css 의 .msg_layer 블록 */
.msg_layer {
    --org: #ff6714;
    display: block;
    justify-content: center;
    align-items: center;
    overflow: auto;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    opacity: 0;
    width: 100%;
    height: 100%;
    padding: 50px 20px 80px;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    transition: 0.2s ease-in-out;
}

.msg_layer.open {
    opacity: 1;
    pointer-events: inherit;
}

.msg_layer .modal_wrap {
    display: table;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0 auto;
    table-layout: fixed;
    vertical-align: middle;
}

.msg_layer .modal_wrap .scroll_box {
    display: table-cell;
    vertical-align: middle;
}

.msg_layer .modal_wrap .modal_cont {
    position: relative;
    width: 420px;
    max-width: 100%;
    padding: 4.5rem 1.5rem;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 1rem;
    overflow: visible;
}

.msg_layer .modal_wrap .modal_cont .cont p {
    font-size: var(--p2);
    text-align: center;
    font-weight: 700;
}

.msg_layer .modal_bot_box {
    display: flex;
    justify-content: center;
}

.msg_layer .modal_bot_box .btn {
    display: inline-block;
    width: 12rem;
    height: 4rem;
    line-height: 3.9rem;
    background-color: #000;
    color: #fff;
}

.msg_layer .modal_bot_box .btn:first-child:nth-last-child(2),
.msg_layer .modal_bot_box .btn:first-child:nth-last-child(2) ~ .btn {
    width: 12rem;
}

.msg_layer .modal_top {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 4rem 2rem;
}

.msg_layer .modal_top.step {
    align-items: flex-start;
}

.msg_layer .modal_top .step {
    font-size: 16px;
    font-weight: 600;
}

.msg_layer .modal_top .step + .tit {
    margin-top: 10px;
}

.msg_layer .modal_top .tit {
    font-size: 24px;
    font-weight: 700;
}

.msg_layer .btn_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 2.5rem;
}

.msg_layer .btn_wrap .btm_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7em 2em;
    line-height: 1em;
    font-size: 15px;
    font-weight: 600;
    border-radius: 2em;
    background-color: var(--org);
    border: 1px solid var(--org);
    color: #fff;
    box-shadow: 0 0 0 transparent;
    transition: box-shadow 0.3s, background-color 0.3s, color 0.3s;
}

.msg_layer .btn_wrap .btm_btn + .btm_btn {
    margin-left: 0.7em;
}

.msg_layer .btn_wrap .btm_btn.wh {
    background-color: #fff;
    color: var(--org);
}

.msg_layer .btn_wrap .btm_btn .txt {
    font-weight: 600;
}
