@charset "utf-8";
/**
 * 관리자(bsam) 공통 스타일
 * - /bsam/inc/header.do 를 통해 관리자 영역에 공통 적용
 */

/* 상단 1depth 메뉴: 고정폭 + 가운데 정렬 + 단어 단위 줄바꿈 */
#topmenu {
	left: 200px !important;
	right: 160px !important;
	display: flex !important;
	justify-content: center !important;
	align-items: stretch;
	gap: 0;
}
#topmenu > li {
	flex: 0 0 120px !important;
	width: 120px;
	max-width: 120px;
	min-width: 0 !important;
	padding: 0 4px;
	box-sizing: border-box;
	position: relative;
}
/* 특정 1depth만 폭 100px: <li class="a00 w100"> */
#topmenu > li.w100 {
	flex: 0 0 100px !important;
	width: 100px;
	max-width: 100px;
}
#topmenu > li.w80 {
	flex: 0 0 80px !important;
	width: 80px;
	max-width: 80px;
}
#topmenu > li.w140 {
	flex: 0 0 140px !important;
	width: 140px;
	max-width: 140px;
}
/* 하위 메뉴는 폭 계산에서 제외 */
#topmenu > li > ul {
	position: absolute;
	left: 0;
	right: 0;
	top: 90px;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
}
/* table + table-cell: flex min-content 이슈 없이 칸 폭 안에서 줄바꿈 */
#topmenu > li > a {
	display: table !important;
	table-layout: fixed !important;
	width: 100% !important;
	height: 90px;
	box-sizing: border-box;
	overflow: hidden;
	position: relative;
}
/* hover 라인: span 텍스트 아래가 아니라 a 영역 하단에 표시 */
#topmenu > li > a:after {
	content: "";
	display: block;
	width: 0;
	height: 2px;
	background: #550D7B;
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	transition: all 0.15s ease 0s;
	z-index: 1;
}
#topmenu > li > a:hover:after {
	width: 100%;
}
#topmenu > li > a:hover span {
	color: #550D7B;
}
#topmenu > li > a span {
	display: table-cell !important;
	vertical-align: middle;
	width: 100%;
	max-width: 100%;
	height: 90px !important;
	padding: 0 2px !important;
	white-space: normal !important;
	word-break: keep-all !important;
	overflow-wrap: break-word !important;
	word-wrap: break-word !important;
	line-height: 1.25 !important;
	text-align: center;
	box-sizing: border-box;
}
/* 기존 span:after 라인은 1depth에서 비활성화 */
#topmenu > li > a span:after {
	display: none !important;
}

/* 2depth: 120px 칸 안에서 단어 단위 줄바꿈 (nav 항상펼침 원복 시 빠졌던 규칙 복구) */
#topmenu > li > ul a {
	white-space: normal !important;
	word-break: keep-all !important;
	overflow-wrap: break-word !important;
	word-wrap: break-word !important;
	max-width: 100%;
	box-sizing: border-box;
}

/* 화면 남은 높이만 채움 (100vh 단독 사용 시 헤더+푸터와 겹쳐 과하게 커짐) */
body #wrap {
	height: auto !important;
	min-height: 100vh !important;
	display: flex !important;
	flex-direction: column !important;
}

#middle {
	flex: 1 0 auto !important;
	min-height: 0 !important;
	display: flex !important;
	flex-direction: column !important;
}

#contbody {
	flex: 1 0 auto !important;
	min-height: 0 !important;
	width: 100%;
	box-sizing: border-box;
}

/* 업체·담당자: 줄바꿈되는 하위 메뉴까지 드롭다운 안에 표시 */
#topheader.on.nav13 #topmenu > li.i00 > ul,
#topheader.on.nav13 .nav_bg {
	height: 530px !important;
}

.cmmn-flex-gap {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cmmn-flex-col {
	display: flex;
	flex-direction: column;
}

.cmmn-flex-col.sm-gap {
	gap: 4px;
}

.cmmn-flex-btw {
	display: flex;
	justify-content: space-between;
}

.cmmn-sub-desc {
	font-size: 16px;
	line-height: 36px;
	white-space: nowrap;
}

.table-title {
	font-size: 16px;
	margin-bottom: 4px;
}
.table-title .required::after {
	content: "*";
	margin-left: 4px;
	display: inline-block;
	position: relative;
	top: 2px; /* 숫자 키우면 더 아래로 (예: 3px, 4px) */
}
/* 품목관리: 좌측 행 헤더가 tbody 세로 전체를 차지 */
.table th.table-side-title {
	width: 100px;
	min-width: 100px;
	vertical-align: middle;
	text-align: center;
	background: #f5f5f5;
}
.table td.table-side-value {
	vertical-align: middle;
	text-align: left;
	padding-left: 12px;
	word-break: keep-all;
	background: #fafafa;
	font-weight: 600;
}

.contents-hd {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ypass-guide {
	font-size: 16px;
}
.ypass-guide .warn {
	color: #B71C1C;
}

.icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url(/images/new/icon_warning.png);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
}
.icon.warn {
	background-image: url(/images/new/icon_point_r.svg);
	margin-right: 4px;
}

.connect_date {
	margin: 0px !important;
}

.connect_date > a{
	border-top: 1px solid #0c7ab9 !important;
	border-bottom: 1px solid #0c7ab9 !important;
	border-left: 1px solid #0c7ab9 !important;
	border-right: none !important;
	min-width: 60px !important;
	justify-content: center !important;
	margin-left: 0 !important;
}

.connect_date > a:last-child {
	border-right: 1px solid #0c7ab9 !important;
}

/* Common */

.page_search > select, .page_search-set > select {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-image: url(/images/new/icon_arrow_down.svg) !important;
	background-repeat: no-repeat !important;
	background-position: right 8px center !important;
	background-size: 16px 16px !important;
	padding: 8px 28px 8px 8px !important;
	min-width: 120px !important;
	/* max-width: 140px !important; */
}

select {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-image: url(/images/new/icon_arrow_down.svg) !important;
	background-repeat: no-repeat !important;
	background-position: right 8px center !important;
	background-size: 16px 16px !important;
	padding: 8px 28px 8px 8px !important;
	min-width: 120px !important;
}

select.sm {
	min-width: 80px !important;
}

.page_search > select {
	border-radius: 3px !important;
}

.page_search-set > select{
	border-radius: 3px 0 0 3px !important;
}

.page_search > select.settle-week {
	min-width: 180px !important;
	max-width: 220px !important;
}

.search-items {
	display: flex;

}

.page_search {
	display: flex;
	gap: 4px;
	padding: 0px !important;
}

.page_search > input {
	margin: 0 !important;
}

.search-form {
	display: flex;
	flex-direction: column;
	gap: 6px !important;
	margin-bottom: 8px;
}

.regi-form {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	box-sizing: border-box;
}

.regi-form .table {
	width: 100%;
	min-width: 660px; /* th 160 + td 500 */
	table-layout: fixed !important;
	box-sizing: border-box;
}

/* 빈 <col>이면 열이 반반으로 늘어나 th가 ~600px가 되므로 첫 열 고정 */
.regi-form .table colgroup col:first-child {
	width: 160px;
}

.regi-form .table colgroup col:last-child {
	width: auto;
}

.regi-form th,
.regi-form th.bd01th {
	width: 160px !important;
	min-width: 160px !important;
	max-width: 160px !important;
	box-sizing: border-box;
	overflow: hidden;
	white-space: normal;
	word-break: keep-all;
}

.regi-form td,
.regi-form td.bd01td {
	width: auto;
	min-width: 500px;
	overflow: hidden;
	overflow-wrap: anywhere;
	word-break: break-word;
	box-sizing: border-box;
	vertical-align: middle;
}

.regi-form td input,
.regi-form td select,
.regi-form td textarea,
.regi-form td .inpSchClass10 {
	max-width: 100%;
	box-sizing: border-box;
}

.regi-form td input[type="file"] {
	width: 100%;
	max-width: 100%;
}

.regi-form td label {
	max-width: 100%;
	box-sizing: border-box;
}

.table-container {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	box-sizing: border-box;
}

.table-container .table {
	margin-bottom: 0 !important;
	/* 부모보다 작지 않게 100%로 채우고, 인라인 min-width(예: 1100px)는 최소폭만 보장 */
	width: 100%;
	min-width: 100%;
	table-layout: auto;
	box-sizing: border-box;
}

.table-container .table thead th {
	white-space: nowrap;
	word-break: keep-all;
}

.list_count {
	position: relative;
	display: flex;
	gap: 4px;
	margin-bottom: 8px;
	top: 0;
	left: 0;
}
.list_count strong {
	color: #550D7B;
}

.status-container {
	/* border: 1px solid red; */
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.status-item {
	display: flex;
	flex-direction: column;
	background-color: #f5f5f5;
	flex: 1;
	padding: 16px;
	gap: 8px;
	border-radius: 8px;
}

.status-title {
	font-size: 16px;
}

.status-value {
	display: flex;
	justify-content: flex-end;
	font-weight: 500;
	font-size: 24px;
}

/* 엑셀 다운로드 버튼: #excelBtn 과 동일 (id를 쓸 수 없는 버튼용) */
a.btn-excel,
button.btn-excel,
.sizeMiddle a.btn-excel {
	color: #fff;
	padding-left: 36px;
	border: 0 none;
	background: #00A8CD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='rgba(255,255,255,1)'%3E%3Cpath d='M2.85858 2.87732L15.4293 1.0815C15.7027 1.04245 15.9559 1.2324 15.995 1.50577C15.9983 1.52919 16 1.55282 16 1.57648V22.4235C16 22.6996 15.7761 22.9235 15.5 22.9235C15.4763 22.9235 15.4527 22.9218 15.4293 22.9184L2.85858 21.1226C2.36593 21.0522 2 20.6303 2 20.1327V3.86727C2 3.36962 2.36593 2.9477 2.85858 2.87732ZM17 2.99997H21C21.5523 2.99997 22 3.44769 22 3.99997V20C22 20.5523 21.5523 21 21 21H17V2.99997ZM10.2 12L13 7.99997H10.6L9 10.2857L7.39999 7.99997H5L7.8 12L5 16H7.39999L9 13.7143L10.6 16H13L10.2 12Z'%3E%3C/path%3E%3C/svg%3E") no-repeat 12px center;
}
