GNU/_PAGE/menu/board/daemon_main.css
body {
	background-color: #020617;
	color: #e5e7eb;
	font-family: 'Noto Sans KR', sans-serif;
}

html,
body {
	scrollbar-color: #232e42 #0c1224;
	scrollbar-width: thin;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
	width: 12px;
	height: 0;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
	background: #0c1224;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
	background: #232e42;
	border-radius: 10px;
	border: 2px solid #0c1224;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
	background: #3b4a67;
}

.daemon-wrap {
	width: 100%;
	max-width: none;
	margin: 0 auto 60px;
	padding: 0;
}

.daemon-hero {
	height: 150px;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 0 50px;
	margin-bottom: 30px;
	background: linear-gradient(160deg, #0c1224 0%, #0a1020 100%);
	border: 0;
	border-bottom: 1px solid #232e42;
	border-radius: 0;
	box-shadow: none;
	overflow: hidden;
}

.daemon-hero-title-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}
.daemon-hero-title-wrap h1 label {
    font-size:15px;
    margin-left:20px;
    padding-left:20px;
    border-left:1px solid #ddd; 
}

.daemon-hero-icon {
	font-size: 34px;
	color: #a5b4fc;
}

.daemon-hero-title {
	margin: 0;
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.4px;
	color: #f8fafc;
}

.daemon-hero-stats {
	display: flex;
	align-items: center;
	gap: 12px;
}

.daemon-stat-item {
	min-width: 170px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 10px 12px;
	border: 1px solid #232e42;
	border-radius: 5px;
	background-color: rgba(26, 36, 54, 0.52);
}

.daemon-stat-item .material-symbols-rounded {
	font-size: 20px;
	color: #93c5fd;
}

.daemon-stat-item strong {
	font-size: 18px;
	font-weight: 800;
	color: #e7edf9;
	line-height: 1.2;
}

.daemon-stat-item em {
	font-style: normal;
	font-size: 12px;
	font-weight: 600;
	color: #9db1cf;
}

.daemon-layout {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 0 50px;
}

.daemon-sidebar {
	width: 260px;
	flex: 0 0 260px;
	position: sticky;
	top: 20px;
}

.daemon-content {
	flex: 1;
	min-width: 0;
}

.daemon-menu-card {
	background: linear-gradient(160deg, #0c1224 0%, #0a1020 100%);
	border: 1px solid #232e42;
	border-radius: 5px;
	box-shadow: 0 22px 40px rgba(2, 6, 23, 0.62);
	overflow: hidden;
}

.daemon-menu-title {
	margin: 0;
	padding: 16px 16px 14px;
	font-size: 16px;
	font-weight: 700;
	color: #f8fafc;
	border-bottom: 1px solid #1a2436;
	background-color: rgba(26, 36, 54, 0.38);
}

.daemon-menu-list {
	list-style: none;
	margin: 0;
	padding: 8px;
}

.daemon-menu-link {
	display: block;
	padding: 10px 12px;
	border-radius: 5px;
	text-decoration: none;
	color: #d6e2f5;
	font-size: 14px;
	font-weight: 600;
	transition: background-color 0.16s ease;
}

.daemon-menu-link:hover,
.daemon-menu-link.active {
	background-color: rgba(99, 102, 241, 0.2);
}

.daemon-card {
	background: linear-gradient(160deg, #0c1224 0%, #0a1020 100%);
	border: 1px solid #232e42;
	border-radius: 8px;
	box-shadow: 0 22px 40px rgba(2, 6, 23, 0.62);
	overflow: hidden;
}

.daemon-card + .daemon-card {
	margin-top: 16px;
}

.daemon-head {
	padding: 22px 24px 16px;
	border-bottom: 1px solid #1a2436;
	background-color: rgba(26, 36, 54, 0.38);
}

.daemon-head-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.daemon-title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: #f8fafc;
}

.daemon-group {
	margin: 8px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: #93a4bf;
	text-transform: uppercase;
	letter-spacing: 0.7px;
}

.daemon-count {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: #9db1cf;
	white-space: nowrap;
}

.daemon-table {
	width: 100%;
	border-collapse: collapse;
	background-color: #0c1224;
}

.daemon-table th,
.daemon-table td {
	padding: 13px 18px;
	border-bottom: 1px solid #1a2436;
	text-align: left;
}

.daemon-table thead th {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #9db1cf;
	background-color: #1a2436;
	text-transform: uppercase;
    text-align: center;
}

.daemon-table tbody tr {
	transition: background-color 0.16s ease;
}

.daemon-table tbody tr:nth-child(even) {
	background-color: rgba(26, 36, 54, 0.42);
}

.daemon-table tbody tr:hover {
	background-color: rgba(99, 102, 241, 0.2);
}

.daemon-table td.subject {
	font-weight: 600;
	color: #e7edf9;
}

.daemon-table td.group-name {
	color: #b8c6dd;
	font-weight: 600;
    width: 200px;
    text-align:center;
}

.daemon-table td.table-name {
	color: #c4d0e4;
	font-family: Consolas, 'Courier New', monospace;
	font-size: 13px;
    width: 250px;
}

.daemon-table td.extra-desc {
	font-weight: 300;
    width: 380px;
}

.daemon-table td.post-count {
	color: #c9d4e7;
	font-weight: 600;
    width:130px;
    text-align:center;
}

.daemon-table td.board-link {
    width:210px;
    text-align:center;
}

.board-link-actions {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.daemon-table td.board-link a,
.daemon-table td.board-link button {
	display: inline-block;
	padding: 4px 10px;
	border: 1px solid #232e42;
	border-radius: 4px;
	background-color: #1a2436;
	color: #dbe7ff;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	width: 84px;
	cursor: pointer;
}

.daemon-table td.board-link a:hover,
.daemon-table td.board-link button:hover {
	background-color: #232e42;
}

.daemon-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background-color: rgba(2, 6, 23, 0.78);
	z-index: 2000;
	padding: 16px;
}

.daemon-modal.is-open {
	display: flex;
}

.daemon-modal-dialog {
	width: 100vw;
	max-width: 100vw;
	background: #0c1224;
	border: 1px solid #232e42;
	box-shadow: 0 22px 40px rgba(2, 6, 23, 0.62);
	overflow: hidden;
}

.daemon-modal-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	background-color: #1a2436;
	border-bottom: 1px solid #232e42;
	color: #e7edf9;
}

.daemon-modal-close {
	padding: 7px 25px;
	border: 1px solid #232e42;
	border-radius: 4px;
	background-color: #0c1224;
	color: #dbe7ff;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.daemon-modal-close:hover {
	background-color: #232e42;
}

.daemon-modal-body {
	width: 100%;
	height: 800px;
	overflow-x: hidden;
	overflow-y: auto;
	background-color: #020617;
	scrollbar-color: #232e42 #0c1224;
	scrollbar-width: thin;
}

#daemon-board-frame {
	display: block;
	width: 100%;
	height: 800px;
	border: 0;
	overflow-x: hidden;
	overflow-y: auto;
	background-color: #020617;
}

.daemon-modal-body::-webkit-scrollbar,
#daemon-board-frame::-webkit-scrollbar {
	width: 12px;
	height: 0;
}

.daemon-modal-body::-webkit-scrollbar-track,
#daemon-board-frame::-webkit-scrollbar-track {
	background: #0c1224;
}

.daemon-modal-body::-webkit-scrollbar-thumb,
#daemon-board-frame::-webkit-scrollbar-thumb {
	background: #232e42;
	border-radius: 10px;
	border: 2px solid #0c1224;
}

.daemon-modal-body::-webkit-scrollbar-thumb:hover,
#daemon-board-frame::-webkit-scrollbar-thumb:hover {
	background: #3b4a67;
}

body.daemon-modal-open {
	overflow: hidden;
}

.daemon-table td.empty {
	text-align: center;
	color: #a4b2c8;
	padding: 24px 18px;
}

@media (max-width: 768px) {
	.daemon-wrap {
		margin-top: 0;
		padding: 0;
	}

	.daemon-layout {
		display: block;
	}

	.daemon-hero {
		height: auto;
		padding: 16px 20px;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.daemon-layout {
		padding: 0 20px;
	}

	.daemon-hero-title {
		font-size: 24px;
	}

	.daemon-hero-stats {
		width: 100%;
		overflow-x: auto;
	}

	.daemon-sidebar {
		width: 100%;
		flex: none;
		position: static;
		margin-bottom: 14px;
	}

	.daemon-head {
		padding: 16px 14px 12px;
	}

	.daemon-title {
		font-size: 18px;
	}

	.daemon-group {
		font-size: 12px;
	}

	.daemon-count {
		font-size: 12px;
	}

	.daemon-table th,
	.daemon-table td {
		padding: 11px 10px;
		font-size: 13px;
	}
}