:root {
    --bg-dark: #121826;
    --sidebar-bg: #1a202e;
    --accent-green: #68d391;
    --text-main: #ffffff;
    --text-muted: #a0aec0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: var(--sidebar-bg);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.sidebar li {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 5px;
}

.sidebar li.active {
    background-color: rgba(104, 211, 145, 0.2);
    border-left: 4px solid var(--accent-green);
}

.transaction-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.transaction-table th {
    text-align: left;
    color: var(--text-muted);
    padding: 15px;
    border-bottom: 1px solid #2d3748;
}

.transaction-table td {
    padding: 15px;
    border-bottom: 1px solid #2d3748;
}

.profit-positive {
    color: var(--accent-green);
    font-weight: bold;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.metric-card {
    background-color: var(--sidebar-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
}

.metric-label {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.metric-value {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 8px;
}

.metric-change {
    font-size: 13px;
    color: var(--text-muted);
}

.metric-change.positive {
    color: var(--accent-green);
}

.dashboard-section {
    margin-top: 40px;
}

.dashboard-section h2 {
    margin-top: 0;
    color: var(--text-main);
}