GNU/skin/board/daemon_day_upbit/style.write.css
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
	--neon-cyan: #00d4ff;
	--neon-pink: #ff2d55;
	--bg-black: #020617;
	--panel-bg: #000000;
	--input-bg: #050505;
	--border-color: #222222;
	--text-dim: #94a3b8;
	--save-blue: #1d4ed8;
	--save-blue-hover: #2563eb;
	color-scheme: dark;
}

html,
body {
	scrollbar-color: var(--neon-cyan) #050505;
	scrollbar-width: thin;
}

*::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

*::-webkit-scrollbar-track {
	background: #050505;
}

*::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, var(--neon-cyan), #0ea5e9);
	border-radius: 10px;
	border: 2px solid #050505;
}

*::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #67e8f9, var(--neon-cyan));
}

#CYBER_LOADER {
	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;
}

.load-text {
	font-family: 'Orbitron';
	color: var(--neon-cyan);
	letter-spacing: 3px;
	margin-bottom: 20px;
	font-size: 0.9rem;
}

.load-bar-wrap {
	width: 200px;
	height: 1px;
	background: rgba(255, 255, 255, 0.05);
	position: relative;
}

.load-bar {
	width: 0%;
	height: 100%;
	background: var(--neon-cyan);
	animation: loadingProgress 1.5s forwards;
}

@keyframes loadingProgress {
	to {
		width: 100%;
	}
}

#WRITE_WRAP {
	position: relative;
	min-height: 100vh;
	background: var(--bg-black);
	padding: 40px 0;
	font-family: 'Pretendard', sans-serif;
	color: #f8fafc;
	overflow-x: hidden;
}

#space-canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
	opacity: 0.15;
}

#WRITE {
	position: relative;
	z-index: 2;
	width: calc(100% - 100px);
	margin: 0 50px;
	max-width: none !important;
	animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

#fwrite {
	background: var(--panel-bg);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
	overflow: hidden;
	position: relative;
}

#fwrite::before,
#fwrite::after {
	content: '';
	position: absolute;
	width: 30px;
	height: 30px;
	border: 2px solid var(--neon-cyan);
	z-index: 10;
	pointer-events: none;
	opacity: 0.6;
}

#fwrite::before {
	top: -1px;
	left: -1px;
	border-right: 0;
	border-bottom: 0;
}

#fwrite::after {
	bottom: -1px;
	right: -1px;
	border-left: 0;
	border-top: 0;
}

.form-header {
	padding: 20px 30px;
	border-bottom: 1px solid var(--border-color);
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: linear-gradient(90deg, rgba(0, 212, 255, 0.05), transparent);
}

.form-header h2 {
	margin: 0;
	font-family: 'Orbitron', 'Pretendard';
	font-size: 1.1rem;
	color: var(--neon-cyan);
	font-weight: 700;
	letter-spacing: 1.5px;
}

.write-table {
	width: 100%;
	border-collapse: collapse;
}

.write-table tr {
	border-bottom: 1px solid var(--border-color);
}

.td-label {
	width: 300px;
	padding: 20px 25px;
	color: var(--text-dim);
	font-size: 1rem;
	font-family: 'Pretendard';
	font-weight: 600;
	background: #080808;
	border-right: 1px solid var(--border-color);
}

.td-label i {
	margin-right: 10px;
	color: var(--neon-cyan);
	font-size: 0.85rem;
}

.help-tip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 8px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid rgba(0, 212, 255, 0.35);
	background: rgba(0, 212, 255, 0.08);
	position: relative;
	vertical-align: middle;
	cursor: help;
}

.help-tip i {
	margin: 0 !important;
	font-size: 0.65rem !important;
	color: var(--neon-cyan) !important;
}

.help-tip::after {
	content: attr(data-tip);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	/* transform: translateX(-50%); */
	background: rgba(2, 6, 23, 0.95);
	border: 1px solid rgba(0, 212, 255, 0.4);
	color: #e2e8f0;
	font-size: 0.84rem;
	font-weight: 500;
	line-height: 1.35;
	padding: 7px 15px;
	border-radius: 6px;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s ease;
	z-index: 50;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.help-tip:hover::after {
	opacity: 1;
	visibility: visible;
}

input[type="text"],
input[type="date"],
input[type="time"],
select,
textarea {
	background: var(--input-bg) !important;
	border: 1px solid #333 !important;
	color: #f1f5f9 !important;
	padding: 8px 12px !important;
	border-radius: 4px !important;
	font-size: 1rem;
	transition: 0.3s;
	font-family: 'JetBrains Mono', 'Pretendard', monospace;
}

input[type="text"]:hover,
input[type="date"]:hover,
input[type="time"]:hover,
select:hover,
textarea:hover {
	border-color: var(--neon-pink) !important;
	background: #020202 !important;
}

.sel-unit {
	width: 75px !important;
}

select[name="x2_coin"] {
	width: 200px !important;
}

input[type="text"]:focus,
select:focus,
textarea:focus {
	border-color: var(--neon-cyan) !important;
	outline: none;
	background: #000 !important;
	box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.4);
}

.run-toggle-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.03);
	padding: 5px 15px;
	border-radius: 20px;
	border: 1px solid #333;
	margin-left: auto;
}

.run-main-title {
	font-size: 0.88rem;
	font-weight: 700;
	color: #86efac;
	letter-spacing: 0.3px;
	margin-left: 0;
	margin-right: 6px;
	white-space: nowrap;
}

.toggle-switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 24px;
}

.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #222;
	transition: .4s;
	border-radius: 24px;
	border: 1px solid #444;
}

.slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 4px;
	bottom: 3px;
	background-color: #666;
	transition: .4s;
	border-radius: 50%;
}

input:checked+.slider {
	background-color: rgba(0, 212, 255, 0.2);
	border-color: var(--neon-cyan);
}

input:checked+.slider:before {
	transform: translateX(34px);
	background-color: var(--neon-cyan);
	box-shadow: 0 0 10px var(--neon-cyan);
}

.toggle-label {
	font-family: 'Orbitron';
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 1px;
}

.live-status-bar {
	width: 100%;
	margin-top: 15px;
	padding: 10px 15px;
	background: rgba(0, 212, 255, 0.05);
	border-left: 3px solid var(--neon-cyan);
	font-family: 'JetBrains Mono';
	font-size: 1rem;
	color: var(--neon-cyan);
	display: flex;
	gap: 15px;
	border-radius: 0 4px 4px 0;
}

.live-status-bar span {
	color: #94a3b8;
	font-weight: normal;
	margin-right: 2px;
}

.live-status-bar b {
	color: #f1f5f9;
	font-weight: bold;
}

.chk-box {
	appearance: none;
	width: 18px;
	height: 18px;
	border: 1px solid #333;
	background: #050505;
	border-radius: 3px;
	cursor: pointer;
	position: relative;
	vertical-align: middle;
	margin-right: 5px;
}

.chk-box:checked {
	background: var(--neon-cyan);
	border-color: var(--neon-cyan);
}

.chk-box:checked::after {
	content: '\f00c';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	color: #000;
	font-size: 11px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.chk-label {
	font-size: 0.8rem;
	color: #f1f5f9;
	cursor: pointer;
	margin-right: 15px;
	font-weight: 600;
}

.btn-action {
	border: 1px solid #333;
	background: #111;
	color: var(--text-dim);
	padding: 8px 18px;
	border-radius: 4px;
	font-family: 'Pretendard';
	font-weight: 600;
	cursor: pointer;
	transition: 0.2s;
	font-size: 1rem;
}

.btn-action:hover {
	border-color: var(--neon-cyan);
	color: var(--neon-cyan);
	background: #000;
}

.btn-save-top {
	background: var(--save-blue);
	color: #eff6ff;
	border-color: #1e40af;
}

.btn-save-top:hover {
	background: var(--save-blue-hover);
	border-color: #3b82f6;
	color: #ffffff;
}

.btn-save-main {
	background: var(--neon-cyan);
	color: #020617;
	padding: 16px 70px;
	font-size: 1rem;
	font-weight: 800;
	margin-top: 30px;
	border: none;
	border-radius: 6px;
	transition: 0.3s;
	cursor: pointer;
	font-family: 'Pretendard';
	letter-spacing: 1px;
}

.btn-save-main:hover {
	background: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.btn-editor-toggle {
	border: 1px solid var(--neon-cyan);
	background: rgba(0, 212, 255, 0.08);
	color: var(--neon-cyan);
	padding: 8px 14px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9rem;
}

.btn-editor-toggle:hover {
	background: rgba(0, 212, 255, 0.16);
	color: #e0f2fe;
}

.btn-option-pack {
	background: rgba(239, 68, 68, 0.18);
	border-color: rgba(239, 68, 68, 0.65);
	color: #fca5a5;
}

.btn-option-pack:hover {
	background: rgba(239, 68, 68, 0.3);
	border-color: rgba(248, 113, 113, 0.8);
	color: #ffe4e6;
}

.btn-option-pack.active {
	background: rgba(190, 24, 93, 0.22);
	border-color: rgba(244, 114, 182, 0.75);
	color: #fbcfe8;
}

/* 타격기 매매 : 매수 & 매도 */
.target_table {
	width: 100%;
	background: #071125;
	margin-bottom:-3px;
}
.target_table .table_title td { 
	height: 60px;
	line-height: 60px;	
	background: #010814;
	font-size: 1.1rem;
	font-weight: 700; 
	text-align: center;
	
}
.target_table .table_title td div {
	display: inline-block;
	width:33%;
}
.target_table .table_title td div span {
	color: #3dff67;
	font-size: 0.9rem;
	padding: 0px 15px;
}
.target_table td {
	width: 50%;
	border-bottom: 1px solid #1a2436;
	padding: 0px; margin: 0px;
}

.target_table td ul li {
	float:left;
	font-size: 0.9rem;
}
.target_name,
.target_tip,
.target_run,
.target_option {
	height: 70px;
	line-height: 70px;
}
.target_name {
	width:200px;
	background: #030e20;
	padding-left: 20px;
}
.target_name i {
	color: var(--neon-cyan) !important;
	margin-right: 10px;
}
.target_tip {
	background: #030e20;
	padding-right: 10px;
}
.target_run {
	width: 150px;
	text-align: center;
}
.target_option {
	margin-right: 15px;
}

.additional-option-row {
	display: none;
}

.tag-input-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.file-row {
	display: none;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	padding: 12px;
	background: #080808;
	border: 1px solid #333;
	border-radius: 4px;
	border-left: 3px solid var(--neon-cyan);
}

.file-row.active {
	display: flex;
}

#Editor-Area {
	border-top: 1px solid var(--border-color);
	padding: 30px;
	background: #050505;
}

.subject-live-msg {
	min-width: 220px;
	font-size: 0.85rem;
	font-family: 'Pretendard';
	font-weight: 600;
}

.subject-live-msg.error {
	color: var(--neon-pink);
}

.subject-live-msg.ok {
	color: #22d3ee;
}

.form-header-actions {
	display: flex;
	gap: 10px;
}

.td-content {
	padding: 20px 30px;
}

.td-no-border {
	border-bottom: none;
}

.td-content-tag {
	padding: 10px 30px 20px 30px;
}

.row-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.row-center {
	display: flex;
	align-items: center;
}

.row-gap-10 {
	gap: 10px;
}

.row-gap-12 {
	gap: 12px;
}

.row-gap-15 {
	gap: 15px;
}

.row-gap-20 {
	gap: 20px;
}

.ml-10 {
	margin-left: 10px;
}

.ml-20 {
	margin-left: 20px;
}

.ml-50 {
	margin-left: 50px;
}

.month-repeat-wrap {
	margin: 0 7px 0 20px;
}

.label-neon-sm {
	color: var(--neon-pink);
	font-family: 'Orbitron';
	font-size: 0.8rem;
	font-weight: bold;
}

.label-neon-md {
	color: var(--neon-pink);
	font-size: 0.85rem;
	font-weight: 800;
	font-family: 'Pretendard';
}

.text-dim-md {
	color: var(--text-dim);
	font-size: 0.8rem;
	font-family: 'Pretendard';
}

.mode-title {
	color: var(--text-dim);
	font-size: 1rem;
	font-weight: 800;
	font-family: 'Orbitron';
}

.mode-desc {
	color: var(--text-dim);
	font-size: 1rem;
	font-family: 'Pretendard';
}

.input-ver {
	width: 70px;
	text-align: center;
}

.input-w80-center {
	width: 80px;
	text-align: center;
}

.input-w120-right {
	width: 120px;
	text-align: right;
}

.input-subject {
	width: 200px;
	font-size: 1rem;
	font-weight: 600;
	text-align: right;
}

.input-tag {
	flex: 1;
	border: none !important;
	background: transparent !important;
	font-size: 0.8rem;
}

.input-flex {
	flex: 1;
}

.toggle-stop {
	color: var(--text-dim);
}

.toggle-run {
	color: var(--neon-cyan);
}

.run-toggle-inline {
	margin-left: 0;
}

.tag-title {
	color: var(--neon-pink);
	font-size: 1rem;
	font-weight: bold;
}

.editor-toggle-cell {
	text-align: center;
	padding: 12px;
	background: rgba(255, 255, 255, 0.02);
	border-top: 1px solid var(--border-color);
}

.editor-link-box {
	margin-bottom: 30px;
	padding: 20px;
	background: #0a0a0a;
	border: 1px solid #333;
	border-radius: 8px;
}

.editor-title {
	font-family: 'Pretendard';
	font-size: 0.8rem;
	margin: 0;
}

.editor-title-link {
	color: var(--neon-cyan);
	margin-bottom: 18px;
}

.editor-title-files {
	color: var(--text-dim);
	margin-bottom: 15px;
	opacity: 0.8;
}

.link-grid {
	display: grid;
	gap: 12px;
}

.link-label {
	font-size: 0.7rem;
	color: var(--text-dim);
	width: 70px;
}

.editor-body-wrap {
	margin-bottom: 25px;
}

.editor-files-wrap {
	padding-top: 25px;
	border-top: 1px solid var(--border-color);
}

.file-picker-label {
	cursor: pointer;
	font-family: 'JetBrains Mono';
	color: var(--neon-cyan);
	font-size: 0.7rem;
}

.hidden-file-input {
	display: none;
}

.file-name-text {
	color: #666;
	font-size: 1rem;
	flex: 1;
	margin-left: 12px;
}

.file-name-picked {
	color: var(--neon-cyan);
}

.file-delete-label {
	color: var(--neon-pink);
	margin-left: 15px;
	cursor: pointer;
	font-size: 0.65rem;
	font-weight: bold;
}

.file-content-input {
	width: 250px;
	font-size: 1rem !important;
	background: rgba(0, 0, 0, 0.3) !important;
}

.btn-file-add {
	font-size: 0.65rem;
	padding: 6px 14px;
	margin-top: 10px;
}

.submit-footer {
	padding: 40px 0;
	text-align: center;
	background: #080808;
	border-top: 1px solid var(--border-color);
}

.status-running {
	color: var(--neon-cyan);
}

.status-stopped {
	color: var(--neon-pink);
}

.all-day-badge {
	color: var(--neon-cyan);
}