.metrics-dashboard {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.metrics-dashboard h2 {
    color: #0073aa;
    margin-bottom: 20px;
}

.metrics-dashboard h3 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 10px;
}

.metrics-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.metrics-table th,
.metrics-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.metrics-table th {
    background: #f5f5f5;
    font-weight: bold;
}

.metrics-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.metrics-button {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 3px;
}

.metrics-button:hover {
    background: #005d87;
}

.metrics-notice.notice-error {
    padding: 10px;
    background: #ffe6e6;
    border-left: 4px solid #cc0000;
}
.metrics-dashboard {
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
}

.metrics-dashboard h2 {
    font-size: 2.5em;
    color: #0073aa;
}

.metrics-dashboard h3 {
    font-size: 1.8em;
    color: #333;
    margin: 20px 0 10px;
}

.metrics-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.metrics-table th,
.metrics-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.metrics-table th {
    background: #f5f5f5;
    color: #333;
}

.metrics-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.metrics-notice {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.notice-success {
    background: #dff0d8;
    color: #3c763d;
}

.notice-error {
    background: #f2dede;
    color: #a94442;
}

.metrics-button {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.metrics-button:hover {
    background: #005d87;
}

.testimonial-form {
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}

.testimonial-form label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.testimonial-form input[type="text"],
.testimonial-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.testimonial-form .metrics-button {
    border: none;
    cursor: pointer;
}

/* Compatibilité mode sombre (si utilisé dans homepage.css) */
body.dark-mode .metrics-dashboard h2 {
    color: #00a0d2;
}

body.dark-mode .metrics-dashboard h3,
body.dark-mode .testimonial-form label {
    color: #e0e0e0;
}

body.dark-mode .metrics-table th {
    background: #333;
    color: #e0e0e0;
}

body.dark-mode .metrics-table td {
    color: #b0b0b0;
}

body.dark-mode .metrics-table tbody tr:nth-child(even) {
    background: #2c2c2c;
}

body.dark-mode .testimonial-form input[type="text"],
body.dark-mode .testimonial-form textarea {
    background: #2c2c2c;
    border-color: #444;
    color: #e0e0e0;
}

body.dark-mode .notice-success {
    background: #2e7d32;
    color: #dcedc8;
}

body.dark-mode .notice-error {
    background: #d32f2f;
    color: #ffcdd2;
}
.chart-container {
    max-width: 800px;
    margin: 20px auto;
}

.chart-container h3 {
    text-align: center;
    margin-bottom: 15px;
}
.chart-container {
    max-width: 800px;
    margin: 20px auto;
}

.chart-container h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

body.dark-mode .chart-container h3 {
    color: #e0e0e0;
}
.review-evaluation {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}
.review-evaluation h4 {
    margin-top: 0;
    color: #0073aa;
}
.review-evaluation p {
    margin: 10px 0;
}
.review-evaluation label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.review-evaluation input[type="number"] {
    width: 100px;
    padding: 5px;
}
.metrics-button {
    background: #0073aa;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
.metrics-button:hover {
    background: #005d82;
}
.metrics-notice {
    padding: 10px;
    margin: 10px 0;
    border-radius: 3px;
}
.notice-success {
    background: #dff0d8;
    color: #3c763d;
}
.notice-error {
    background: #f2dede;
    color: #a94442;
}