:root {
            --primary-color: #6c5ce7;
            --background-color: #f8f8f8;
            --text-color: #333;
            --success-color: #2ecc71;
            --danger-color: #e74c3c;
            --transition-speed: 0.5s;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            padding: 20px;
            background-color: #f4f4f9;
        }

        .container {
            width: 95%; /* Utilise presque toute la largeur de l'écran */
            max-width: none; /* Supprime la limite pour s'adapter aux grands écrans */
            margin: 0 auto;
        }

        .header {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }

        .logo {
            width: 60px;
            height: auto;
            margin-right: 15px;
        }

        .baseline {
            font-size: 1.4em;
            color: var(--primary-color);
            font-weight: bold;
        }

        .tabs-container {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            width: 100%;
        }

        .tabs {
            display: flex;
            width: 100%;
        }

        .tab {
            flex: 1;
            text-align: center;
        }

        .tab label {
            padding: 12px 20px;
            cursor: pointer;
            color: var(--text-color);
            transition: background var(--transition-speed), color var(--transition-speed);
            display: block;
            width: 100%;
        }

        .tab.active label {
            background: var(--primary-color);
            color: white;
        }

        .tab label:hover {
            background: #eee;
        }

        .tab-content {
            display: none;
            padding: 20px;
            opacity: 0;
            transition: opacity var(--transition-speed) ease-in-out;
            width: 100%;
        }

        .tab-content.active {
            display: block;
            opacity: 1;
        }

        .tab-icon {
            margin-right: 8px;
        }

        /* Styles pour le tableau de bord */
        .dashboard {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }

        .card {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .card-icon {
            font-size: 2em;
            color: var(--primary-color);
        }

        .card-content {
            flex: 1;
        }

        .card-title {
            font-size: 1.1em;
            color: var(--text-color);
            margin-bottom: 5px;
        }

        .card-value {
            font-size: 1.8em;
            font-weight: bold;
            color: var(--primary-color);
        }

        .card-change {
            margin-top: 5px;
            font-size: 0.9em;
        }

        .card-change.positive {
            color: var(--success-color);
        }

        .card-change.negative {
            color: var(--danger-color);
        }

        .progress-container {
            margin-top: 10px;
            width: 100%;
            background-color: #e9ecef;
            border-radius: 5px;
            overflow: hidden;
        }

        .progress-bar {
            height: 10px;
            background-color: var(--primary-color);
            transition: width 0.6s ease;
        }

        .charts {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .chart-container {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            height: 600px; /* Hauteur fixe pour homogénéité */
        }

        .chart-title {
            font-size: 1.2em;
            margin-bottom: 15px;
            color: var(--text-color);
            text-align: center;
        }

        @media (max-width: 768px) {
            .charts {
                grid-template-columns: 1fr;
            }
        }