:root {
    --orange-bg: #f9b24d;
    --sidebar-bg: #ffffff;
    --text-dark: #4a4a4a;
    --card-bg: #ffffff;
    --accent-teal: #1abc9c;
    --accent-yellow: #f1c40f;
    --accent-coral: #e77e61;
}

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

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    height: 100vh;
    position: fixed;
    border-right: 2px solid #e0e0e0;
    z-index: 10;
}

.logo-area {
    padding: 30px 20px;
    border-bottom: 2px solid var(--orange-bg);
}

.brand-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--orange-bg);
    margin-top: 10px;
}

.brand-text span {
    border: 2px solid var(--orange-bg);
    padding: 0 5px;
}

.nav-title {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
}

.menu {
    margin-top: 20px;
}

.menu-item {
    padding: 15px 20px;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.menu-item.active {
    background-color: rgba(249, 178, 77, 0.1);
}

.plus {
    color: var(--orange-bg);
    font-weight: bold;
    font-size: 20px;
}

/* Main Content */
.main-content {
    margin-left: 260px;
    flex: 1;
    padding: 0 40px 40px 40px;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    margin: 0 -40px;
    padding: 10px 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.top-header h1 {
    font-size: 1.5rem;
    color: #777;
    font-weight: normal;
}

.user-profile {
    display: flex;
    align-items: center;
    text-align: right;
}

.user-info span { font-size: 12px; color: #999; }

.avatar {
    width: 45px;
    height: 45px;
    background: var(--orange-bg);
    border-radius: 50%;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Stats Grid */
.stats-header {
    text-align: center;
    color: white;
    padding: 30px 0;
}

.stats-header h2 { font-size: 2.2rem; margin: 0; }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.chart-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 12px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Couleurs des graphiques (simulés par bordures) */
.teal { border-top-color: var(--accent-teal); border-right-color: var(--accent-teal); }
.yellow { border-top-color: var(--accent-yellow); border-right-color: var(--accent-yellow); border-bottom-color: var(--accent-yellow); }
.coral { border-top-color: var(--accent-coral); }

.chart-circle-outline {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
}

.legend {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.5;
}

.big-plus {
    font-size: 5rem;
    color: #eee;
    margin-top: 10px;
}

.add-card {
    background: rgba(255,255,255,0.7);
}