:root {
    --main-color: #6D00E2;
    --error-color: #FF5757;
    --success-color: #2D67FF;
}


/* pc */
#base_wrap {
    position: relative;
    width: 100%;
    /* height: 100vh;
    overflow-y: auto; */
}

/* 화면 100% 맞춰서 높이 조절 */
#base_wrap>div.adjust_height {
    min-height: calc(100% - 82px);
}

body.scroll-lock {
    overflow: hidden;
}

.scroll-lock {
    overflow-y: hidden;
}

.inner {
    /* width는 임시값 */
    max-width: 1632px;
    padding: 0 16px;
    margin: 0 auto;
}

/* 배달 리스트, 마이페이지 위아래 공통 패딩 */
.main_container {
    padding: 50px 0;
}

/* 일시적인 숨김, 일시적인 표시 일때 control class */
.hide {
    display: none !important;
}

/* 반응형 display control */
.is_mobile {
    display: none;
}


.scroll-no {
    /* 인터넷 익스플로러 스크롤바 삭제 */
    -ms-overflow-style: none;
    /* 파이어폭스 스크롤바 삭제 */
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

/* ( 크롬, 사파리, 오페라, 엣지 ) 스크롤바 삭제 */
.scroll-no::-webkit-scrollbar {
    /* 가로 스크롤바 숨기기 */
    width: 0;
    /* 세로 스크롤바 숨기기 */
    height: 0;
    display: none;
}

/* 텍스트 ... 처리 */
.text_reduce {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 타이틀 */
.title_hr_area {
    padding: 7px 8px;
    padding-bottom: 14px;
    border-bottom: 3px solid #222;
}

.title_hr_area .title_text {
    font-size: 22px;
    font-weight: 700;
}

/* btn */
.btn_default {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #AAA;
    background-color: transparent;
    color: #222;
    border-radius: 4px;
}

.btn_default.border_main {
    border-color: var(--main-color);
    color: var(--main-color);
}

/* 연한메인배경깔린  */
.btn_default.border_main.in_bg {
    background-color: #F7F5FE;
}

.btn_default.border_blue {
    border-color: var(--success-color);
    color: var(--success-color);
}

.btn_default.border_red {
    border-color: var(--error-color);
    color: var(--error-color);
}

.btn_default.fill_green {
    border-color: #00CA67;
    background-color: #00CA67;
    color: #FFF;
}

.btn_default.fill_gray {
    border-color: #5E5E5E;
    background-color: #5E5E5E;
    color: #FFF;
}

.btn_default.fill_main {
    border-color: var(--main-color);
    background-color: var(--main-color);
    color: #FFF;
}

.btn_default.fill_blue {
    border-color: var(--success-color);
    background-color: var(--success-color);
    color: #fff;
}


.box_white {
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
}

/* 검색input + 버튼 */
.search_area {
    position: relative;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.search_area .edk_custom_input {
    width: 100%;
}

.search_area .btn_search {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    max-width: 56px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;

}

.search_area .btn_search .img_wrap {
    width: 24px;
    position: relative;
    overflow: hidden;
}

.search_area .btn_search .img_wrap::after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.search_area .btn_search .img_wrap img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    object-fit: cover;
}


/* pagination */
.pagination {
    padding-top: 50px;
    /* padding-bottom: 100px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .arrow_btn {
    background-color: transparent;
    width: 28px;
    padding: 0;
    display: flex;
}

.pagination .page_btn {
    background-color: transparent;
    padding: 6px 12px;
    border-radius: 9px;
    font-size: 18px;
    color: #222;
}

.pagination .page_btn.active {
    background-color: #F5F5F9;
}

/* 배달, 마이페이지 일부 리스트 공통사항 */
.common_list li .item_wrap {
    display: flex;
    align-items: center;
}

.common_list.no_header {
    border-top: 2px solid #BBBBBB;
    border-bottom: 2px solid #BBBBBB;
}

.common_list.no_header li:not(:last-child) {
    border-bottom: 1px solid #BBBBBB;
}

.common_list li.list_header {
    border-bottom: 2px solid #BBBBBB;
    color: #5E5E5E;
    font-weight: 700;

    /* 패딩개별 */
}

.common_list:not(.no_header) li.list_item {
    border-bottom: 1px solid #BBBBBB;
    /* 패딩개별 */
}

div:where(.swal2-container) .swal2-html-container .str_red {
    font-weight: 700;
    color: var(--error-color);
}

/* tablet */
@media screen and (max-width: 1023px) {

    /* 화면 100% 맞춰서 높이 조절 */
    #base_wrap>div.adjust_height {
        min-height: calc(100% - 82px);
    }

    /* 반응형 display control */
    .is_pc {
        display: none !important;
    }

    .is_mobile {
        display: block;
    }

    .is_mobile.flex {
        display: flex;
    }
}

/* mobile */
@media screen and (max-width: 767px) {

    /* 화면 100% 맞춰서 높이 조절 */
    #base_wrap>div.adjust_height {
        min-height: calc(100% - 82px);
    }
}

.drink_alert_msg {
    display: block;
    margin-bottom: 10px;
    color: var(--error-color);
    font-size: 18px;
    text-align: center;
    background-color: #f8ffcb;
    padding: 4px 0;
}

.POPUPIMGVIEWER {
    line-height: 0;
}



.scrollPopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1200;
    justify-content: center;
    align-items: center;
}

.scrollPopup>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.scrollPopup>div>img {
    width: 80px;
}

.scrollPopup>div>p {
    font-size: 20px;
    color: white;
    text-align: center;
}