@charset "utf-8";

/********************************************************
 Toss-style UI Design
 - Primary: #3182f6 (Toss Blue)
 - BG: #f2f4f6
 - Card: #ffffff
 - Text: #191f28, #4e5968, #8b95a1, #b0b8c1
 - Radius: 16px card, 12px button, 8px input
 - Shadow: 0 2px 8px rgba(0,0,0,0.04)
 - Font: -apple-system, Pretendard, sans-serif
********************************************************/

/* ===== Base Font ===== */
#bc_sidebar,
#bc_right_sidebar {
	font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	letter-spacing: -0.3px;
}

/* ===== Layout Structure ===== */
.bc-site-main {
	transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 769px) {
	.bc-site-main {
		margin-left: 300px;
		margin-right: 300px;
	}
}

/* ===== Left Sidebar ===== */
#bc_sidebar {
	position: fixed;
	left: 0;
	top: 0;
	width: 300px;
	height: 100vh;
	background: #f2f4f6;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
	border-right: 1px solid #e5e8eb;
}

/* ===== Sidebar Header (Logo) ===== */
.bc-sidebar-header {
	padding: 20px 20px 12px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	background: #fff;
}

.bc-sidebar-header a {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	flex: 1;
	min-width: 0;
}

.bc-sidebar-header .bc-logo-img {
	max-height: 52px;
	max-width: 240px;
}

.bc-sidebar-header .bc-logo-text {
	color: #191f28;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.8px;
}

/* ===== Sidebar Banner ===== */
.bc-sidebar-banner {
	padding: 0 12px;
	flex-shrink: 0;
	margin-bottom: 0;
	background: #fff;
	padding-bottom: 12px;
}

.bc-sidebar-banner a {
	display: block;
}

.bc-sidebar-banner img {
	width: 100%;
	max-height: 60px;
	object-fit: cover;
	border-radius: 12px;
}

/* ===== Sidebar Body (scrollable) ===== */
.bc-sidebar-body {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 8px 12px;
}

.bc-sidebar-body::-webkit-scrollbar {
	width: 0;
}

/* ===== Menu Section ===== */
.bc-menu-section {
	background: #fff;
	border-radius: 16px;
	margin-bottom: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	overflow: hidden;
	border: none;
	padding-bottom: 0;
}

.bc-menu-section:last-child {
	border-bottom: none;
}

/* Section Header */
.bc-section-header {
	display: flex;
	align-items: center;
	padding: 14px 16px 6px;
	cursor: default;
}

.bc-section-header .bc-sh-icon {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	font-size: 15px;
	color: #fff;
	background: #3182f6;
	border-radius: 10px;
	flex-shrink: 0;
}

.bc-sh-icon.bc-icon-badge {
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: #3182f6;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.bc-section-header .bc-sh-text {
	font-size: 15px;
	font-weight: 700;
	color: #191f28;
	letter-spacing: -0.4px;
}

/* Sub Menu Items */
.bc-sub-list {
	list-style: none;
	margin: 0;
	padding: 0 0 4px;
}

.bc-sub-list li {
	position: relative;
}

.bc-sub-list li a {
	display: flex;
	align-items: center;
	padding: 10px 16px 10px 58px;
	color: #4e5968;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 400;
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	border-radius: 0;
}

.bc-sub-list li a:hover {
	background: #f2f4f6;
	color: #191f28;
}

/* Sub item dot icon */
.bc-sub-list li a .bc-dot {
	position: absolute;
	left: 24px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #b0b8c1;
	font-size: 12px;
}

/* Right chevron */
.bc-sub-list li a .bc-chevron {
	margin-left: auto;
	color: #d1d6db;
	font-size: 12px;
	flex-shrink: 0;
	transition: transform 0.15s;
}

.bc-sub-list li a:hover .bc-chevron {
	transform: translateX(2px);
	color: #8b95a1;
}

/* Single menu (no sub) */
.bc-menu-single {
	padding-bottom: 0;
}

.bc-single-link {
	text-decoration: none !important;
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 16px;
}

.bc-single-link:hover {
	background: #f2f4f6;
}

/* Sub list separator line */
.bc-sub-line {
	padding: 4px 16px 4px 58px;
}

.bc-sub-line span {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #b0b8c1;
	border-bottom: 1px solid #f2f4f6;
	padding-bottom: 4px;
}

/* Depth 2 sub list */
.bc-sub-list-depth2 {
	padding: 0 0 4px;
}

.bc-sub-list-depth2 li a {
	padding-left: 74px !important;
	font-size: 13px !important;
	color: #8b95a1;
}

/* Active sub item */
.bc-sub-list li.active > a {
	color: #3182f6;
	font-weight: 600;
	background: #e8f3ff;
}

/* ===== Highlighted Section ===== */
.bc-menu-highlight {
	background: #3182f6;
	border-radius: 16px;
	margin-bottom: 8px;
	box-shadow: 0 4px 12px rgba(49,130,246,0.3);
	border: none;
}

.bc-menu-highlight .bc-highlight-link {
	display: flex;
	align-items: center;
	padding: 16px 18px;
	text-decoration: none !important;
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 16px;
}

.bc-menu-highlight .bc-highlight-link:hover {
	background: rgba(255,255,255,0.1);
}

.bc-menu-highlight .bc-hl-icon {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	font-size: 15px;
	color: #3182f6;
	background: #fff;
	border-radius: 10px;
	flex-shrink: 0;
}

.bc-menu-highlight .bc-hl-text {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.3px;
}

.bc-menu-highlight .bc-hl-chevron {
	margin-left: auto;
	color: rgba(255,255,255,0.6);
	font-size: 13px;
}

/* ===== Bottom section ===== */
.bc-menu-bottom {
	border-top: none;
}

.bc-menu-bottom .bc-section-header {
	padding-bottom: 14px;
}

/* ===== Sidebar Footer ===== */
.bc-sidebar-footer {
	padding: 10px 16px;
	flex-shrink: 0;
	background: #fff;
	border-top: 1px solid #e5e8eb;
}

.bc-sidebar-footer .bc-stats {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bc-sidebar-footer .bc-stats li {
	display: flex;
	justify-content: space-between;
	padding: 3px 0;
	font-size: 12px;
	color: #8b95a1;
}

.bc-sidebar-footer .bc-stats li span:last-child {
	color: #4e5968;
	font-weight: 600;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
	#bc_sidebar {
		transform: translateX(-100%);
		z-index: 1100;
		width: 300px;
	}

	#bc_sidebar.open {
		transform: translateX(0);
	}

	.bc-site-main {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	#bc_sidebar_overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.4);
		z-index: 1099;
		backdrop-filter: blur(2px);
	}

	#bc_sidebar_overlay.show {
		display: block;
	}
}

@media (min-width: 769px) {
	#bc_sidebar_overlay {
		display: none !important;
	}

	.bc-mobile-toggle {
		display: none !important;
	}
}

/* Mobile Toggle */
.bc-mobile-toggle {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1050;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: #fff;
	border: none;
	color: #191f28;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: all 0.15s;
}

.bc-mobile-toggle:active {
	transform: scale(0.95);
	background: #f2f4f6;
}

/* Mobile sidebar close button */
.bc-sidebar-close {
	display: none;
}

@media (max-width: 768px) {
	.bc-sidebar-close {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		border: none;
		background: #f2f4f6;
		border-radius: 50%;
		color: #8b95a1;
		font-size: 14px;
		cursor: pointer;
		margin-left: auto;
		transition: all 0.15s;
	}

	.bc-sidebar-close:active {
		background: #e5e8eb;
	}
}

/* ===== Right Sidebar ===== */
#bc_right_sidebar {
	position: fixed;
	right: 0;
	top: 0;
	width: 300px;
	height: 100vh;
	background: #f2f4f6;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-left: 1px solid #e5e8eb;
}

.bc-right-inner {
	padding: 16px 12px;
	flex-shrink: 0;
}

#bc_right_sidebar .bc-login-panel,
#bc_right_sidebar .bc-user-panel {
	max-width: 100%;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
	#bc_right_sidebar {
		display: none;
	}
}

/* ===== Login Panel (Toss style) ===== */
.bc-login-panel {
	background: #fff;
	border-radius: 16px;
	border: none;
	padding: 16px;
	max-width: 360px;
	width: 100%;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.bc-login-panel .bc-input {
	width: 100%;
	padding: 12px 14px;
	background: #f2f4f6;
	border: 1.5px solid transparent;
	border-radius: 12px;
	color: #191f28;
	font-size: 14px;
	outline: none;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	box-sizing: border-box;
	margin-bottom: 8px;
}

.bc-login-panel .bc-input::placeholder {
	color: #b0b8c1;
}

.bc-login-panel .bc-input:focus {
	border-color: #3182f6;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(49,130,246,0.12);
}

.bc-login-panel .bc-btn-login {
	width: 100%;
	padding: 12px;
	background: #3182f6;
	border: none;
	border-radius: 12px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
	margin-top: 0;
}

.bc-login-panel .bc-btn-login:hover {
	background: #1b64da;
}

.bc-login-panel .bc-btn-login:active {
	transform: scale(0.98);
}

.bc-login-panel .bc-btn-register {
	display: block;
	width: 100%;
	padding: 12px;
	background: #f2f4f6;
	border: none;
	border-radius: 12px;
	color: #4e5968;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
	margin-top: 6px;
	text-align: center;
	text-decoration: none !important;
}

.bc-login-panel .bc-btn-register:hover {
	background: #e5e8eb;
	color: #191f28;
}

.bc-login-panel .bc-login-links {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 10px;
}

.bc-login-panel .bc-login-links a {
	color: #8b95a1;
	font-size: 12px;
	text-decoration: none !important;
	transition: color 0.15s;
	font-weight: 500;
}

.bc-login-panel .bc-login-links a:hover {
	color: #3182f6;
}

/* ===== User Panel (Toss style) ===== */
.bc-user-panel {
	background: #fff;
	border-radius: 16px;
	border: none;
	padding: 20px;
	max-width: 360px;
	width: 100%;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.bc-user-panel .bc-user-info {
	display: flex;
	align-items: center;
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f2f4f6;
}

.bc-user-panel .bc-user-avatar {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: #3182f6;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #fff;
	margin-right: 12px;
	flex-shrink: 0;
}

.bc-user-panel .bc-user-name {
	font-size: 16px;
	font-weight: 700;
	color: #191f28;
	letter-spacing: -0.3px;
}

.bc-user-panel .bc-user-level {
	font-size: 12px;
	color: #8b95a1;
	margin-top: 2px;
	font-weight: 500;
}

.bc-user-panel .bc-user-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bc-user-panel .bc-user-links li a {
	display: flex;
	align-items: center;
	padding: 10px 12px;
	color: #4e5968;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 500;
	border-radius: 12px;
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.bc-user-panel .bc-user-links li a:hover {
	background: #f2f4f6;
	color: #191f28;
}

.bc-user-panel .bc-user-links li a i {
	width: 20px;
	margin-right: 10px;
	text-align: center;
	color: #8b95a1;
	font-size: 15px;
}

.bc-user-panel .bc-btn-logout {
	display: block;
	width: 100%;
	padding: 12px;
	background: #f2f4f6;
	border: none;
	border-radius: 12px;
	color: #8b95a1;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	text-decoration: none !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	margin-top: 10px;
}

.bc-user-panel .bc-btn-logout:hover {
	background: #e5e8eb;
	color: #4e5968;
}

/* ===== Mini Chat (Premium style) ===== */
.bc-chat-wrap {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	margin: 0 12px 12px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	overflow: hidden;
}

/* 헤더 */
.bc-chat-header {
	padding: 14px 16px;
	background: #fff;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #f2f4f6;
}

.bc-chat-header-left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bc-chat-live-dot {
	width: 6px;
	height: 6px;
	background: #3182f6;
	border-radius: 50%;
	animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}

.bc-chat-title {
	font-size: 14px;
	font-weight: 700;
	color: #191f28;
	letter-spacing: -0.3px;
}

.bc-chat-online {
	font-size: 11px;
	background: #e8f3ff;
	color: #3182f6;
	padding: 2px 8px;
	border-radius: 10px;
	font-weight: 600;
}

.bc-chat-online::after {
	content: "명 참여중";
	font-size: 10px;
	margin-left: 1px;
}

.bc-chat-header-right {
	display: flex;
	align-items: center;
}

.bc-chat-clear {
	border: none;
	background: #f2f4f6;
	color: #b0b8c1;
	font-size: 12px;
	cursor: pointer;
	padding: 5px 8px;
	border-radius: 8px;
	transition: all 0.15s;
}

.bc-chat-clear:hover {
	background: #ffeaec;
	color: #f04452;
}

/* 메시지 영역 */
.bc-chat-messages {
	flex: 1;
	overflow-y: auto;
	padding: 10px 12px;
	min-height: 0;
	background: #fafbfc;
}

.bc-chat-messages::-webkit-scrollbar {
	width: 3px;
}

.bc-chat-messages::-webkit-scrollbar-track {
	background: transparent;
}

.bc-chat-messages::-webkit-scrollbar-thumb {
	background: #d1d6db;
	border-radius: 3px;
}

/* 빈 상태 */
.bc-chat-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 30px 16px;
	text-align: center;
}

.bc-chat-empty-icon {
	width: 52px;
	height: 52px;
	background: linear-gradient(135deg, #e8f3ff 0%, #f0e6ff 100%);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: #3182f6;
	margin-bottom: 12px;
}

.bc-chat-empty p {
	font-size: 14px;
	font-weight: 700;
	color: #4e5968;
	margin: 0 0 4px;
}

.bc-chat-empty span {
	font-size: 12px;
	color: #b0b8c1;
}

/* 말풍선 스타일 */
.bc-chat-bubble {
	display: flex;
	align-items: flex-start;
	padding: 4px 0;
	gap: 8px;
}

.bc-chat-anim {
	animation: chatSlideIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes chatSlideIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.bc-chat-avatar {
	width: 28px;
	height: 28px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	flex-shrink: 0;
	margin-top: 2px;
}

.bc-chat-body {
	flex: 1;
	min-width: 0;
}

.bc-chat-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 2px;
}

.bc-chat-nick {
	font-weight: 700;
	font-size: 12px;
	letter-spacing: -0.2px;
}

.bc-chat-time {
	font-size: 10px;
	color: #b0b8c1;
}

.bc-chat-text {
	font-size: 13px;
	color: #4e5968;
	line-height: 1.5;
	word-break: break-word;
	background: #fff;
	padding: 8px 12px;
	border-radius: 4px 14px 14px 14px;
	display: inline-block;
	max-width: 100%;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* 시스템 메시지 */
.bc-chat-system {
	text-align: center;
	font-size: 11px;
	color: #8b95a1;
	background: #f2f4f6;
	border-radius: 20px;
	padding: 6px 14px;
	margin: 10px 0;
	font-weight: 500;
}

.bc-chat-system i {
	margin-right: 4px;
}

/* 입력 영역 */
.bc-chat-input {
	padding: 10px 12px;
	border-top: 1px solid #f2f4f6;
	flex-shrink: 0;
	background: #fff;
	position: relative;
}

.bc-chat-input-row {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #f2f4f6;
	border-radius: 14px;
	padding: 4px 4px 4px 6px;
	transition: all 0.2s;
}

.bc-chat-input-row:focus-within {
	background: #e8f3ff;
	box-shadow: 0 0 0 2px rgba(49,130,246,0.15);
}

.bc-emoji-btn {
	border: none;
	background: none;
	color: #b0b8c1;
	font-size: 18px;
	cursor: pointer;
	padding: 4px 6px;
	border-radius: 8px;
	transition: all 0.15s;
	flex-shrink: 0;
}

.bc-emoji-btn:hover {
	color: #3182f6;
	background: rgba(49,130,246,0.08);
}

.bc-chat-input-row input {
	flex: 1;
	padding: 8px 4px;
	border: none;
	background: transparent;
	font-size: 13px;
	outline: none;
	color: #191f28;
	min-width: 0;
}

.bc-chat-input-row input::placeholder {
	color: #b0b8c1;
}

.bc-send-btn {
	padding: 8px 12px;
	border: none;
	border-radius: 10px;
	background: #3182f6;
	color: #fff;
	font-size: 13px;
	cursor: pointer;
	flex-shrink: 0;
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.bc-send-btn:hover {
	background: #1b64da;
	transform: scale(1.05);
}

.bc-send-btn:active,
.bc-send-btn.bc-sending {
	transform: scale(0.92);
}

.bc-send-btn.bc-sending {
	opacity: 0.6;
	pointer-events: none;
}

/* 이모지 피커 */
.bc-emoji-picker {
	display: none;
	padding: 8px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.1);
	position: absolute;
	bottom: 56px;
	left: 12px;
	right: 12px;
	z-index: 10;
	flex-wrap: wrap;
	gap: 2px;
}

.bc-emoji-picker.show {
	display: flex;
}

.bc-emoji-item {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	cursor: pointer;
	border-radius: 10px;
	transition: all 0.1s;
}

.bc-emoji-item:hover {
	background: #f2f4f6;
	transform: scale(1.15);
}

/* 로그인 유도 */
.bc-chat-login-msg {
	padding: 24px 16px;
	text-align: center;
	font-size: 13px;
	color: #8b95a1;
	border-top: 1px solid #f2f4f6;
	flex-shrink: 0;
	font-weight: 500;
	background: #fafbfc;
}

.bc-chat-login-icon {
	width: 40px;
	height: 40px;
	background: #f2f4f6;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: #b0b8c1;
	margin: 0 auto 10px;
}

.bc-chat-login-msg a {
	color: #3182f6;
	font-weight: 700;
	text-decoration: none;
}

/* ===== Loader Override ===== */
#nt_loader {
	background: #fff !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

#nt_loader .loader {
	display: none !important;
}

/* ===== Sidebar Search ===== */
.bc-sidebar-search {
	padding: 0 12px 8px;
	flex-shrink: 0;
	background: #fff;
}

.bc-search-box {
	display: flex;
	align-items: center;
	background: #f2f4f6;
	border-radius: 12px;
	padding: 0 14px;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1.5px solid transparent;
}

.bc-search-box:focus-within {
	background: #fff;
	border-color: #3182f6;
	box-shadow: 0 0 0 3px rgba(49,130,246,0.12);
}

.bc-search-box i {
	color: #b0b8c1;
	font-size: 14px;
	margin-right: 10px;
	flex-shrink: 0;
}

.bc-search-box:focus-within i {
	color: #3182f6;
}

.bc-search-box input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 10px 0;
	font-size: 13px;
	color: #191f28;
	outline: none;
	min-width: 0;
}

.bc-search-box input::placeholder {
	color: #b0b8c1;
}

/* ===== Nariya Override ===== */
@media (min-width: 769px) {
	.bc-site-main .wrapper {
		max-width: 100%;
	}

	.bc-site-main #nt_sticky_wrap.me-sticky {
		left: 300px;
		right: 300px;
		width: calc(100% - 600px);
	}
}

/* =========================================================
   Toss-style Main Content Area - COMPLETE OVERRIDE
   ========================================================= */

/* 전체 배경 & 폰트 */
.bc-site-main,
.bc-site-main .wrapper,
.bc-site-main .wrapper.wided {
	background: #f2f4f6 !important;
	font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", Roboto, sans-serif !important;
	-webkit-font-smoothing: antialiased;
	letter-spacing: -0.3px;
}

/* ======= 헤더 전체 숨김 (사이드바에 로고/메뉴/검색 있음) ======= */
.bc-site-main #nt_header {
	display: none !important;
}

/* ======= 본문 영역 ======= */
.bc-site-main #nt_body {
	background: #f2f4f6;
	padding-top: 8px;
}

.bc-site-main .nt-body {
	min-height: calc(100vh - 80px);
}

/* ======= 인덱스 메인 컨테이너 ======= */
.bc-site-main .nt-container {
	padding-top: 0 !important;
}

.bc-site-main .nt-container.pt-0 {
	padding-top: 0 !important;
}

/* ======= 위젯 섹션 제목 (h3.h3 + hr.hr) ======= */
.bc-site-main h3.h3 {
	font-size: 17px !important;
	font-weight: 800 !important;
	color: #191f28 !important;
	letter-spacing: -0.5px !important;
	border: none !important;
	padding: 16px 20px 0 !important;
	margin: 0 !important;
}

.bc-site-main h3.h3 a {
	color: #191f28 !important;
	text-decoration: none !important;
}

.bc-site-main h3.h3 .more-plus {
	color: #b0b8c1 !important;
	font-size: 14px !important;
}

.bc-site-main h3.h3 .float-right {
	color: #b0b8c1 !important;
}

/* hr.hr 컬러바 완전 제거 */
.bc-site-main hr.hr {
	height: 0 !important;
	margin: 0 !important;
	border: none !important;
	display: none !important;
}

.bc-site-main hr.hr::before,
.bc-site-main hr.hr::after {
	display: none !important;
	content: none !important;
}

/* ======= 위젯 카드 래퍼 ======= */
.bc-site-main .mt-3.mb-4,
.bc-site-main .mt-3.mb-4.mb-md-5 {
	background: #fff !important;
	border-radius: 16px !important;
	padding: 0 20px 16px !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 12px !important;
}

/* h3 + hr + .mt-3 을 하나의 카드로 묶기 위한 카드 배경 */
.bc-site-main .na-col > h3.h3 {
	background: #fff;
	border-radius: 16px 16px 0 0;
	margin-bottom: 0 !important;
	padding-bottom: 12px !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	position: relative;
	z-index: 1;
}

.bc-site-main .na-col > h3.h3 + hr.hr {
	display: none !important;
}

.bc-site-main .na-col > h3.h3 + hr.hr + .mt-3 {
	border-radius: 0 0 16px 16px !important;
	margin-top: -2px !important;
	position: relative;
	z-index: 0;
}

/* row 안의 위젯도 카드화 */
.bc-site-main .row.na-row > .na-col > h3.h3 {
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ======= 캐러셀/슬라이더 ======= */
.bc-site-main #header_carousel {
	margin-bottom: 16px !important;
	border-radius: 16px;
	overflow: hidden;
}

.bc-site-main #header_carousel .owl-carousel,
.bc-site-main #header_carousel .owl-stage-outer {
	border-radius: 16px;
}

.bc-site-main .owl-carousel .item img,
.bc-site-main #header_carousel img {
	border-radius: 16px;
}

/* Owl 네비 Toss 스타일 */
.bc-site-main .owl-slider .owl-carousel .owl-nav button {
	border: none !important;
	background: #fff !important;
	color: #4e5968 !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
	padding: 6px 10px !important;
	margin: 0 3px !important;
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.bc-site-main .owl-slider .owl-carousel .owl-nav button:hover {
	background: #3182f6 !important;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(49,130,246,0.3) !important;
}

/* ======= 게시글 리스트 ======= */
.bc-site-main .na-table,
.bc-site-main .table {
	font-size: 14px;
}

.bc-site-main .na-table .na-item,
.bc-site-main .na-list .na-line {
	border-bottom: 1px solid #f2f4f6 !important;
	transition: background 0.1s;
}

.bc-site-main .na-table .na-item:hover,
.bc-site-main .na-list li:hover {
	background: #f8f9fa;
}

.bc-site-main .na-table a,
.bc-site-main .na-list a {
	color: #4e5968 !important;
	text-decoration: none !important;
}

.bc-site-main .na-table a:hover,
.bc-site-main .na-list a:hover {
	color: #191f28 !important;
}

/* 리스트 아이템 */
.bc-site-main .na-list li {
	border-bottom: 1px solid #f2f4f6;
	line-height: 2.2 !important;
}

.bc-site-main .na-list .na-subject {
	font-size: 14px;
	color: #4e5968;
	font-weight: 500;
}

/* ======= 썸네일/갤러리 ======= */
.bc-site-main .na-item img,
.bc-site-main .na-round {
	border-radius: 12px !important;
}

/* ======= 안내 alert 숨김 ======= */
.bc-site-main .alert.alert-dismissible {
	display: none !important;
}

/* ======= 버튼 ======= */
.bc-site-main .btn {
	border-radius: 10px !important;
	font-weight: 600 !important;
	letter-spacing: -0.2px;
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.bc-site-main .btn-primary {
	background: #3182f6 !important;
	border-color: #3182f6 !important;
	border-radius: 12px !important;
	font-weight: 700 !important;
}

.bc-site-main .btn-primary:hover,
.bc-site-main .btn-primary:focus {
	background: #1b64da !important;
	border-color: #1b64da !important;
	box-shadow: 0 4px 12px rgba(49,130,246,0.3) !important;
}

.bc-site-main .btn-outline-primary {
	color: #3182f6 !important;
	border-color: #3182f6 !important;
	border-radius: 12px !important;
	font-weight: 600 !important;
	background: transparent !important;
}

.bc-site-main .btn-outline-primary:hover {
	background: #3182f6 !important;
	color: #fff !important;
}

.bc-site-main .btn-secondary,
.bc-site-main .btn-default {
	background: #f2f4f6 !important;
	border: none !important;
	color: #4e5968 !important;
	border-radius: 12px !important;
}

.bc-site-main .btn-secondary:hover,
.bc-site-main .btn-default:hover {
	background: #e5e8eb !important;
	color: #191f28 !important;
}

.bc-site-main .btn-danger {
	background: #f04452 !important;
	border-color: #f04452 !important;
	border-radius: 12px !important;
}

.bc-site-main .btn-lg {
	border-radius: 14px !important;
	padding: 12px 20px !important;
	font-size: 16px !important;
}

/* ======= 입력 필드 ======= */
.bc-site-main .form-control {
	border-radius: 12px !important;
	border: 1.5px solid #e5e8eb !important;
	padding: 10px 14px !important;
	font-size: 14px !important;
	background: #f2f4f6 !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
	color: #191f28 !important;
}

.bc-site-main .form-control:focus {
	border-color: #3182f6 !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(49,130,246,0.12) !important;
}

.bc-site-main .form-control::placeholder {
	color: #b0b8c1 !important;
}

.bc-site-main .input-group {
	border-radius: 12px;
	overflow: hidden;
}

.bc-site-main .input-group .form-control {
	border-radius: 12px 0 0 12px !important;
}

.bc-site-main .input-group-append .btn {
	border-radius: 0 12px 12px 0 !important;
}

.bc-site-main select.form-control {
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b95a1' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	padding-right: 32px !important;
}

/* ======= 카드/패널 ======= */
.bc-site-main .card,
.bc-site-main .panel {
	border: none !important;
	border-radius: 16px !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
	overflow: hidden;
}

.bc-site-main .card-header {
	background: #fff !important;
	border-bottom: 1px solid #f2f4f6 !important;
	font-weight: 700;
	color: #191f28;
}

.bc-site-main .card-body {
	background: #fff;
}

/* ======= 풋터 ======= */
.bc-site-main #nt_footer {
	background: #fff !important;
	border-top: 1px solid #e5e8eb !important;
	margin-top: 20px;
}

.bc-site-main #nt_footer .nt-links {
	border-color: #e5e8eb !important;
}

.bc-site-main #nt_footer a {
	color: #8b95a1 !important;
	font-size: 13px;
}

.bc-site-main #nt_footer a:hover {
	color: #3182f6 !important;
}

.bc-site-main #nt_footer .nt-links ul > li::after {
	color: #d1d6db !important;
}

/* ======= 페이지네이션 ======= */
.bc-site-main .pagination .page-link {
	border: none !important;
	border-radius: 10px !important;
	color: #4e5968 !important;
	font-weight: 600;
	margin: 0 2px;
	padding: 8px 12px;
	background: transparent;
	transition: all 0.15s;
}

.bc-site-main .pagination .page-item.active .page-link {
	background: #3182f6 !important;
	color: #fff !important;
}

.bc-site-main .pagination .page-link:hover {
	background: #e8f3ff !important;
	color: #3182f6 !important;
}

/* ======= 배지 ======= */
.bc-site-main .badge {
	border-radius: 6px !important;
	font-weight: 600;
	padding: 3px 8px;
}

.bc-site-main .badge-primary {
	background: #3182f6 !important;
}

.bc-site-main .badge-danger {
	background: #f04452 !important;
}

.bc-site-main .badge-success {
	background: #00b894 !important;
}

.bc-site-main .badge-warning {
	background: #ffc107 !important;
	color: #191f28 !important;
}

/* ======= 컬러 오버라이드 ======= */
.bc-site-main .text-primary {
	color: #3182f6 !important;
}

.bc-site-main .bg-primary {
	background-color: #3182f6 !important;
}

.bc-site-main .bg-light {
	background-color: #f2f4f6 !important;
}

.bc-site-main .border-primary {
	border-color: #3182f6 !important;
}

.bc-site-main .text-muted {
	color: #8b95a1 !important;
}

/* ======= 드롭다운 ======= */
.bc-site-main .dropdown-menu {
	border: none !important;
	border-radius: 14px !important;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
	padding: 6px !important;
	overflow: hidden;
}

.bc-site-main .dropdown-item {
	border-radius: 10px !important;
	font-size: 14px;
	padding: 8px 14px !important;
	color: #4e5968;
	transition: all 0.1s;
}

.bc-site-main .dropdown-item:hover {
	background: #f2f4f6 !important;
	color: #191f28;
}

/* ======= 페이지 타이틀 ======= */
.bc-site-main #nt_title {
	background: #fff !important;
	border-bottom: 1px solid #e5e8eb;
}

.bc-site-main #nt_title .page-title {
	font-size: 20px !important;
	font-weight: 800 !important;
	color: #191f28 !important;
	letter-spacing: -0.6px;
}

.bc-site-main .na-title {
	background: #fff !important;
	border: none !important;
	border-bottom: 1px solid #e5e8eb !important;
}

.bc-site-main .breadcrumb {
	background: transparent !important;
	margin: 0 !important;
	padding: 0 !important;
}

.bc-site-main .breadcrumb-item a {
	color: #8b95a1 !important;
}

.bc-site-main .breadcrumb-item.active {
	color: #3182f6 !important;
}

/* ======= 게시판 페이지 ======= */
.bc-site-main .board-wrap,
.bc-site-main .bo-list-wrap {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	padding: 20px;
	border: none !important;
}

.bc-site-main .bo-head {
	border-radius: 16px;
	overflow: hidden;
}

/* 게시판 테이블 */
.bc-site-main .bo-table {
	border: none !important;
}

.bc-site-main .bo-table thead th {
	background: #f8f9fa !important;
	border: none !important;
	color: #8b95a1 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	padding: 10px 12px !important;
}

.bc-site-main .bo-table tbody td {
	border-bottom: 1px solid #f2f4f6 !important;
	border-top: none !important;
	padding: 12px !important;
	font-size: 14px;
	color: #4e5968;
}

.bc-site-main .bo-table tbody tr:hover td {
	background: #f8f9fa;
}

.bc-site-main .bo-table a {
	color: #4e5968 !important;
}

.bc-site-main .bo-table a:hover {
	color: #191f28 !important;
}

/* 검색 바 (게시판 내부) */
.bc-site-main .bo-search select,
.bc-site-main .bo-search input {
	border-radius: 10px !important;
}

/* ======= 사이드 위젯 ======= */
.bc-site-main .outlogin {
	background: #fff !important;
	border-radius: 16px !important;
	padding: 16px !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
	border: none !important;
}

/* ======= 회원가입/로그인 폼 ======= */
.bc-site-main .mbskin {
	max-width: 420px;
	margin: 0 auto;
	background: #fff;
	border-radius: 20px;
	padding: 32px 24px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.bc-site-main .mbskin h2,
.bc-site-main .mbskin .h2 {
	font-size: 22px !important;
	font-weight: 800 !important;
	color: #191f28 !important;
	letter-spacing: -0.6px;
	text-align: center;
	margin-bottom: 24px !important;
}

.bc-site-main .mbskin .form-control {
	background: #f2f4f6 !important;
	border: 1.5px solid transparent !important;
	border-radius: 12px !important;
	padding: 12px 14px !important;
	font-size: 15px !important;
}

.bc-site-main .mbskin .form-control:focus {
	border-color: #3182f6 !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(49,130,246,0.12) !important;
}

.bc-site-main .mbskin label {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #4e5968 !important;
	margin-bottom: 6px !important;
}

.bc-site-main .mbskin .btn-primary {
	width: 100%;
	padding: 14px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	border-radius: 14px !important;
	margin-top: 8px;
}

.bc-site-main .mbskin .btn-secondary,
.bc-site-main .mbskin .btn-default {
	border-radius: 12px !important;
	font-weight: 600 !important;
}

.bc-site-main .mbskin table {
	border: none !important;
}

.bc-site-main .mbskin td,
.bc-site-main .mbskin th {
	border: none !important;
	padding: 6px 0 !important;
	vertical-align: middle;
}

.bc-site-main .mbskin th {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #4e5968 !important;
	white-space: nowrap;
	width: 90px;
}

/* ======= 알림/토스트 ======= */
.bc-site-main .alert {
	border: none !important;
	border-radius: 16px !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
	font-size: 14px;
	padding: 16px 20px !important;
}

.bc-site-main .alert-info {
	background: #e8f3ff !important;
	color: #3182f6 !important;
}

.bc-site-main .alert-success {
	background: #e6f9f0 !important;
	color: #00b894 !important;
}

.bc-site-main .alert-danger {
	background: #ffeaec !important;
	color: #f04452 !important;
}

.bc-site-main .alert-warning {
	background: #fff8e6 !important;
	color: #f59f00 !important;
}

/* ======= 탭/네비게이션 ======= */
.bc-site-main .nav-tabs {
	border-bottom: 2px solid #f2f4f6 !important;
}

.bc-site-main .nav-tabs .nav-link {
	border: none !important;
	color: #8b95a1 !important;
	font-weight: 600;
	padding: 10px 16px !important;
	border-radius: 0 !important;
	transition: all 0.15s;
}

.bc-site-main .nav-tabs .nav-link.active,
.bc-site-main .nav-tabs .nav-link:hover {
	color: #3182f6 !important;
	border-bottom: 2px solid #3182f6 !important;
	background: transparent !important;
}

/* ======= 테이블 일반 ======= */
.bc-site-main table.table {
	border: none !important;
}

.bc-site-main table.table thead th {
	background: #f8f9fa !important;
	border: none !important;
	color: #8b95a1;
	font-size: 13px;
	font-weight: 600;
}

.bc-site-main table.table td {
	border-color: #f2f4f6 !important;
	font-size: 14px;
	color: #4e5968;
}

/* ======= 스크롤바 커스텀 ======= */
.bc-site-main ::-webkit-scrollbar {
	width: 6px;
}

.bc-site-main ::-webkit-scrollbar-track {
	background: transparent;
}

.bc-site-main ::-webkit-scrollbar-thumb {
	background: #d1d6db;
	border-radius: 3px;
}

.bc-site-main ::-webkit-scrollbar-thumb:hover {
	background: #8b95a1;
}

/* ======= 모달 ======= */
.bc-site-main .modal-content {
	border: none !important;
	border-radius: 20px !important;
	box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
	overflow: hidden;
}

.bc-site-main .modal-header {
	border-bottom: 1px solid #f2f4f6 !important;
	padding: 18px 24px !important;
}

.bc-site-main .modal-title {
	font-size: 18px !important;
	font-weight: 800 !important;
	color: #191f28 !important;
}

.bc-site-main .modal-body {
	padding: 20px 24px !important;
}

.bc-site-main .modal-footer {
	border-top: 1px solid #f2f4f6 !important;
	padding: 14px 24px !important;
}

/* ======= 토스 스타일 링크 ======= */
.bc-site-main a {
	transition: color 0.1s;
}

/* ======= Rank badge 스타일 ======= */
.bc-site-main .na-rank-red,
.bc-site-main .rank-red {
	background: #f04452 !important;
	color: #fff !important;
	border-radius: 6px !important;
	font-size: 11px !important;
	padding: 2px 6px !important;
}

/* ======= Sideview (회원정보 팝업) ======= */
.bc-site-main .sv_wrap .sv_on {
	border-radius: 12px !important;
	box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
	border: none !important;
}

/* ======= 반응형 메인 조정 ======= */
@media (min-width: 769px) {
	.bc-site-main .row.na-row {
		margin: 0 -6px;
	}

	.bc-site-main .row.na-row > .na-col {
		padding: 0 6px;
	}
}
