/* BASE */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #0b1220 0%, #020617 100%);
    color: #e2e8f0;
}

/* LAYOUT */
.app {
    display: flex;
    height: 100vh;
}

/* SIDEBAR */
.sidebar {
    width: 260px;
    background: #020617;
    padding: 25px;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-size: 22px;
    font-weight: 600;
    color: #22d3ee;
    margin-bottom: 30px;
}

.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 10px;
    color: #94a3b8;
    transition: 0.2s;
}

.sidebar nav a.active {
    background: rgba(34,211,238,0.1);
    color: #22d3ee;
}

.sidebar nav a:hover {
    background: rgba(255,255,255,0.05);
}

/* MAIN */
.main {
    flex: 1;
    padding: 25px 30px;
}

/* TOPBAR */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.card {
    background: linear-gradient(145deg, #020617, #020617);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.card h3 {
    font-size: 13px;
    color: #94a3b8;
}

.card p {
    font-size: 22px;
    margin-top: 8px;
}

/* GLOW COLORS */
.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    opacity: 0.2;
}

.card:nth-child(1)::after { box-shadow: 0 0 25px #22d3ee; }
.card:nth-child(2)::after { box-shadow: 0 0 25px #f59e0b; }
.card:nth-child(3)::after { box-shadow: 0 0 25px #ef4444; }
.card:nth-child(4)::after { box-shadow: 0 0 25px #3b82f6; }
.card:nth-child(5)::after { box-shadow: 0 0 25px #a855f7; }

/* CHART AREA */
.charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 25px;
}

.chart-box {
    background: #020617;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* TABLE */
.table-box {
    margin-top: 25px;
    background: #020617;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

input {
    background: #0b1220;
    border: none;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    width: 200px;
}

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

thead th {
    text-align: left;
    font-size: 12px;
    color: #64748b;
    padding-bottom: 10px;
}

tbody tr {
    transition: 0.2s;
}

tbody tr:hover {
    background: rgba(255,255,255,0.03);
}

td {
    padding: 14px 0;
    font-size: 14px;
}

/* PROFIT COLORS */
.positive { color: #22c55e; }
.negative { color: #ef4444; }