body {
    background: #0a0a0a;
    color: #cccccc;
    font-family: monospace;
    padding: 20px 40px 20px 40px;
    line-height: 1.6;
}

h1 {
    margin-bottom: 10px;
    color: #00ff00;
}

.matrix-menu {
    border-bottom: 2px solid #00ff00;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.matrix-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.matrix-menu a {
    text-decoration: none;
    font-family: monospace;
    font-size: 0.95rem;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.matrix-menu a:hover,
.matrix-menu a.active {
    color: #00ff00;
    text-shadow: 0 0 6px rgba(0, 255, 0, 0.4);
}

h2 {
    color: #eeeeee;
}


ul {
    list-style-type: square;
    padding-left: 20px;
    margin-bottom: 30px;
}

li {
    color: #aaaaaa;
    margin-bottom: 5px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin-top: 20px;
}

tr {
    background: #151515;
}

th {
    background: #151515;
    color: #eeeeee;
    padding: 12px;
    border-bottom: 2px solid #444444;
}

td {
    background: #222222;
    padding: 10px;
    border-bottom: 1px solid #444444;
}

a, a:visited, a:hover, a:active {
    color: #4da6ff;
}

.link-button {
    color: #aaa;
    text-decoration: none;
    border: 1px solid #444;
    padding: 6px 12px;
    border-radius: 4px;
    background: #222;
}

.link-button.active {
    color: #fff;
    border-color: #3b82f6;
    background: #1e3a8a;
}

select {
    background: #151515;
    color: #00ff00;
    border: 1px solid #444444;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

select:hover,
select:focus {
    border-color: #00ff00;
    background: #222222;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.2);
}

.expandable-popup-not-expanded {
    cursor: pointer;
    word-break: break-word;
}

#expandablePopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

#expandablePopup div {
    background: #151515;
    border: 1px solid #444444;
    padding: 25px;
    border-radius: 6px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}

#expandablePopup h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #00ff00;
    font-family: monospace;
}

#expandablePopup p {
    word-break: break-word;
    white-space: pre-wrap;
    margin-bottom: 25px;
    color: #cccccc;
    font-family: monospace;
    line-height: 1.5;
}

#expandablePopup button {
    background: #222222;
    color: #00ff00;
    border: 1px solid #444444;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: monospace;
    transition: all 0.2s ease;
}

#expandablePopup button:hover {
    border-color: #00ff00;
    background: #151515;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.2);
}

.pnl-loss {
    color: #ff0000;
    font-weight: bold;
}

.pnl-profit {
    color: #00ff00;
    font-weight: bold;
}

.pnl-open {
    color: #ffff00;
    font-weight: bold;
}

.epic-pills {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    list-style: none;
    padding: 10px 0;
    gap: 12px;
    margin-bottom: 30px;
    scrollbar-width: thin;
    scrollbar-color: #444444 #151515;
}

.epic-pills::-webkit-scrollbar {
    height: 6px;
}

.epic-pills::-webkit-scrollbar-track {
    background: #151515;
    border-radius: 3px;
}

.epic-pills::-webkit-scrollbar-thumb {
    background: #444444;
    border-radius: 3px;
}

.epic-pills li {
    margin: 0;
}

.epic-pills a {
    display: inline-block;
    background: #151515;
    border: 1px solid #444444;
    color: #00ff00;
    padding: 6px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-family: monospace;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.epic-pills a:hover {
    border-color: #00ff00;
    background: #222222;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.2);
}

.tv-lightweight-charts {
    overflow: visible !important;
}

