/*전 페이지 공통*/
input,
textarea{
    cursor: text;
    resize: none;
}
select,
select option,
button,
button *,
a img,
a p,
a{
    cursor: pointer;
}
button,
img{
    display: inline-block;
}
button[disabled]{
    cursor: default;
    background-color: #E7E7E7!important;
    color: #686868;
    font-weight: normal;
}
input,
textarea,
button,
select,
a,
label{
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
select::-ms-expand { 
	display: none;
}
select {
    color: #191919;
    -o-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
/* input search */
input::-ms-clear,
input::-ms-reveal{
	display:none;width:0;height:0;
}
input::-webkit-search-decoration,
input::-webkit-search-cancel-button,
input::-webkit-search-results-button,
input::-webkit-search-results-decoration{
	-webkit-appearance: none;
    /* background: url('/assets/img/icon/delete_icon_wh.svg') center center no-repeat; */
    cursor: pointer;
    width: 16px;
    height: 16px;
    border-radius: 8px;
    background-color: #C8C8C8;
}

input::-webkit-calendar-picker-indicator {
    display: none !important;
}

input[type="radio"],
input[type="checkbox"] {
    -webkit-appearance: none; /* 웹킷 브라우저에서 기본 스타일 제거*/
    -moz-appearance: none; /* 모질라 브라우저에서 기본 스타일 제거*/ 
    appearance: none; /*기본 브라우저에서 기본 스타일 제거*/
}

body,
* a {color: #191919;}

input::placeholder {color: #999;}
input:read-only,
textarea:read-only {
    background-color: #F5F5F5;
    color: #686868;
}
body {background-color: #F0F0F0;}

* {box-sizing: border-box;}


/* 스크롤바 커스텀 */
::-webkit-scrollbar {
    width: 6px;  /* 스크롤바의 너비 */
}
::-webkit-scrollbar-thumb {
    /* height: 30%; 스크롤바의 길이 */
    background: #707070; /* 스크롤바의 색상 */
    border-radius: 10px;
}
::-webkit-scrollbar-track {
    background: #dfdfdf;  /*스크롤바 뒷 배경 색상*/
    border-radius: 10px;
}


/* align */
.display_block {display: block;}
.display_grid {display: grid;}
.display_flex {display: flex;}
.flex_wrap {flex-wrap: wrap;}
.flex_nowrap {flex-wrap: nowrap;}
.flex_start {justify-content: flex-start;}
.flex_center {justify-content: center;}
.flex_end {justify-content: flex-end;}
.flex_between {justify-content: space-between;}
.flex_around {justify-content: space-around;}
.flex_align_s {align-items: flex-start;}
.flex_align_c {align-items: center;}
.flex_align_e {align-items: flex-end;}
.flex_align_str {align-items: stretch;}
.flex_dir_column {flex-direction: column;}


/* background color */
.bg-m {background-color: #6C5CE7;}
.bg-rg {background-color: #E7E7E7;}
.bg-w {background-color: #fff;}

/* font color */
.txt-m {color: #6C5CE7;}
.txt-dg_01 {color: #2E2E2E;}
.txt-dg_02 {color: #545454;}
.txt-gray {color: #686868;}
.txt-lg {color: #A5A5A5;}
.txt-w {color: #fff;}
.txt-red {color: #F70000;}
/* room color */
.txt-room_01 {color: #5b5b5b;}
.txt-room_02 {color: #909090;}

/* font weight  */
.txt-light {font-weight: 300;}
.txt-medium {font-weight: 500;}
.txt-bold {font-weight: 600;}
.txt-extra {font-weight: 700;}

/* font align */
.txt-center {text-align: center;}

.box-shadow {box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.05);}
.border {border: 1px solid #EEEEEE;}
.radius {border-radius: 6px;}

.btn {
    background-color: #6C5CE7;
    color: #fff;
    width: 100%;
    height: 52px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s;
}
.btn:hover {
    background-color: #A296F8;
}

.btn-border {
    display: block;
    border: 1px solid #6C5CE7;
    color: #6C5CE7;
    background-color: #fff;
    border-radius: 8px;
    margin: 22px auto;
    width: 170px;
    line-height: 46px;
    font-weight: bold;
    transition: all 0.3s;
}
.btn-border:hover {
    border-color: #A296F8;
    color: #A296F8;
}

.input {
    border-radius: 8px;
    border: 1px solid #EEEEEE;
    width: calc(100% - 24px);
    padding: 0 12px;
    height: 52px;
    font-size: 14px;
}
.input:focus {
    border-color: #6C5CE7;
}

/* scroll */
.scrollBox {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
.scrollBox::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}



/* 헤더 임시 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 50;
}

header .inner {
    border-bottom: 1px solid #DFDFDF;
    background-color: #fff;
    padding: 0 6px;
    height: 60px;
}

header p.title {
    line-height: 60px;
}

header .back {
    width: 40px;
    height: 40px;
    padding: 8px;
    background-color: transparent;
    margin-right: 10px;
}

header .back.left {
    position: absolute;
    top: 10px;
    left: 6px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background-color: transparent;
}



/* section 공통 */
.main_wrap {
    width: 100%;
    height: 100%;
    font-weight: 500;
}
.main_wrap > .inner {
    background-color: #fff;
    width: 100%;
    height: 100dvh;
    margin: 0 auto;
    font-weight: 400;
    font-size: 16px;
    max-width: 700px;
    position: relative;
    box-sizing: border-box;
}

.main_wrap .container {
    position: relative;
    z-index: 6;
    padding: 60px 20px;
    height: 100%;
    box-sizing: border-box;
}

/* signup checkbox */
.checkbox input[type="checkbox"] {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #AEAEAE;
    cursor: pointer;
}
.checkbox input[type="checkbox"]:checked {
    background: url('/asseta/img/ico_check.png') no-repeat;
    background-position: center;
    background-color: #6C5CE7;
    border: none;
}

/* filter checkbox */
.checkbox-wrap {
    gap: 8px;
}
.filter-check input[type="checkbox"],
.filter-check input[type="radio"] {
    display: none;
}
.filter-check input[type="checkbox"] + span,
.filter-check input[type="radio"] + span {
    display: block;
    width: 76px;
    padding: 10px 0;
    border: 1px solid #E7E7E7;
    border-radius: 6px;
    font-size: 12px;
    color: #545454;
    text-align: center;
    cursor: pointer;
}

.filter-check input[type="checkbox"]:checked + span,
.filter-check input[type="radio"]:checked + span {
    background-color: #6C5CE7;
    border: none;
    color: #fff;
    font-weight: 600;
}


/* 기본 radio style */
.radio input[type="radio"] {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #D9D9D9;
    margin-bottom: 6px;
    cursor: pointer;
}

.radio input[type="radio"]:checked {
    border-color: #6C5CE7;
    position: relative;
}

.radio input[type="radio"]:checked::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #6C5CE7;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}




/* tap bar */
.tap-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.05);
}
.tap-bar ul {
    width: 100%;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
}
.tap-bar ul li {
    width: 20%;
    height: 60px;
    position: relative;
}
.tap-bar ul li a {
    width: 100%;
    height: 100%;
    background-color: #fff;
    font-size: 12px;
    color: #888888;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.tap-bar ul li a .icon {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
}

.tap-bar ul li.tap01 .icon {
    background: url('/asseta/img/ico_tap01.svg') no-repeat;
}
.tap-bar ul li.tap02 .icon {
    background: url('/asseta/img/ico_tap02.svg') no-repeat;
}
.tap-bar ul li.tap03 .icon {
    background: url('/asseta/img/ico_tap03.svg') no-repeat;
}
.tap-bar ul li.tap04 .icon {
    background: url('/asseta/img/ico_tap04.svg') no-repeat;
}
.tap-bar ul li.tap05 .icon {
    background: url('/asseta/img/ico_tap05.svg') no-repeat;
}

/* tap on */
.tap-bar ul li::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    border-radius: 10px;
    background-color: #6C5CE7;
    transition: width 0.3s ease;
}
.tap-bar ul li:hover::before,
.tap-bar ul li.on::before {
    width: calc(100% - 24px);
}

.tap-bar ul li.on a {
    color: #6C5CE7;
    font-weight: bold;
}
.tap-bar ul li.tap01.on .icon {
    background: url('/asseta/img/ico_tapOn01.svg') no-repeat;
}
.tap-bar ul li.tap02.on .icon {
    background: url('/asseta/img/ico_tapOn02.svg') no-repeat;
}
.tap-bar ul li.tap03.on .icon {
    background: url('/asseta/img/ico_tapOn03.svg') no-repeat;
}
.tap-bar ul li.tap04.on .icon {
    background: url('/asseta/img/ico_tapOn04.svg') no-repeat;
}
.tap-bar ul li.tap05.on .icon {
    background: url('/asseta/img/ico_tapOn05.svg') no-repeat;
}




.like-room-box {
    background-color: #fff;
    padding-bottom: 50px;
}
.like-room-box li {
    padding: 15px 0;
    border-bottom: 1px solid #EAEAEA;
    position: relative;
}
.like-room-box li.no-data {
    border: none;
    font-size: 16px;
    padding: 40px 0;
}

.like-room-box li .like-btn {
    position: absolute;
    top: 91px;
    left: 130px;
    width: 34px;
    height: 34px;
    background-color: transparent;
}

.like-room-box li a .room-img {
    width: 164px;
    min-width: 164px;
    height: 110px;
    overflow: hidden;
    border-radius: 4px;
}

.like-room-box li a .room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.like-room-box li a .room-txt {
    padding: 8px 0 0 12px;
    font-size: 12px;
    min-width: 0;
    width: 100%;
}

.like-room-box li a .room-txt .tit {
    font-size: 16px;
    margin-bottom: 10px;
}

.like-room-box li a .room-txt .txt02 {
    margin: 6px 0 4px;
}

.like-room-box li a .room-txt .txt03 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* form box */
.form-box ul li {
    margin-bottom: 32px;
}

.form-box > ul > li > p.tit {
    font-size: 15px;
    margin-bottom: 8px;
}


/* select */
.select-box {
    border: 1px solid #E7E7E7;
    background-color: #fff;
    border-radius: 6px;
    position: relative;
    width: 106px;
    height: 34px;
    overflow: hidden;
}

.select-box img {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.select-box select {
    width: 100%;
    height: 100%;
    padding: 0 10px 0 14px;
    font-size: 12px;
    font-weight: 500;
    background-color: #fff;
}


/* event banner */
.eventSwiper {
    width: 100%;
    height: 24.5232vw;
    max-height: 140px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    margin: 20px 0 10px;
}

.eventSwiper.box-shadow {
    margin-top: 12px;
}

.eventSwiper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eventSwiper .swiper-pagination {
    width: 50px;
    height: 22px;
    border-radius: 4px;
    bottom: 10px;
    right: 12px;
    left: auto;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 12px;
    line-height: 22px;
}


/* popup */
.popup_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 51;
}

.pop-con {
    width: calc(100% - 40px);
    max-width: 380px;
    padding: 50px 30px 0 30px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 51;
    overflow: hidden;
}

.pop-con .t-main {font-size: 18px;}

.pop-con .t-sub {margin: 12px 0 50px 0;}

.pop-con .btn-box {
    /* gap: 14px; */
    width: calc(100% + 60px);
    margin-left: -30px;
}

.pop-con button {
    width: 50%;
    height: 54px;
    margin: 0;
    border-radius: 0;
    font-weight: 500;
    font-size: 15px;
}

.pop-con button.cancel-btn {
    border: none;
    background-color: #F1F1F1;
    color: #888888;
}


.modal_popup.alert .btn {
    width: 100%;
}

/* 약관 terms */
.modal_popup.terms .pop-con,
.modal_popup.popup_type2 .pop-con {
    height: calc(100% - 40px);
    padding: 0 14px 20px 14px;
    overflow: hidden;
}

.modal_popup.terms .pop-head,
.modal_popup.popup_type2 .pop-head {
    width: calc(100% + 28px);
    margin-left: -14px;
    height: 54px;
    padding: 0 14px;
    border-bottom: 1px solid #D4D4D4;
    background-color: #fff;
}

.modal_popup.terms .pop-con .close_btn,
.modal_popup.popup_type2 .pop-con .close_btn {
    width: 40px;
    height: 40px;
    background-color: transparent;
}

.modal_popup.popup_type2 .pop-head h3 {
    font-size: 17px;
}

.modal_popup.popup_type2 .pop-con .terms_con {
    width: calc(100% + 28px);
    margin-left: -14px;
    padding: 0 14px;
    padding-top: 20px;
    height: calc(100% - 60px);
}


/* 이미지 팝업 */
.modal_popup#imagePopup > img {
    max-width: 90%;
    max-height: 90%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 52;
    border: 1px solid #909090;
    border-radius: 4px;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.5); */
}

.modal_popup#imagePopup button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 52;
    background-color: rgba(0, 0, 0, 0.5);
}




/* 404 page */
.main_wrap.error p {
    font-size: 15px;
    line-height: 1.4;
}
.main_wrap.error .text-01 {font-size: 30px;}

.main_wrap.error .text-02 {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 10px;
}
.main_wrap.error .text-02 img {
    display: inline-block;
    width: 24px;
    margin-right: 10px;
}
.main_wrap.error .text-03 {
    margin-bottom: 6px;
}
.main_wrap.error .container a {
    height: auto;
    background-color: #6C5CE7;
    margin: 30px auto 0;
    max-width: 300px;
}
.main_wrap.error .main-img {
    bottom: 0;
}



/* 로딩 스피너 */
.spinner-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.spinner-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 3;
}

.spinner-inner > p {
    color: #fff;
    padding-top: 65px;
}

.spinner {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-left: -20px;
    width: 40px;
    height: 40px;
    animation: spin 1.4s linear infinite;
}

.bar {
    position: absolute;
    width: 4px;
    height: 6px;
    background: #fff;
    top: 2px;
    left: 50%;
    border-radius: 3px;
    opacity: 0.15;
    transform-origin: center 18px;
}

.bar:nth-child(1)  { transform: translateX(-50%) rotate(0deg); opacity: 1; }
.bar:nth-child(2)  { transform: translateX(-50%) rotate(30deg); opacity: 0.92; }
.bar:nth-child(3)  { transform: translateX(-50%) rotate(60deg); opacity: 0.84; }
.bar:nth-child(4)  { transform: translateX(-50%) rotate(90deg); opacity: 0.76; }
.bar:nth-child(5)  { transform: translateX(-50%) rotate(120deg); opacity: 0.68; }
.bar:nth-child(6)  { transform: translateX(-50%) rotate(150deg); opacity: 0.60; }
.bar:nth-child(7)  { transform: translateX(-50%) rotate(180deg); opacity: 0.52; }
.bar:nth-child(8)  { transform: translateX(-50%) rotate(210deg); opacity: 0.44; }
.bar:nth-child(9)  { transform: translateX(-50%) rotate(240deg); opacity: 0.36; }
.bar:nth-child(10) { transform: translateX(-50%) rotate(270deg); opacity: 0.28; }
.bar:nth-child(11) { transform: translateX(-50%) rotate(300deg); opacity: 0.20; }
.bar:nth-child(12) { transform: translateX(-50%) rotate(330deg); opacity: 0.12; }

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* login 인증 text */
.login-confirm {
    position: relative;
}

.login-confirm span.confirm {
    position: absolute;
    bottom: -24px;
    left: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #6C5CE7;
}







/* and (min-height: 1024px)  */
@media (min-width: 768px) {
    header,
    .tap-bar {
        position: absolute;
        max-width: 900px;
    }

    .main_wrap {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .main_wrap > .inner {
        height: 900px;
        overflow: hidden;
    }
    
}