@charset "UTF-8";
/* 헤드 */
div.main-head {
	margin:0 auto;
}

#reportMenu {
	gap:4px;
}

/* 본문 */
div.make-container {
	margin:0 auto;
	padding:0.5em;
}

/*옵션들*/
div.sort-chart-wrapper {
	padding-left: 0;
	padding-right: 0;
	border-bottom: none;
	gap:4px;
	flex-wrap: wrap;
}
div.sort-chart-wrapper .result-type {
	padding:3px;
}
div.sort-chart-wrapper .config-multi {
	padding:5px 3px;
}

/*분석표 왼쪽 문항들*/
.result-left {
	padding-left: 12px;
}

/*교차분석 표*/
table.cross {
	table-layout: fixed;
	width:auto;
	min-width: 100%;
	border-collapse: separate;
}
table.cross col.row-total-left {
	width:250px !important;
}
table.cross col.row-total-right {
	width:150px !important;
}
col.answer {
	min-width:80px;
}

/*문항 드래그 드롭 중*/
.enter-droppable {
	background-color: white;
	border-style: solid;
}

#addCross {
	margin: 24px 0 0 12px;
	width:200px;
}

/*문항 모두 추가*/
#addAll {
	font-weight:normal;
	font-size:12px;
}

.cross-results {
	overflow-x: auto;
	/*flex 아이템은 기본이 내용물 폭 — 남은 가로폭을 항상 채우게 함.
	  JS 폭 측정(col-wrapper)은 content-visibility:auto 때문에 로드 직후 0이 나와 신뢰 불가*/
	flex: 1 1 auto;
	min-width: 0;
}

/*univ 분석단위 토글버튼*/
.toggle-label {
	position: relative;
	display: inline-block;
	width: 100px;
	height: 44px;
	zoom:0.5;
}

.toggle-input {
	display: none;
}

/* 토글 배경 (기본 OFF 상태) */
.toggle-switch {
	position: absolute;
	cursor: pointer;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: #EBEEF3;
	border-radius: 22px;
	transition: .4s;
}

/* OFF 텍스트 추가 */
.toggle-switch::before {
	content: "OFF";
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #636F87;
	font-weight: bold;
	font-size: 14px;
}

/* 하얀색 스위치 원형 */
.toggle-switch::after {
	content: "";
	position: absolute;
	height: 36px;
	width: 36px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	border-radius: 50%;
	transition: .4s;
}

/* 토글 ON 상태 */
.toggle-input:checked + .toggle-switch {
	/* 그라데이션 적용 */
	background: linear-gradient(90deg, #8D4DD4 0%, #0882C3 100%);
}

/* ON 텍스트로 변경 */
.toggle-input:checked + .toggle-switch::before {
	content: "ON";
	left: 15px;
	right: auto;
	color: white;
}

/* 스위치 이동 */
.toggle-input:checked + .toggle-switch::after {
	transform: translateX(56px);
}

.custom-confirm-overlay {
	position: fixed;
	top:0; left:0;
	width:100%; height:100%;
	background: rgba(0,0,0,0.4);
	display:flex;
	align-items:center;
	justify-content:center;
	z-index:9999;
}
.custom-confirm-box {
	background:#fff;
	padding:20px;
	border-radius:8px;
	min-width:300px;
}
.custom-confirm-message {
	margin-bottom:20px;
}
.custom-confirm-buttons {
	text-align:right;
}
.custom-confirm-buttons button {
	margin-left:10px;
}