@charset "UTF-8";

/* ===== 창고 관리 (supply_store) ===== */

/* 요약 (app-adm-summary 카드) */
#supply_store .supply-store-summary {
	margin-bottom: 18px;
}

#supply_store .supply-store-summary .app-adm-status-card--normal {
	background: #f3f4f6;
}

#supply_store .supply-store-summary .app-adm-status-card--normal .app-adm-status-card__value strong
	{
	color: #6b7280;
}

/* 목록 */
#supply_store .form--tbl__util .total p {
	margin: 0;
}

#supply_store .form--tbl__util .total span {
	color: #047bb6;
	font-weight: 700;
}

#supply_store .pagination-wrap {
	min-height: 40px;
}

#supply_store table {
	table-layout: fixed;
	width: 100%;
}

#supply_store .form-tbl>table thead th, #supply_store .form-tbl .tbody-scroll table td,
	#supply_store .tbl-th {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#supply_store .tbody-scroll table tbody tr {
	height: 47px;
	cursor: pointer;
}

#supply_store .tbody-scroll table tbody tr:hover {
	background-color: #f8f9fa;
}

#supply_store .tbody-scroll {
	max-height: calc(100vh - 570px);
	min-height: 120px;
	overflow-y: auto;
}

/* 상태 뱃지 */
/* #supply_store .al-badge { */
/* 	display: inline-flex; */
/* 	align-items: center; */
/* 	justify-content: center; */
/* 	min-width: 56px; */
/* 	height: 26px; */
/* 	padding: 0 12px; */
/* 	border-radius: 999px; */
/* 	font-size: 12px; */
/* 	font-weight: 600; */
/* 	color: #fff; */
/* 	background: #8a939e; */
/* 	line-height: 1; */
/* 	white-space: nowrap; */
/* } */

/* #supply_store .al-badge--success { */
/* 	background: #2faf63; */
/* } */

/* ===== 등록/상세/수정 모달 (system_user 패턴) ===== */
/* :is(#supplyStoreDetailModal, #supplyStoreEditModal, #supplyStoreRegModal) .modal-dialog */
/* 	{ */
/* 	width: min(520px, calc(100vw - 32px)); */
/* } */

/* :is(#supplyStoreDetailModal, #supplyStoreEditModal, #supplyStoreRegModal) .modal__card */
/* 	{ */
/* 	width: 100%; */
/* 	max-width: none; */
/* 	box-sizing: border-box; */
/* } */

:is(#supplyStoreDetailModal, #supplyStoreEditModal, #supplyStoreRegModal) .form-ti
	{
	min-width: 100px;
	margin: 0;
	text-align: left;
	font-size: 15px;
	font-weight: 500;
	color: #374151;
}

:is(#supplyStoreEditModal, #supplyStoreRegModal) .form-ti.required::after
	{
	content: '*';
	color: #e54e57;
	margin-left: 4px;
}

#supplyStoreDetailModal .form-value, :is(#supplyStoreEditModal,
	#supplyStoreRegModal) .form-control {
	width: 100%;
	height: 45px;
	padding: 0 15px;
	font-size: 15px;
	box-sizing: border-box;
}

#supplyStoreDetailModal .form-value {
	color: #1d1d1d;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	display: flex;
	align-items: center;
	word-break: break-word;
}

:is(#supplyStoreDetailModal, #supplyStoreEditModal, #supplyStoreRegModal) .form-group
	{
	margin-bottom: 12px;
}

:is(#supplyStoreDetailModal, #supplyStoreEditModal, #supplyStoreRegModal) .form-group:last-child
	{
	margin-bottom: 0;
}
/* ── 창고 삭제 모달 ── */
.ss-delete-notice {
	padding: 12px 0 18px;
	font-size: 14px;
	color: #374151;
	line-height: 1.6;
}

.ss-delete-count {
	font-weight: 700;
	color: #dc2626;
}

.ss-delete-check-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 8px;
}

.ss-delete-all-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
}

.ss-delete-selected-count {
	font-size: 13px;
	color: #6b7280;
}

.ss-delete-device-list {
	max-height: 260px;
	overflow-y: auto;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 4px 0;
}

.ss-delete-device-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	cursor: pointer;
	transition: background 0.15s;
	font-size: 13px;
	color: #374151;
}

.ss-delete-device-item:hover {
	background: #f3f4f6;
}

.ss-delete-device-name {
	flex: 1;
	font-weight: 500;
}

.ss-delete-device-type {
	font-size: 12px;
	color: #6b7280;
	background: #f3f4f6;
	padding: 2px 8px;
	border-radius: 10px;
}

.ss-delete-loading, .ss-delete-empty {
	text-align: center;
	padding: 24px;
	font-size: 13px;
	color: #9ca3af;
}

/* ── 창고 삭제 모달 (Step Wizard) ── */
#ssDeleteModal {
	background: rgba(0, 0, 0, 0.5);
}

#ssDeleteModal .ss-delete-dialog {
    width: 680px;
    max-width: 95vw;
    height: 83vh;
    max-height: 83vh;
    min-height: min(560px, 83vh);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
#ssDeleteModal .modal-footer {
    flex-shrink: 0;
}
#ssDeleteModal .modal-content {
	flex: 1;
	min-height: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#ssDeleteModal .ss-delete-step-indicator {
	padding: 12px 16px 10px;
}

#ssDeleteModal .ss-delete-step-indicator .content_set_reg-step__label {
	font-size: 11px;
}

#ssDeleteModal .ss-delete-step-indicator .content_set_reg-step-line {
	margin: 0 6px 18px;
}

#ssDeleteModal .modal-section {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#ssDeleteModal .modal-section .section-content {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#ssDeleteModal .modal-section .section-title {
	margin-bottom: 8px;
	padding-bottom: 6px;
	font-size: 14px;
}

#ssDeleteModal .ss-delete-notice {
	flex-shrink: 0;
	padding: 8px 0 12px;
}

/* 검색 행 */
#ssDeleteModal .ss-delete-search-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	flex-shrink: 0;
}

#ssDeleteModal .ss-delete-search-total {
	margin: 0;
	font-size: 13px;
	color: #374151;
	white-space: nowrap;
}

#ssDeleteModal .ss-delete-search-total strong, #ssDeleteModal .ss-delete-selected-badge
	{
	color: #047bb6;
	font-weight: 700;
}

#ssDeleteModal .ss-delete-search-box {
	flex: 1;
	display: flex;
	align-items: center;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	height: 36px;
}

#ssDeleteModal .ss-delete-search-box input {
	flex: 1;
	height: 100%;
	padding: 0 10px;
	border: none;
	outline: none;
	font-size: 14px;
}

#ssDeleteModal .ss-delete-search-box .search-btn {
	width: 36px;
	height: 36px;
	background: none;
	border: none;
	border-left: 1px solid #d1d5db;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

#ssDeleteModal .ss-delete-search-box .search-btn img {
	width: 16px;
	height: 16px;
}

/* 창고/장비 테이블 */
#ssDeleteModal .ss-delete-store-table-wrap, #ssDeleteModal .ss-delete-device-table-wrap
	{
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#ssDeleteModal .ss-delete-store-table-wrap>table, #ssDeleteModal .ss-delete-device-table-wrap>table
	{
	flex-shrink: 0;
	table-layout: fixed;
	width: 100%;
}

#ssDeleteModal .ss-delete-store-scroll, #ssDeleteModal .ss-delete-device-scroll
	{
	flex: 1;
	min-height: 120px;
}

#ssDeleteModal .ss-delete-store-scroll table, #ssDeleteModal .ss-delete-device-scroll table
	{
	table-layout: fixed;
	width: 100%;
}

#ssDeleteModal .ss-delete-store-table-wrap table th, #ssDeleteModal .ss-delete-store-table-wrap table td,
	#ssDeleteModal .ss-delete-device-table-wrap table th, #ssDeleteModal .ss-delete-device-table-wrap table td
	{
	padding: 8px 10px;
	font-size: 13px;
}

/* 창고 행 선택 */
#ssDeleteModal .ss-delete-store-scroll table tbody tr {
	cursor: pointer;
	transition: background 0.1s;
}

#ssDeleteModal .ss-delete-store-scroll table tbody tr:hover {
	background: #f0f9ff;
}

#ssDeleteModal .ss-delete-store-scroll table tbody tr.is-selected {
	background: #eff6ff;
}