
:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #151932;
    --bg-tertiary: #1e2742;
    --bg-hover: #252b4a;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #2a3458;
    --success: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f172a;  
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', 'Roboto', sans-serif;
    padding: 0;
    min-height: 100vh;
    line-height: 1.6;
}

.ECG_Title {
    color: #ccc;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 5px;
    text-align: center;
}

#heartbeat-container {
    position: relative;
    background: #1a1f3a;
    border: 1px solid #2a3458;
    border-radius: 4px;
    margin: 10px 0;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0px 40px 40px;
    padding: 20px;
}

#heartbeat-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 15px;
    color: #94a3b8;
    padding-left: 10px;
}

#heartbeat-info {
    font-size: 12px;
    color: #64748b;
    font-family: monospace;
}

#heartbeat {
    width: 100%;
    height: 180px;
    display: block;
    background: linear-gradient(to bottom, #000000 0%, #040b1b 100%);
    border: 1px solid #2e3758;
    border-radius: 4px;
    margin-top: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

#ob-gauge-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 11px;
    color: #64748b;
    font-family: monospace;
}

#ob-gauge {
    flex: 1;
    height: 6px;
    background: #1e293b;
    border-radius: 3px;
    overflow: hidden;
}

#ob-gauge-bid {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    transition: width 0.4s ease;
}

#ob-ask-label {
    color: #ef4444;
}

#ob-bid-label {
    color: #10b981;
}

#vol24h-bar-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 11px;
    color: #64748b;
    font-family: monospace;
}

#vol24h-bar {
    flex: 1;
    height: 4px;
    background: #1e293b;
    border-radius: 2px;
    overflow: hidden;
}

#vol24h-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    transition: width 0.4s ease;
}

#statusLine {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
    font-family: monospace;
}

.manual-section {
    margin-top: 12px;
    background: #1a1f3a;
    border: 1px solid #2a3458;
    border-radius: 4px;
    font-size: 12px;
    color: #64748b;
    font-family: monospace;
    line-height: 1.8;
    margin: 0px 40px 40px;
}

.manual-section-title {
    cursor:pointer; 
    display:flex; 
    justify-content:space-between; 
    align-items:center; 
    border: 1px solid #1a1f3a;
    color:#94a3b8; 
    font-weight:bold; 
    padding: 13px 10px 10px 20px;
}

.manual-section-title:hover {
    border: 1px solid #3d73e9;
}

.manual-section-content {
    border-top: 1px solid #2a3458;
    padding: 20px 0px 10px 20px;
}

.manual-section-content p {
    padding: 5px 0px;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-hover);
}