/* BASIC css start */
/* BASIC css start */

/* 팝업 뒤 까만 반투명 배경 */
#specialEvtWrap {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100vw !important; height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
}
.popup-dim {
    position: absolute !important;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6) !important;
}

/* 팝업 본체 */
#popup-event {
    position: relative !important;
    border-radius: 16px !important;
    z-index: 10000 !important;
    border: 1px solid var(--color-neutral-200) !important;
    color: white;
    letter-spacing: -1px;
}

/* 이미지 영역 둥글게 */
#popup-event dl {
    border-radius: 16px 16px 0 0 !important;
    margin:0;
}
#popup-event dt {
    text-align: center;
    padding: 0 !important;
    position: relative !important;
    border-radius: 16px 16px 0 0 !important;
    overflow: hidden !important; /* 여기로 이동 */
}
#popup-event dt div{
}
#popup-event dt p {
    display: block;
    padding: 10px 5px 12px;
    word-break: break-all;
}
#popup-event dt img,
#popup-event dt img#pop_img {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

/* 하단 버튼 영역 */
#popup-event .btn_box {
    height: 48px !important;
    background: #fff !important;
    border-radius: 0 0 16px 16px !important;
    display: flex !important;
    overflow: hidden !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 다시 보지 않기 버튼 */
#popup-event .btn_box .show_term_btn {
    width: 50% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f7f7f7 !important;
    border-right: 1px solid #e0e0e0 !important;
    color: #555 !important;
    font-size: var(--font-size-lg) !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

/* 닫기 버튼 */
#popup-event .btn_box .close_btn {
    width: 50% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    color: #555 !important;
    font-size: var(--font-size-lg) !important;
    font-weight: 500 !important;
    position: static !important;
    padding: 0 !important;
}
/* BASIC css end */
/* BASIC css end */

