@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
	--neon-cyan: #00d4ff;
	--neon-pink: #ff2d55;
	--neon-green: #39ff14;
	--bg-black: #020617;
	--panel-bg: #000000;
	--input-bg: #050505;
	--border-color: #1e293b;
	--text-dim: #94a3b8;
	--side-margin: 50px;
	color-scheme: dark;
}

body {
	background: var(--bg-black);
}
#SYSTEM_INIT {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--bg-black);
	z-index: 10000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: opacity 0.5s ease;
}

.init-text {
	font-family: 'Orbitron';
	color: var(--neon-cyan);
	letter-spacing: 3px;
	margin-bottom: 20px;
	font-size: 0.9rem;
}

.init-bar-wrap {
	width: 200px;
	height: 1px;
	background: rgba(255, 255, 255, 0.05);
	position: relative;
}

.init-bar {
	width: 0%;
	height: 100%;
	background: var(--neon-cyan);
	animation: initProgress 1.2s forwards;
}

@keyframes initProgress {
	to {
		width: 100%;
	}
}

#LIST_WRAP {
	position: relative;
	min-height: 100vh;
	padding: 10px 0px 40px 0;
	font-family: 'Pretendard', sans-serif;
	color: #f1f5f9;
	overflow-x: hidden;
}

#starCanvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
	opacity: 0.15;
}

#LIST_CONTENT {
	position: relative;
	z-index: 2;
	width: calc(100% - 100px);
	margin: 0 var(--side-margin);
	max-width: none;
	animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.list-frame {
	background: var(--panel-bg);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
	overflow: hidden;
	position: relative;
}

.Header-Area {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px 40px;
	border-bottom: 1px solid var(--border-color);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.TopTitle p {
	font-family: 'Pretendard', sans-serif;
	font-size: 1.3rem;
	font-weight: 900;
	margin: 0;
	color: #fff;
	letter-spacing: 1px;
}

.TopTitle span {
	display: block;
	margin-top: 5px;
	font-size: 1rem;
	color: var(--neon-cyan);
	letter-spacing: 1px;
	font-weight: 600;
}

.btn-cyber {
	background: var(--neon-cyan);
	color: #020617 !important;
	font-family: 'Pretendard';
	font-weight: 800;
	border: none;
	padding: 10px 25px;
	cursor: pointer;
	border-radius: 4px;
	transition: 0.3s;
	font-size: 1rem;
}

.btn-cyber:hover {
	background: #fff;
	box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
	transform: translateY(-2px);
}

.btn-admin {
	background: #334155;
	color: #fff !important;
	font-family: 'Pretendard';
	font-weight: 700;
	border: none;
	padding: 10px 20px;
	cursor: pointer;
	border-radius: 4px;
	transition: 0.3s;
	font-size: 1rem;
	margin-right: 5px;
}

.btn-admin:hover {
	background: #475569;
}

.table-wrapper {
	width: 100%;
	overflow-x: auto;
}

.List-Table {
	width: 100%;
	border-collapse: collapse;
	min-width: 1200px;
}

.List-Table thead th {
	background: #080c14;
	padding: 15px 10px;
	color: var(--text-dim);
	font-family: 'Pretendard';
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	border-bottom: 2px solid var(--border-color);
	letter-spacing: 0.5px;
}

.List-Table tbody tr {
	border-bottom: 1px solid var(--border-color);
	transition: 0.2s;
	cursor: pointer;
}

.List-Table tbody tr:hover {
	background: rgba(0, 212, 255, 0.03);
}

.List-Table tbody td {
	padding: 15px 10px;
	text-align: center;
	font-size: 1rem;
	font-family: 'JetBrains Mono', 'Pretendard';
	color: #cbd5e1;
}

.td-num {
	color: var(--text-dim);
	font-size: 1rem;
	opacity: 0.6;
}

.td-stat.run {
	color: var(--neon-cyan);
	font-weight: 800;
}

.td-stat.stop {
	color: var(--neon-pink);
	font-weight: 800;
}

.td-trade {
	font-weight: 800;
}

.td-trade.buy {
	color: var(--neon-cyan);
}

.td-trade.sell {
	color: var(--neon-pink);
}

.td-mode {
	color: #e2e8f0;
	font-weight: 700;
}

.td-coin {
	color: var(--neon-green) !important;
	font-weight: 700;
	text-align: left !important;
	text-shadow: 0 0 5px rgba(57, 255, 20, 0.3);
	padding-left: 20px;
}

.td-subject {
	text-align: right !important;
	color: #fff !important;
	font-weight: 700;
	padding-right: 25px !important;
}

.td-help { width: 320px; font-size: 1rem; padding-right: 20px !important; }
.td-help span {
	display: inline-block;
	width: 100%;
	background: #008800;
	border: 1px solid #005a00;
	border-radius: 5px;
	color: #fff;
	padding: 5px 15px;
}

.td-help2 { width: 320px; font-size: 1rem; padding-right: 20px !important; }
.td-help2 span {
	display: inline-block;
	width: 100%;
	background: #880000;
	border: 1px solid #5a0000;
	border-radius: 5px;
	color: #fff;
	padding: 5px 15px;
}

.notice-pin {
	color: var(--neon-pink);
}

.comment-count {
	color: var(--neon-pink);
	font-size: 1rem;
	font-family: Orbitron;
}

.Control-Bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 40px;
	background: rgba(0, 0, 0, 0.3);
	border-bottom: 1px solid var(--border-color);
}

.control-left {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.quick-links {
	display: flex;
	gap: 5px;
	margin-left: 5px;
}

.control-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sub-btn,
.control-select {
	background: #0f172a !important;
	border: 1px solid var(--border-color) !important;
	color: #f1f5f9 !important;
	padding: 7px 14px !important;
	border-radius: 4px !important;
	font-size: 1rem;
	cursor: pointer;
	transition: 0.2s;
	font-family: 'Pretendard';
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.sub-btn:hover,
.control-select:hover {
	border-color: var(--neon-cyan) !important;
	color: var(--neon-cyan) !important;
	background: #020617 !important;
	box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.live-search {
	width: 240px;
	background: #0f172a;
	border: 1px solid #334155;
	color: #fff;
	font-size: 0.9rem;
	outline: none;
	padding: 8px 12px;
	border-radius: 6px;
	font-family: 'Pretendard';
	transition: 0.2s;
}

.live-search:focus,
.live-search:hover {
	border-color: var(--neon-cyan);
	box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.Pagination {
	text-align: center;
	padding: 50px 0;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.list-summary-wrap {
	margin: 0 0 30px;
	padding: 0 2px;
}

.summary-title {
	font-family: 'Orbitron';
	font-size: 1.05rem;
	color: var(--neon-cyan);
	font-weight: 700;
	letter-spacing: 1px;
	margin-bottom: 14px;
}

.summary-title i {
	margin-right: 8px;
}

.summary-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.summary-card {
	background: #060b15;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 14px;
}

.summary-card-title {
	font-family: 'Pretendard';
	font-size: 0.92rem;
	font-weight: 700;
	color: #cbd5e1;
	margin-bottom: 10px;
}

.summary-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.summary-links.two-col .summary-link {
	min-width: 200px;
}

.summary-link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 8px 10px;
	border-radius: 5px;
	background: #0b1220;
	border: 1px solid #1e293b;
	text-decoration: none;
	color: #e2e8f0;
	font-size: 0.9rem;
	font-family: 'JetBrains Mono', 'Pretendard';
}

.summary-link:hover {
	border-color: var(--neon-cyan);
	color: var(--neon-cyan);
	background: #08101e;
}

.summary-link b {
	font-weight: 800;
	color: #f8fafc;
}

.sum-key {
	font-family: 'Pretendard';
	font-weight: 600;
	color: #cbd5e1;
}

.sum-key.sum-coin {
	color: var(--neon-green);
	font-weight: 700;
}

.summary-empty {
	color: var(--text-dim);
	font-size: 0.9rem;
}

.Pagination a,
.Pagination b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	font-family: 'JetBrains Mono';
	font-size: 1rem;
	color: var(--text-dim);
	text-decoration: none;
	border: 1px solid var(--border-color);
	border-radius: 4px;
}

.Pagination b {
	background: var(--neon-cyan);
	color: #020617;
	border-color: var(--neon-cyan);
	font-weight: 800;
}

.cyber-modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 550px;
	background: #080808;
	padding: 35px;
	border: 1px solid var(--neon-cyan);
	z-index: 10001;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9);
	border-radius: 8px;
}

.modal-header {
	font-family: 'Pretendard';
	color: var(--neon-cyan);
	font-size: 1.1rem;
	margin-bottom: 25px;
	border-bottom: 1px solid #222;
	padding-bottom: 15px;
	font-weight: 700;
}

#SCH_WRAP {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	z-index: 10002;
	align-items: center;
	justify-content: center;
}

#SCH_WRAP .cyber-modal {
	display: block;
	position: relative;
	top: auto;
	left: auto;
	transform: none;
}

.notice-content {
	font-size: 0.95rem;
	line-height: 1.8;
	color: #cbd5e1;
	max-height: 400px;
	overflow-y: auto;
	margin-bottom: 30px;
	font-family: 'Pretendard';
	white-space: pre-wrap;
}

.notice-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.btn-admin-notice {
	background: #0f172a;
	border: 1px solid var(--neon-cyan);
	color: var(--neon-cyan) !important;
}

.search-input {
	width: 100%;
	background: #0f172a;
	border: 1px solid #334155;
	color: #fff;
	font-size: 1.1rem;
	outline: none;
	padding: 15px;
	border-radius: 8px;
	font-family: 'Pretendard';
}

.search-actions {
	margin-top: 30px;
	display: flex;
	gap: 12px;
}

.btn-flex-1 {
	flex: 1;
}

.no-data {
	text-align: center;
	padding: 100px;
	color: var(--text-dim);
}

@media (max-width: 1024px) {
	:root {
		--side-margin: 20px;
	}

	#LIST_CONTENT {
		width: calc(100% - 40px);
		margin: 0 20px;
	}

	.Control-Bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.control-right {
		width: 100%;
	}

	.live-search {
		width: 100%;
	}

	.summary-grid {
		grid-template-columns: 1fr;
	}
}
