:root {
    --bg-dark: #1e1e2e;
    --bg-card: #252538;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0b0;
    --accent: #7961f2;
    --success: #2ecc71;
    --danger: #e74c3c;
    --nav-width: 250px;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

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

.top-row {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #161621;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

.layout {
    display: flex;
    height: calc(100vh - 60px);
    margin-top: 60px;
}

.sidebar {
    width: var(--nav-width);
    background-color: #161621;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #333;
}

.sidebar-header {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent);
    border-bottom: 1px solid #333;
}

.nav-menu {
    flex: 1;
    padding: 10px;
}

.nav-item {
    display: block;
    padding: 12px 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

    .nav-item:hover, .nav-item.active {
        background-color: rgba(121, 97, 242, 0.1);
        color: var(--accent);
    }

.content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.card-title {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 600;
}

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

.big-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.normal-number {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-primary);
}

.trend-up {
    color: var(--success);
    font-size: 0.9rem;
}

.trend-down {
    color: var(--danger);
    font-size: 0.9rem;
}

/* Simple Chart Styles */
.chart-container {
    height: 300px;
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.bar {
    background-color: var(--accent);
    transition: height 0.5s ease;
    border-radius: 4px 4px 0 0;
    position: relative;
}

    .bar:hover {
        opacity: 0.8;
    }

.bar-label {
    position: absolute;
    bottom: -25px;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flex-row {
    display: flex;
    gap: 20px;
}

.flex-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.full-width {
    width: 100%;
}
