body {
    font-family: "Segoe UI", sans-serif;
    background: #f5f7f7;
    margin: 0;
    color: #333;
}

header {
    background: linear-gradient(90deg, #008C8E, #66C1BF);
    color: white;
    padding: 24px;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    background: white;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

h1, h2, h3 {
    color: #275662;
}

a {
    color: #ED6E6C;
    font-weight: 600;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button, .btn {
    background: #ED6E6C;
    border: none;
    padding: 10px 18px;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
}

button:hover, .btn:hover {
    background: #d85a59;
    text-decoration: none;
}

input, select, textarea {
    border: 1px solid #ddd;
    padding: 9px;
    border-radius: 8px;
    width: 100%;
    max-width: 650px;
    box-sizing: border-box;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 18px;
}

table th {
    background: #008C8E;
    color: white;
}

table th, table td {
    padding: 11px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

table tr:hover {
    background: #f9eeee;
}

.site-header {
    background: white;
    padding: 8px 20px;
    text-align: center;
    border-bottom: 1px solid #eadada;
}

.site-logo {
    max-height: 60px;
    width: auto;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 22px 0;
}

.card {
    background: #ffffff;
    border-left: 6px solid #ed6e6c;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 5px 14px rgba(0,0,0,0.07);
}

.card .number {
    font-size: 32px;
    font-weight: bold;
    color: #275662;
}

.card .label {
    color: #666;
    margin-top: 4px;
}

.dashboard-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.dashboard-btn {
    background: #66c1bf !important;
    border-color: #66c1bf !important;
    color: white !important;
}

.dashboard-btn:hover {
    background: #4ea9a7 !important;
    border-color: #4ea9a7 !important;
}

 14px rgba(0,0,0,0.07);
    border-left: 6px solid #66c1bf;
}

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: white;
}

.dashboard-insights-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 24px 0;
    align-items: stretch;
}

.dashboard-chart-card,
.dashboard-stats-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 5px 14px rgba(0,0,0,0.07);
    border-left: 6px solid #66c1bf;
}

.chart-wrapper {
    height: 280px;
    max-width: 520px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
}

.stat-item {
    background: #fff8f8;
    border: 1px solid #f1d4d4;
    border-radius: 14px;
    padding: 16px;
}

.stat-number {
    font-size: 30px;
    font-weight: 800;
    color: #275662;
}

.stat-label {
    margin-top: 6px;
    color: #666;
    font-size: 14px;
}

.stats-note {
    margin-top: 18px;
    color: #777;
    font-size: 13px;
}

@media (max-width: 900px) {
    .dashboard-insights-row {
        grid-template-columns: 1fr;
    }
}

.badge-nouveau { background: #6f6f6f; }
.badge-devis_en_cours { background: #008C8E; }
.badge-devis_transmis_a_florence { background: #9b59b6; }
.badge-budget_valide_bc_edite { background: #27ae60; }
.badge-commande_envoyee { background: #2980b9; }
.badge-reception_partielle { background: #f39c12; }
.badge-reception_complete { background: #16a085; }
.badge-saisie_sifac { background: #275662; }
.badge-termine { background: #2ecc71; }
.badge-refuse { background: #c0392b; }
