html {
	height: 100%;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
}

body {
	background-color: #18181a;
	position: relative !important;
	width: 100%;
	height: auto;
	min-height: 100vh;
	min-height: 100dvh;
	min-height: -webkit-fill-available;
	overflow-x: hidden;
	overflow-y: auto;
}


/* 메인 고객관리 슬라이드: 헤더(97)·푸터(56)·safe-area 제외 높이 */
#wrap {
	background-color: #18181a;
	--main-header-band: 97px;
	--main-footer-h: 56px;
	--main-vvh: 100vh;
	padding-bottom: 56px;
	padding-bottom: calc(var(--main-footer-h) + constant(safe-area-inset-bottom));
	padding-bottom: calc(var(--main-footer-h) + env(safe-area-inset-bottom, 0px));
	box-sizing: border-box;
}

body.app_webview #wrap {
	padding-bottom: 56px;
}

@supports (height: 100svh) {
	#wrap {
		--main-vvh: 100svh;
	}
}

/* 푸터+safe-area; 실제 높이는 --main-vvh(visualViewport/innerHeight 권장) */
#menu_tab .management_menu_slide {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	height: calc(var(--main-vvh, 100dvh) - var(--main-header-band) - var(--main-footer-h) - constant(safe-area-inset-bottom));
	height: calc(var(--main-vvh, 100dvh) - var(--main-header-band) - var(--main-footer-h) - env(safe-area-inset-bottom, 0px));
	min-height: 0;
	max-height: calc(var(--main-vvh, 100dvh) - var(--main-header-band) - var(--main-footer-h) - env(safe-area-inset-bottom, 0px));
	overflow: hidden;
}

#menu_tab .management_menu_slide .search,
#menu_tab .management_menu_slide .management_tab {
	flex: 0 0 auto;
}

#menu_tab .management_menu_slide .search {
	margin: 15px auto 5px;
}

#menu_tab .management_menu_slide #my_info_form,
#menu_tab .management_menu_slide #management_list,
#menu_tab .management_menu_slide #receipt_list {
	flex: 1 1 0;
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

#menu_tab .management_menu_slide .management_list,
#menu_tab .management_menu_slide .receipt_list {
	flex: 1 1 0;
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	float: none;
	margin: 22px 0 0 17px;
	width: calc(100% - 32px);
}

#menu_tab .management_menu_slide .management_title {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 40px;
	overflow: visible;
}

#menu_tab .management_menu_slide .management_title h3 {
	font-size: 20px;
	color: #fff;
	font-weight: 500;
	margin: 0;
}

#menu_tab .management_menu_slide .management_title h3 span {
	font-size: 14px;
	color: #A1A1A1;
	font-weight: 400;
	margin-left: 5px;
	position: relative;
	top: -2px;
}

#menu_tab .management_menu_slide .management_title a {
	font-size: 14px;
	color: #FFFFFF;
}

#menu_tab .management_menu_slide .sl_style {
	float: none;
	color: #fff;
	border: 0 none;
	width: 90px;
	height: 40px;
	font-size: 14px;
	font-weight: 400;
	border-radius: 6px;
	text-align: left;
	margin-top: 0;
	flex: 0 0 auto;
}

#menu_tab .management_menu_slide .management_list ul li,
#menu_tab .management_menu_slide .receipt_list ul li {
	float: left;
	display: inline-block;
	width: 100%;
	margin: 15px 0;
	padding: 0 10px;
}

#menu_tab .management_menu_slide .management_list ul li a,
#menu_tab .management_menu_slide .receipt_list ul li a {
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	float: left;
	width: 100%;
}

#menu_tab .management_menu_slide .management_list ul li a span {
	color: #fff;
	float: right;
	font-weight: bold;
	font-family: cursive;
	display: inline-block;
	font-size: 17px;
}

#menu_tab .management_menu_slide .management_list_ul {
	flex: 1 1 0;
	min-height: 0;
	height: auto !important;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 0;
	padding-bottom: 10px;
}

#menu_tab .management_menu_slide .customer_add {
	flex: 0 0 auto;
	display: block;
	width: calc(100% - 32px);
	margin: 10px 17px 0;
	box-sizing: border-box;
	background: #1e8ebe;
	font-size: 16px;
	color: #f9f9f9;
	padding: 17px 0;
	text-align: center;
	border-radius: 6px;
	text-decoration: none;
}

#menu_tab .management_menu_slide .management_list .my_info_form_box {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	float: none;
}

.header {
    height: auto;
    background: #18181a;
    position: fixed;
    top: 0px;
    width: 100%;
    margin: 0 auto;
    z-index: 5;
	text-align: center;
}

.header .logo_wrap {     margin-left: 26px;
    margin-top: 16px;
    float: left; }

.header .menu_wrap { float: right;     margin-right: 16px;
    margin-top: 16px; }

.menu_wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

/* 고정 푸터에 콘텐츠 하단이 가려지지 않도록 여백 확보 */
#page_content {
	width: 100%;
	padding-bottom: 56px;
	padding-bottom: calc(56px + constant(safe-area-inset-bottom));
	padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
	box-sizing: border-box;
	position: absolute;
	top: 97px;
}

body.app_webview #page_content {
	padding-bottom: 56px;
}

.menu_wrap .language_wrap {
    display: flex;
    width: 63px;
    flex-direction: row;
    align-items: center;
}

.menu_btn {
    background-color: #00000000;
    padding: 0;
    width: 36px;
    height: 36px;
}

.footer {
	height: 56px;
	background: #0b0b0b;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: 100%;
	z-index: 7;
}

.footer ul {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    font-size: 14px;
    color: #5D5D5D;
}

li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.enable {
    color: #F9F9F9;
}

.disable {
    color: #5D5D5D;
}

.footer ul li a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
	color:#c1c1c1;
}

.footer ul li .on {
	color:#fff;
	background: #00a1e1;
}



main {
    margin-top: 85px;
    margin-bottom: 85px;
    color: #F9F9F9;
    padding: 16px;
    overflow-x: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 0 45px;
}

.hide-scrollbar {
    overflow: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE, Edge */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-toggle {
    background: #00000000;
    color: white;
    padding: 8px 0px;
    border: none;
    border-radius: 6px;
    height: 50px;
    display: flex;
    align-items: center;
    /* gap: 6px; */
    cursor: pointer;
}

.lang-toggle.show {
    background: #2C2B30;
}

.lang-toggle img {
    width: 25px;
}

.lang-toggle.show span img {
    transform: rotate(180deg);
}

.lang-list {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #2C2B30;
    color: white;
    margin-top: 4px;
    border-radius: 8px;
    box-shadow: 0px 6px 18px #00000066;
    padding: 5px;
    gap: 5px;
    width: max-content;
    z-index: 1000;
    flex-direction: column;
}
.lang-list a{ color:#fff; }

.lang-list.show {
    display: flex;
}

.lang-list li {
    padding: 8px 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font: normal normal 300 14px/20px "Noto Sans KR";
    justify-content: flex-start;
    border-radius: 6px;
}

.lang-list li:hover,
.lang-list li.active {
    background: #444346;
}

.lang-list img {
    width: 22px;
    position: relative;
    top: 3px;
    left: -2px;
}

.bottom_modal_wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.75);
}

.bottom_modal {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #2C2C2E 0% 0% no-repeat padding-box;
    border-radius: 30px 30px 0px 0px;
    padding: 0 16px 20px 16px;
    color: #fff;
    transition: transform 300ms;
}

.bottom_modal .handler {
    display: flex;
    width: 100%;
    height: auto;
    padding-top: 7px;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.bottom_modal .handler .handler_icon {
    width: 37px;
    height: 3px;
    border-radius: 3px;
    background-color: #A1A1A1;
}

.bottom_modal .modal_title {
    width: 100%;
    text-align: center;
    font: normal normal 500 18px/26px "Noto Sans KR";
    letter-spacing: 0px;
    color: #FFFFFF;
}

body.modal-open {
    overflow: hidden;
    touch-action: none;
    /* 모바일 터치 스크롤도 막음 */
}


.search {
    width: calc(100% - 32px);
    height: 54px;
    background: #2C2B30 0% 0% no-repeat padding-box;
    position: relative;
    border-radius: 6px;
    margin: 9px auto 22px;
	
	margin-left: 17px;
    display: inline-block;
    text-align: left;
}