@CHARSET "UTF-8";
/* 기본 설정 */
html,body {
	margin: 0;
	padding: 0;
	background-color: #f5f5f5;
	color: #333;
	overflow-x: hidden;
	height: auto !important;
}
/* 네비게이션 바 */
.navbar {
	background-color: #f5f5f5;
	padding: 5px 10px;
}
.navbar-content{
	display: flex;
	height: 50px;
	position: relative;
}
.navbar-logo {
	height: 50px; /* 로고의 높이를 조정할 수 있습니다 */
}
/* 햄버거 버튼 */
.navbar-toggle {
	background: none;
	border: none;
	padding: 10px;
	cursor: pointer;
	display: block;
	margin: -5px;
}
.navbar-toggle .icon-bar {
	width: 22px;
	height: 2px;
	background-color: #333;
	display: block;
	margin: 4px 0;
}
/* 전체화면 메뉴 스타일 */
.fullscreen-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	display: none;
	flex-direction: column;
	z-index: 1000;
}
.fullscreen-menu.open {
	display: flex;
}
/* 메뉴 헤더 스타일 */
.menu-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-image: -webkit-gradient(
		linear,
		left bottom,
		right bottom,
		color-stop(0.44, rgb(1, 159, 199)),
		color-stop(1, rgb(38, 81, 162))
	);
	background-image: -o-linear-gradient(right, rgb(1, 159, 199) 44%, rgb(38, 81, 162) 100%);
	background-image: -moz-linear-gradient(right, rgb(1, 159, 199) 44%, rgb(38, 81, 162) 100%);
	background-image: -webkit-linear-gradient(right, rgb(1, 159, 199) 44%, rgb(38, 81, 162) 100%);
	background-image: -ms-linear-gradient(right, rgb(1, 159, 199) 44%, rgb(38, 81, 162) 100%);
	background-image: linear-gradient(to right, rgb(1, 159, 199) 44%, rgb(38, 81, 162) 100%);
	color: white;
	padding: 10px 20px;
	font-size: 18px;
}
.user-name a{
	font-weight: bold;
	color:#fff;
	
}
.logout-button, .logout-button a{
	background: none;
	border: none;
	color: white;
	font-size: 16px;
	cursor: pointer;
}
.close-menu {
	background: none;
	border: none;
	color: white;
	font-size: 24px;
	cursor: pointer;
}
/* 메뉴 섹션 스타일 */
.menu-section {
	padding: 20px;
	flex-grow: 1;
	overflow-y: auto;
}
.menu-category {
	margin-bottom: 20px;
}
.category-header {
	background-color: #f0f4f7;
	padding: 10px;
	font-size: 26px;
	display: flex;
	align-items: center;
}
.category-icon {
	display: flex;
	align-items: center;
}
.category-icon img{
	margin: 0px 5px;
}
.category-items {
	background-color: #ffffff;
	padding: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: space-between;
}
.category-items span {
	background-color: #e8ecef;
	padding: 10px 10px;
	border-radius: 15px;
	font-size: 18px;
	margin: 10px 10px;
	height: 40px;
	min-width: 80px;
	text-align: center;
}
.left-container{
	height: 50px;
	font-size: 0;
	margin-left: -25px;
}
.right-container {
	display: flex;
	flex-grow: 1;
	align-items: center;
	justify-content: right;
	height: 50px;
	margin-left: 24px;
	margin-right: 10px;
}
.title-container{
	pointer-events: auto;
	transition: none;
	position: absolute;
	top: 35%;
	left: 35%;
	
}
.back-button{
	display: inline-block;
	height: 50px;
	width: 46px;
	vertical-align: top;
	cursor: pointer;
	position: relative;
	background: #f5f5f5;
	border: 0px;
}
.back-button .go-back{
	display: block;
	width: 100%;
	height: 100%;
	background-image: url(/images/mobile/images/ic-24-arrow-perv.svg);
	background-repeat: no-repeat;
	background-position: 8px center;
	background-color: #f5f5f5;
}

.dropdown-icon{
	background: url(/images/mobile/images/ic-16-open-bold.svg) no-repeat right center / 20px;
	width: 150px;
	height: 25px;
	padding-right: 20px;
	font-size: 20px;
	text-align: center;
	font-family: 'Pretendard-bold';
}
#category_sub_drawer {
	display: none;
	position: absolute;
	font-size: 15px;
	text-align: center;
	width: auto;
	min-width: 120px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 21;
	overflow: hidden;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.12);
	padding: 6px 0;
	margin-top: 4px;
}
.sub-drawer-menu >li {
	border: none;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
}
.sub-drawer-menu >li a {
	display: block;
	padding: 10px 28px;
	color: #374151;
	text-decoration: none;
	font-size: 20px;
	font-weight: 500;
	border-radius: 8px;
	margin: 2px 6px;
	transition: background 0.15s;
}
.sub-drawer-menu >li a:hover,
.sub-drawer-menu >li a:active {
	background: #f0f5ff;
	color: #2563eb;
}
#category_sub_drawer .on {
	display: none;
}
.dropdown-icon.active {
	background: url(/images/mobile/images/ic-16-close-bold.svg) no-repeat right center / 20px;
}
#category_sub_drawer{
	display:none;
}
#category_sub_drawer.on{
	display: block;
}
#category_sub_drawer .category-sub-drawer-content{
	background: #fff;
	padding:0 6px 13px;
	transform: translateY(-100%);
	animation: category-sub-dropdown .2s forwards;
	animation-delay: 100ms;
}
@keyframes category-sub-dropdown {
	0%{
		transform: translateY(-100%);
	}
	100%{
		transform: translateY(0);
	}
}
#category_sub_drawer .category-sub-drawer-menu{
	font-size:0;
}
#category_sub_drawer .category-sub-drawer-menu >li{
	margin:0 12px;
	border-bottom: 1px solid #ededed;
	display:inline-block;
	width:calc(50% - 24px);
	font-size:16px;
	line-height: 20px;
	text-align: left;
}
#category_sub_drawer .category-sub-drawer-menu >li.on{
	font-family: 'Pretendard-bold';
}
#category_sub_drawer .category-sub-drawer-menu >li:last-child{
	border:none;
}
#category_sub_drawer .category-sub-drawer-menu >li:nth-last-child(2):nth-child(odd){
	border:none;
}
#category_sub_drawer .category-sub-drawer-menu >li a{
	color:#46433f;
	display: block;
	padding:12px 0;
}
.mobileBtn{
	background:#f5f5f5;
	text-align: center;
	
}
.mobileBtn a,
.mobileBtn a:link,
.mobileBtn a:visited,
.mobileBtn a:hover,
.mobileBtn a:active
{
	background:#f5f5f5;
    text-decoration: none;
    background: #2670fd;
	color: white;
	width: 100%;
	display: block;
	font-size: 16px;
	height: 40px;
}
.mobileBtn button {
	font-size: 14px;
	height: 40px;
	width: 100%;
	background: #2670fd;
	color: white;
}
.mobileBtn button[disabled],
input[type="reset"][disabled],
input[type="submit"][disabled],
input[type="button"][disabled] {
	
	background: #f5f5f5;
	color: #888;
		border-color: #ddd #ddd #ccc;
}
.category-gnb-kind {
	width:100%;
	background: #f5f5f5;
	border-bottom:1px solid #ededed;
	text-align: center;
}
.category-gnb-kind #category_gnb_kind_container {
	position: relative;
	top:1px;
}
.category-gnb-kind .swiper-wrapper {
	width:100%;
}
.category-gnb-kind .swiper-wrapper .swiper-slide {
	font-size:18px;
	line-height: 20px;
	display: inline-block;
	width:auto;
	margin-left:18px;
	padding:0 2px;
}
.category-gnb-kind .swiper-wrapper .swiper-slide:last-of-type {
	margin-right:18px;
}
.category-gnb-kind .swiper-wrapper .swiper-slide.on{
	border-bottom:2px solid #ff5833;
}
.category-gnb-kind .swiper-wrapper .swiper-slide a{
	color:#46433f;
	padding:5px 0;
	display:block;
}
.category-gnb-kind .swiper-wrapper .swiper-slide.on a{
	color:#ff5833;
	font-family: 'Pretendard-Bold';
}
/* 버튼이 'open' 상태일 때의 배경 이미지 */
.toggle-button {
	background: url('/images/mobile/images/ic-16-open-bold.svg') no-repeat right center / 16px;
	border: none;
	width: 24px;
	height: 24px;
	cursor: pointer;
	background-color: transparent;
	padding: 0;
}

/* 버튼이 'close' 상태일 때의 배경 이미지 */
.toggle-button.on {
background: url('/images/mobile/images/ic-16-close-bold.svg') no-repeat right center / 16px;
}
.list td {
	white-space: nowrap; /* 줄바꿈 방지 */
overflow: hidden;/* 넘치는 부분 숨기기 */
text-overflow: ellipsis; /* 넘치는 텍스트에 "..." 표시 */
max-width: 100px; /* 셀의 최대 너비 설정 (적절한 너비로 조정) */
}

.list td:hover {
	overflow: visible;
}

.list td[title] {
	position: relative;
}

.list td[title]:hover::after {
	content: attr(title);
	position: absolute;
	left: 0;
	top: 100%;
	background-color: #000;
	color: #fff;
	padding: 5px;
	border-radius: 5px;
	white-space: nowrap;
	z-index: 10;
}
.info-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	text-align: left;
}

.info-grid > div {
	flex: 1 1 calc(50% - 10px);
	padding: 5px;
	box-sizing: border-box;
	background-color: #f9f9f9; /* 배경색 (선택사항) */
	border: 1px solid #ddd; /* 테두리 (선택사항) */
}

/* 모바일 화면 대응 */
@media (max-width: 600px) {
	.info-grid > div {
		flex: 1 1 100%;
	}
}
.basic-table tr .hasDatepicker{
	width: 41%;	
}
.basic-table tr .single.hasDatepicker {
	width: 98%;
}
.basic-table tr .single.hasDatepicker.required{
	width: 93%;
}
.basic-table tr input.required,
.basic-table tr select.required {
	width: 95%;
}
/* 모달 스타일 (충돌 방지를 위해 "custom-" 접두사 사용) */
.custom-modal {
	display: none; /* 기본적으로 숨김 */
	position: fixed;
	z-index: 2000; /* 기존 z-index보다 높게 설정 */
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4); /* 반투명한 배경 */
}

.custom-modal-content {
	background-color: #fff;
	margin: 20% auto; /* 창 가운데 정렬 */
	padding: 20px;
	border: 1px solid #888;
	max-width: 500px; /* 최대 너비 설정 */
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	width: 100%;
	height: 100%;
}
.custom-modal-content-header{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.custom-modal-content-header h2,.custom-modal-content-header span{
	font-size: 3em;
}
/* 폼 요소들의 여백과 크기 조정 */
.custom-modal-content form {
	display: flex;
	flex-direction: column;
}

.custom-modal-content label {
	margin-bottom: 10px;
}

.custom-modal-content input[type="text"] {
	width: 100%; /* 입력 필드의 너비를 100%로 설정 */
	padding: 8px;
	/* margin-bottom: 20px; */
	border: 1px solid #ccc;
	border-radius: 4px;
}

.custom-modal-content button {
	align-self: flex-start;
	padding: 10px 20px;
	border: none;
	background-color: #2670fd;
	color: white;
	border-radius: 4px;
	cursor: pointer;
}

.custom-modal-content button:hover {
	background-color: #1f5bcc;
}

/* 닫기 버튼 스타일 */
.custom-close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.custom-close:hover,
.custom-close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}
#groupB, #groupC {
	display: none;
}
.screenlet-title-bar a.clipboard, 
.screenlet-title-bar ul li a {
	padding: 8px 7px;
}
.screenlet-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;/* 세로 가운데 정렬 */
}

.screenlet-title-bar li {
    list-style-type: none;
    text-align: center;
     /* 기본 li 스타일 제거 */
    /*margin-left: 10px; /* 간격 조정 */
}

.screenlet-title-bar a {
   /* margin-left: 10px;*/
}

.select-button-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.select-button-container .select-btn {
    flex: 1;
    margin: 5px;
    height: 100px;
}

/* ========== 파란 테마 override (이전 디자인 복원) ========== */
.navbar {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
    padding: 8px 12px !important;
}
.navbar .navbar-content {
    align-items: center;
}
.navbar .title-container {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}
.navbar .title-container .dropdown-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
    background-size: 32px !important;
    color: #fff !important;
    width: auto !important;
    display: inline-block !important;
    padding-right: 40px !important;
    text-align: left !important;
    font-size: 32px !important;
    height: auto !important;
    line-height: 1.2 !important;
}
.navbar .back-button {
    background-color: rgba(255,255,255,0.18) !important;
    border-radius: 10px !important;
    height: 40px !important;
    width: 40px !important;
    padding: 0 !important;
}
.navbar .back-button .go-back {
    background: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 18 9 12 15 6'/></svg>") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.navbar .left-container {
    height: auto !important;
    margin-left: 0 !important;
    display: flex;
    align-items: center;
}
.navbar .right-container {
    height: auto !important;
    margin-right: 0 !important;
}
.navbar .navbar-toggle {
    background: rgba(255,255,255,0.18) !important;
    border-radius: 10px !important;
    padding: 0 !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
}
.navbar .navbar-toggle .icon-bar {
    background-color: #fff !important;
}
.category-gnb-kind {
    background: #2563eb !important;
    border-bottom: none !important;
}
.category-gnb-kind #category_gnb_kind_container {
    padding: 0 !important;
}
.category-gnb-kind .swiper-wrapper {
    font-size: 0 !important;
    text-align: justify;
}
.category-gnb-kind .swiper-wrapper .swiper-slide {
    display: inline-block !important;
    width: 33.333% !important;
    margin: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
.category-gnb-kind .swiper-wrapper .swiper-slide a {
    color: rgba(255,255,255,0.7) !important;
    font-size: 19px !important;
    padding: 12px 0 !important;
    display: block !important;
}
.category-gnb-kind .swiper-wrapper .swiper-slide.on {
    border-bottom: 3px solid #ffffff !important;
    background: rgba(255,255,255,0.15) !important;
}
.category-gnb-kind .swiper-wrapper .swiper-slide.on a {
    color: #ffffff !important;
    font-weight: bold !important;
}
/* 대메뉴 드롭다운(재고/오더/정산 전환) - navbar 바로 아래, 최상위 표시 */
#category_sub_drawer,
body #category_sub_drawer {
    position: fixed !important;
    top: 56px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 99999 !important;
    min-width: 200px !important;
    background: rgb(255,255,255) !important;
    background-color: rgb(255,255,255) !important;
    background-image: none !important;
    background-clip: padding-box !important;
    box-shadow: 0 0 0 9999px rgb(255,255,255) inset, 0 8px 24px rgba(0,0,0,0.28) !important;
    border-radius: 12px !important;
    padding: 0 !important;
    margin-top: 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    isolation: isolate !important;
}
body #category_sub_drawer * {
    opacity: 1 !important;
    backdrop-filter: none !important;
    background-color: rgb(255,255,255) !important;
}
body #category_sub_drawer a:hover,
body #category_sub_drawer a:active {
    background-color: #eff6ff !important;
}
body #category_sub_drawer.on {
    display: block !important;
}
body #category_sub_drawer .sub-drawer-content {
    background: #ffffff !important;
    background-color: #ffffff !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    transform: none !important;
    animation: none !important;
}
body #category_sub_drawer .sub-drawer-menu {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: #ffffff !important;
    width: 100% !important;
}
body #category_sub_drawer .sub-drawer-menu > li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    text-align: center !important;
    background: #ffffff !important;
}
body #category_sub_drawer .sub-drawer-menu > li.on {
    display: none !important;
}
body #category_sub_drawer .sub-drawer-menu > li a {
    display: block !important;
    padding: 16px 40px !important;
    color: #374151 !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}
body #category_sub_drawer .sub-drawer-menu > li a:hover,
body #category_sub_drawer .sub-drawer-menu > li a:active {
    background: #eff6ff !important;
    color: #2563eb !important;
}
