/* 쿠키 수집 동의 배너 (hybecorp 참고) */
.cookie-banner {
	position:fixed;
	left:0; right:0; bottom:0;
	z-index:1200;
	background:#fff;
	color:#000;
}
.cookie-banner-inner {
	padding:30px 16px;
}
.cookie-banner-desc {
	font-size:13px;
	line-height:1.4285714286;
	color:#000;
}
.cookie-banner-link {
	color:#000!important;
	font-weight:500;
	text-decoration:underline!important;
}
.cookie-banner-actions {
	margin-top:30px;
}
.cookie-banner-refuse {
	display:block;
	background:none;
	border:0;
	color:#000;
	font-size:14px;
	white-space:nowrap;
	cursor:pointer;
	padding:0;
}
.cookie-banner-btn-group {
	margin-top:20px;
	display:flex;
	width:100%;
	gap:10px;
}
.cookie-banner-custom,
.cookie-banner-accept {
	flex:1;
	box-sizing:border-box;
	border:1px solid #000;
	border-radius:4px;
	font-size:16px;
	font-weight:500;
	line-height:1.75;
	padding:8px 20px;
	cursor:pointer;
	white-space:nowrap;
}
.cookie-banner-custom {
	background:#fff;
	color:#000;
}
.cookie-banner-accept {
	background:#000;
	color:#fff;
}

/* 쿠키 설정 모달 */
.cookie-modal-overlay {
	position:fixed;
	inset:0;
	z-index:999999;
	background:rgba(0,0,0,.6);
	display:flex;
	align-items:center;
	justify-content:center;
	padding:20px;
}
.cookie-modal {
	box-sizing:border-box;
	width:594px;
	max-width:91.4666666667%;
	max-height:85vh;
	display:flex;
	flex-direction:column;
	background:#fff;
	color:#000;
	border-radius:4px;
	padding:20px;
}
.cookie-modal-header {
	display:flex;
	align-items:center;
	justify-content:space-between;
	flex-shrink:0;
}
.cookie-modal-title {
	font-size:20px;
	font-weight:500;
	line-height:1.2;
	color:#000;
}
.cookie-modal-close {
	background:none;
	border:0;
	cursor:pointer;
	padding:0;
	font-size:18px;
	line-height:1;
	color:#000;
}
.cookie-modal-body {
	min-height:0;
	overflow-y:auto;
	padding-right:12px;
	margin-right:-12px;
}
.cookie-modal-body::-webkit-scrollbar {
	width:4px;
}
.cookie-modal-body::-webkit-scrollbar-track {
	background:#fff;
}
.cookie-modal-body::-webkit-scrollbar-thumb {
	background:#e8e8e8;
	border-radius:0;
}
.cookie-modal-body::-webkit-scrollbar-thumb:hover {
	background:#e8e8e8;
}
.cookie-modal-desc {
	font-size:14px;
	font-weight:500;
	line-height:1.7142857143;
	color:#000;
	margin-top:20px;
	margin-bottom:16px;
}
.cookie-modal-desc-link {
	color:#000;
	text-decoration:underline;
}
.cookie-modal-categories {
	display:flex;
	flex-direction:column;
}
.cookie-modal-category {
	padding:16px 0;
	border-bottom:1px solid #c9d2ce;
}
.cookie-modal-category:last-child {
	border-bottom:0;
}
.cookie-modal-category-header {
	display:flex;
	align-items:center;
	justify-content:space-between;
	margin-bottom:10px;
}
.cookie-modal-category-title {
	font-size:16px;
	font-weight:500;
	line-height:1.75;
	color:#000;
}
.cookie-modal-category-desc {
	font-size:14px;
	font-weight:500;
	line-height:1.7142857143;
	color:#858c8f;
}
.cookie-modal-category-link {
	color:#858c8f;
	text-decoration:underline;
	white-space:nowrap;
}
.cookie-modal-footer {
	display:flex;
	justify-content:flex-end;
	gap:7px;
	margin-top:17px;
	flex-shrink:0;
}
.cookie-modal-cancel,
.cookie-modal-confirm {
	box-sizing:border-box;
	border-radius:4px;
	font-size:16px;
	font-weight:500;
	line-height:1.75;
	padding:9px 20px;
	cursor:pointer;
}
.cookie-modal-cancel {
	background:#fff;
	border:1px solid #000;
	color:#000;
}
.cookie-modal-confirm {
	background:#000;
	border:1px solid #000;
	color:#fff;
}

/* 쿠키 토글 스위치 (hybecorp 참고) */
.cookie-toggle {
	position:relative;
	display:inline-block;
	width:48px;
	height:28px;
	flex-shrink:0;
}
.cookie-toggle-input {
	position:absolute;
	inset:0;
	opacity:0;
	margin:0;
	cursor:pointer;
}
.cookie-toggle-track {
	position:absolute;
	inset:0;
	background:#e8e8e8;
	border-radius:15px;
	transition:background-color .18s ease;
}
.cookie-toggle-thumb {
	position:absolute;
	top:50%; left:3px;
	width:22px; height:22px;
	background:#fff;
	border-radius:50%;
	box-shadow:0 1px 2px rgba(0,0,0,.25);
	transform:translateY(-50%);
	transition:transform .18s ease;
}
.cookie-toggle-input:checked ~ .cookie-toggle-track {
	background:#000;
}
.cookie-toggle-input:checked ~ .cookie-toggle-thumb {
	transform:translate(20px,-50%);
}
.cookie-toggle.is-readonly {
	opacity:.5;
}
.cookie-toggle.is-readonly .cookie-toggle-input {
	cursor:default;
}
