:root {
    --primary: #3b82f6;     /* blue-500 */
    --secondary: #6366f1;   /* indigo-500 */
    --success: #10b981;     /* emerald-500 */
    --info: #0ea5e9;        /* sky-500 */
    --warning: #f59e0b;     /* amber-500 */
    --danger: #ef4444;      /* red-500 */
    --purple: #8b5cf6;      /* violet-500 */
    --pink: #ec4899;        /* pink-500 */
    
    --bg-color: #f8fafc;    /* slate-50 */
    --surface: #ffffff;
    --text-main: #0f172a;   /* slate-900 */
    --text-muted: #64748b;  /* slate-500 */
    --border-color: #e2e8f0;/* slate-200 */
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

/* Typography & Layout */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.dashboard-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* Clean Cards */
.clean-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.clean-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

/* Stat Cards */
.stat-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.25rem;
}

.stat-content h3 {
    margin: 0;
    font-size: 1.75rem;
    color: var(--text-main);
}

.stat-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Work Category Cards */
.category-card {
    padding: 1.5rem;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: white;
}

.category-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.category-count {
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 600;
}

/* CSS Flexbox Graph - Clean Modern Style */
.css-graph-container {
    display: flex;
    align-items: flex-end;
    height: 250px;
    gap: 12px;
    padding: 20px 10px 30px 10px;
    margin-top: 10px;
}

.css-bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    position: relative;
    /* Background track for the bar */
    background: #f1f5f9;
    border-radius: 8px;
    overflow: visible;
}

.css-bar {
    width: 100%;
    background-color: var(--bar-color, var(--primary));
    border-radius: 8px;
    transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
    height: var(--bar-height, 0%);
    min-height: 4px;
    position: relative;
}

.css-bar-wrapper:hover .css-bar {
    opacity: 0.8;
}

.bar-label {
    position: absolute;
    bottom: -28px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    width: 150%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bar-value {
    position: absolute;
    top: -35px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.2s ease;
    z-index: 10;
}

.css-bar-wrapper:hover .bar-value {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
    animation: slideUpFade 0.5s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.10s; }
.delay-3 { animation-delay: 0.15s; }
.delay-4 { animation-delay: 0.20s; }
.delay-5 { animation-delay: 0.25s; }
.delay-6 { animation-delay: 0.30s; }
.delay-7 { animation-delay: 0.35s; }
