:root {
    --primary-font: 'Inter', sans-serif;
    --card-bg: #ffffff;
    --bg-body: #f8f9fa;
    --accent-green: #198754;
    --accent-green-light: #e8f5e9;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
}

body {
    padding-top: 0 !important; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.2s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.stat-value {
    font-weight: 800;
    font-size: 2rem;
    color: var(--text-dark);
}

/* Icon Boxes */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.bg-light-green { background-color: #d1e7dd; }
.text-green { color: #198754; }

.bg-light-orange { background-color: #ffecb5; }
.text-orange { color: #ffc107; }

.bg-light-blue { background-color: #cfe2ff; }
.text-blue { color: #0d6efd; }

.bg-light-purple { background-color: #e0cffc; }
.text-purple { color: #6f42c1; }

.bg-green-subtle {
    background-color: #d1e7dd;
    color: #0f5132;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Charts Containers */
.card {
    border-radius: 16px;
}

/* Activity Items */
.activity-item {
    transition: background-color 0.2s;
    border-left: 3px solid transparent;
}

.activity-item:hover {
    background-color: #f8f9fa;
    border-left-color: var(--accent-green);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--text-muted);
}

.main-content {
    /* Push content down below the fixed navbar */
    /* Adjust 90px if your navbar is taller/shorter */
    padding-top: 100px; 
    flex: 1; /* Ensures footer stays at bottom if content is short */
}

/* Ensure footer doesn't overlap if using fixed positioning (though usually standard flow is best) */
footer {
    margin-top: auto;
}