DATA/WATCHMAN/watchman/daemon_watchman_trading_main.css
:root {
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --border-color: #334155;
    --text-main: #f1f5f9;
    --text-dim: #94a3b8;
    --primary: #3b82f6;
    --success: #10b981;
    --danger: #ef4444;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Pretendard', sans-serif;
    background: var(--bg-main); color: var(--text-main);
    padding: 0; min-height: 100vh;
    opacity: 0; transition: opacity 0.5s ease;
}
body.loaded { opacity: 1; }

.page-loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-main); display: flex; justify-content: center; align-items: center; z-index: 1000;
}
.page-loader.hidden { opacity: 0; visibility: hidden; transition: 0.5s; }
.spinner { width: 40px; height: 40px; border: 4px solid rgba(255,255,255,0.1); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.header-area {
    display: flex; justify-content: space-between; align-items: center;
    margin: 40px 40px 0px 40px;
}
h2 { font-size: 24px; font-weight: 700; color: #fff; margin: 0; }

.search-container { position: relative; }
.search-input {
    background: var(--bg-card); border: 1px solid var(--border-color); color: #fff;
    padding: 10px 15px 10px 40px; border-radius: 8px; font-size: 14px; width: 300px;
    outline: none; transition: 0.3s;
}
.search-input:focus { border-color: var(--primary); width: 350px; }
.search-container::before {
    content: '🔍'; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); opacity: 0.5;
}

.notice {
    background: rgba(59, 130, 246, 0.1); border-left: 4px solid var(--primary);
    padding: 15px 20px; margin-bottom: 25px; border-radius: 4px; color: var(--primary); font-weight: 500;
}

table {
    width: calc(100% - 80px);
    border-collapse: separate; border-spacing: 0;
    background: var(--bg-card); border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border-color);
    margin: 0px 40px;
}
th {
    background: #111827; padding: 16px 20px; text-align: left;
    color: var(--text-dim); font-size: 11px; text-transform: uppercase; border-bottom: 1px solid var(--border-color);
}
th:last-child { text-align: right; }
td {
    padding: 14px 20px; border-bottom: 1px solid var(--border-color);
    vertical-align: middle; font-size: 14px; color: var(--text-main);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255, 255, 255, 0.02); }

button { padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 700; transition: 0.2s; }
button.start { background: var(--success); color: #fff; }
button.start:hover { background: #059669; }
button.stop { background: var(--danger); color: #fff; }
button.stop:hover { background: #dc2626; }
button.btn-save { background: var(--primary); color: #fff; padding: 6px 12px; font-size: 11px; margin-left: 6px; }
button.btn-save:hover { background: #2563eb; }

.input-edit {
    background: #0f172a; border: 1px solid var(--border-color); color: #fff;
    padding: 7px 10px; border-radius: 6px; font-size: 12px; width: 150px; outline: none;
}
.input-edit:focus { border-color: var(--primary); }

.badge-kind { padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.badge-kind-first { background: rgba(59, 130, 246, 0.2); color: #60a5fa; margin-right: 5px; }
.badge-kind-last { background: rgba(168, 85, 247, 0.2); color: #a78bfa; margin-left: 5px; }
.kind-center-text { font-weight: 600; }
.status-running { color: var(--success); font-weight: 800; display: flex; align-items: center; }
.status-running::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--success); border-radius: 50%; margin-right: 8px; box-shadow: 0 0 8px var(--success); }
.file-path { font-size: 12px; color: #64748b; display: block; margin-bottom: 2px; }
.file-name { font-family: monospace; color: #60a5fa; font-size: 14px; }

td:last-child { text-align: right; }
td:last-child form { display: inline-flex !important; justify-content: flex-end; align-items: center; width: 100%; }