/* ═══════════════════════════════════════════════════════════════════════
   STYLE MODERNE — Thème "Moderne" LiveOwnerUnit
   Créé le 23 mai 2026
   Sélectionné via : html.style-moderne
   Contient tout le travail de design de la semaine du 19-23 mai 2026
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Variables locales ─────────────────────────────────────────────────── */
html.style-moderne {
    --upstay-cyan: #00C2CB;
    --cyan: #26C6DA;
    --cyan-light: #E0F7FA;
    --cyan-dark: #0097A7;
    --cyan-text: #006064;
}

/* ── Fond général — teinte lin chaude ──────────────────────────────────── */
html.style-moderne body,
html.style-moderne .tab-content,
html.style-moderne .tab-content.active,
html.style-moderne #app-container,
html.style-moderne main,
html.style-moderne .container,
html.style-moderne .wrapper {
    background: #FAF8F4 !important;
    background-color: #FAF8F4 !important;
}
html.style-moderne {
    --bg-primary: #FAF8F4;
}

/* ── Page header — suppression de la barre violette gauche ─────────────── */
html.style-moderne .dashboard-icalou .page-header::before,
html.style-moderne .dashboard-icalou .dashboard-container-menages::before,
html.style-moderne .dashboard-icalou .communications-widget::before,
html.style-moderne .dashboard-icalou .dashboard-prestations-widget::before,
html.style-moderne .dashboard-icalou .dashboard-container-semaine::before,
html.style-moderne .dashboard-icalou .dashboard-container-reservations::before,
html.style-moderne .dashboard-icalou .dashboard-container-travaux::before,
html.style-moderne .dashboard-icalou .dashboard-container-achats::before,
html.style-moderne .dashboard-icalou .card::before,
html.style-moderne .dashboard-icalou .communications-widget::before,
html.style-moderne .dashboard-icalou .indicator::before {
    display: none !important;
}

/* Désactiver hover translateX sur les cards */
html.style-moderne .dashboard-icalou .card:hover {
    transform: none !important;
}
html.style-moderne .dashboard-icalou .indicator:hover {
    transform: none !important;
}

/* ── Titre de page — sombre, sobre ─────────────────────────────────────── */
html.style-moderne .dashboard-icalou .page-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}
html.style-moderne .dashboard-icalou .page-title i,
html.style-moderne .dashboard-icalou .page-title svg {
    color: var(--upstay-cyan);
    stroke: var(--upstay-cyan);
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}
html.style-moderne .dashboard-icalou .page-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0;
    padding-left: 2px;
}

/* ── Bouton Actualiser — ghost cyan ────────────────────────────────────── */
html.style-moderne .dashboard-icalou .btn--refresh,
html.style-moderne .btn--refresh {
    background: #ffffff !important;
    border: 1.5px solid var(--upstay-cyan) !important;
    color: var(--upstay-cyan) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
html.style-moderne .dashboard-icalou .btn--refresh:hover,
html.style-moderne .btn--refresh:hover {
    background: rgba(0, 194, 203, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 194, 203, 0.15) !important;
}
html.style-moderne .btn--refresh::before {
    display: none !important;
}
html.style-moderne .dashboard-icalou .btn--refresh i,
html.style-moderne .dashboard-icalou .btn--refresh svg {
    width: 14px;
    height: 14px;
    color: var(--upstay-cyan);
    stroke: var(--upstay-cyan);
}

/* ── Widget date — compact ─────────────────────────────────────────────── */
html.style-moderne .dashboard-icalou .widget-date {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 18px;
    text-align: center;
    min-width: 110px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
html.style-moderne .dashboard-icalou .widget-date__current {
    font-size: 14px;
    font-weight: 700;
    color: #1a2332;
    margin: 0;
}
html.style-moderne .dashboard-icalou .widget-date__week {
    font-size: 11px;
    color: var(--upstay-cyan);
    font-weight: 600;
    margin: 2px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Section title — uppercase avec border-left cyan ───────────────────── */
html.style-moderne .dashboard-icalou .section-title {
    font-size: 12px;
    font-weight: 700;
    color: #334155 !important;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding-left: 10px;
    border-left: 3px solid var(--upstay-cyan);
}
html.style-moderne .dashboard-icalou .section-title i,
html.style-moderne .dashboard-icalou .section-title svg {
    color: var(--upstay-cyan);
    stroke: var(--upstay-cyan);
    width: 14px;
    height: 14px;
}

/* ── Vision Globale — cards sobre fond lin ──────────────────────────────── */
html.style-moderne .dashboard-icalou .dashboard-container-urssaf,
html.style-moderne .dashboard-icalou .dashboard-container-ir,
html.style-moderne .dashboard-icalou .dashboard-container-ca,
html.style-moderne .dashboard-icalou .dashboard-container-benefice {
    background: white !important;
    border: 1px solid #e8e8e8 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: default;
}
html.style-moderne .dashboard-icalou .dashboard-container-urssaf:hover,
html.style-moderne .dashboard-icalou .dashboard-container-ir:hover,
html.style-moderne .dashboard-icalou .dashboard-container-ca:hover,
html.style-moderne .dashboard-icalou .dashboard-container-benefice:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(38, 198, 218, 0.18) !important;
    border-color: #26C6DA !important;
}

/* Tuiles internes Vision Globale */
html.style-moderne .dashboard-icalou .indicator--cyan {
    background: #f7f7f7 !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    transition: transform 0.15s ease, background 0.15s ease;
}
html.style-moderne .dashboard-icalou .indicator--cyan .indicator__label {
    color: #999 !important;
    font-weight: 500 !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: none !important;
}
html.style-moderne .dashboard-icalou .indicator--cyan .indicator__value {
    color: #333 !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    text-shadow: none !important;
    margin-top: 0 !important;
    transition: color 0.15s ease;
}
html.style-moderne .dashboard-icalou .indicator--cyan .indicator__sublabel {
    color: #888 !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}
html.style-moderne .dashboard-icalou .dashboard-container-urssaf:hover .indicator--cyan,
html.style-moderne .dashboard-icalou .dashboard-container-ir:hover .indicator--cyan,
html.style-moderne .dashboard-icalou .dashboard-container-ca:hover .indicator--cyan,
html.style-moderne .dashboard-icalou .dashboard-container-benefice:hover .indicator--cyan {
    transform: scale(1.04);
    background: rgba(38, 198, 218, 0.12) !important;
}
html.style-moderne .dashboard-icalou .dashboard-container-urssaf:hover .indicator__value,
html.style-moderne .dashboard-icalou .dashboard-container-ir:hover .indicator__value,
html.style-moderne .dashboard-icalou .dashboard-container-ca:hover .indicator__value,
html.style-moderne .dashboard-icalou .dashboard-container-benefice:hover .indicator__value {
    color: #26C6DA !important;
}

/* Métriques indicator--violet — fond sobre */
html.style-moderne .dashboard-icalou .indicator--violet {
    background: #f0f0f0 !important;
    border: none !important;
    border-width: 0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}
html.style-moderne .dashboard-icalou .indicator--violet .indicator__value-large {
    color: #333 !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}

/* ── KPI Cards — 6 cards de performance ────────────────────────────────── */
html.style-moderne .dashboard-icalou [class*="dashboard-kpi-"] {
    border: 1px solid #e5e7eb !important;
    border-top: 3px solid #26C6DA !important;
    border-radius: 10px !important;
    padding: 14px 12px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-height: 80px !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}
html.style-moderne .dashboard-icalou .dashboard-kpi-charges {
    border-top-color: #EF5350 !important;
}
html.style-moderne .dashboard-icalou [class*="dashboard-kpi-"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(38, 198, 218, 0.15) !important;
}
html.style-moderne .dashboard-icalou .dashboard-kpi-charges:hover {
    box-shadow: 0 6px 16px rgba(239, 83, 80, 0.15) !important;
}
html.style-moderne .dashboard-icalou [class*="dashboard-kpi-"]:hover .indicator__value-large {
    color: #26C6DA !important;
}
html.style-moderne .dashboard-icalou .dashboard-kpi-charges:hover .indicator__value-large {
    color: #EF5350 !important;
}
html.style-moderne .dashboard-icalou [class*="dashboard-kpi-"] .indicator--violet {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    flex: 1 !important;
    display: flex !important;
    align-items: flex-end !important;
}
html.style-moderne .dashboard-icalou [class*="dashboard-kpi-"] .indicator__value-large {
    font-size: 1.55rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #1d1d1f !important;
}
html.style-moderne .dashboard-icalou [class*="dashboard-kpi-"] h3.section-title-small {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    gap: 4px !important;
    margin-bottom: 0 !important;
}
html.style-moderne .dashboard-icalou [class*="dashboard-kpi-"] h3.section-title-small svg {
    width: 13px !important;
    height: 13px !important;
    color: #26C6DA !important;
}
html.style-moderne .dashboard-icalou .dashboard-kpi-charges h3.section-title-small svg {
    color: #EF5350 !important;
}

/* ── Graphiques — cadre léger ───────────────────────────────────────────── */
html.style-moderne .dashboard-icalou .dashboard-graph-canvas {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px;
    background: white;
    overflow: hidden;
}
html.style-moderne .card.card--spacious.dashboard-graph-container-ca,
html.style-moderne .card.card--spacious.dashboard-graph-container-benefice,
html.style-moderne .card.card--spacious.dashboard-graph-container-reservations {
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    padding: 16px !important;
    background: white !important;
    box-shadow: none !important;
}
html.style-moderne .dashboard-icalou .dashboard-graph-container-revenus,
html.style-moderne .dashboard-icalou .dashboard-graph-container-reservations,
html.style-moderne .dashboard-icalou .dashboard-graph-container-comparaison,
html.style-moderne .dashboard-icalou [class*="dashboard-graph-"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
html.style-moderne .dashboard-icalou .dashboard-graph-container-revenus:hover,
html.style-moderne .dashboard-icalou .dashboard-graph-container-reservations:hover,
html.style-moderne .dashboard-icalou .dashboard-graph-container-comparaison:hover,
html.style-moderne .dashboard-icalou [class*="dashboard-graph-"]:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 28px rgba(38, 198, 218, 0.15) !important;
    border-color: rgba(38, 198, 218, 0.4) !important;
}

/* ── Checkboxes — cyan ──────────────────────────────────────────────────── */
html.style-moderne .dashboard-icalou input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    flex-shrink: 0;
    transition: all 0.15s;
    accent-color: #26C6DA;
}
html.style-moderne .dashboard-icalou input[type="checkbox"]:checked {
    background: #26C6DA;
    border-color: #26C6DA;
}
html.style-moderne .dashboard-icalou input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 0px;
    width: 6px;
    height: 4px;
    border: 1.5px solid #fff;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

/* ── Hover nom réservation ──────────────────────────────────────────────── */
html.style-moderne .dashboard-reservation-card:hover .dashboard-reservation-name,
html.style-moderne .dashboard-reservation-card:hover strong {
    color: #26C6DA;
    transition: color 0.2s ease;
}

/* ── Kanban — filtres cyan ──────────────────────────────────────────────── */
html.style-moderne .filter-btn {
    background: #fff !important;
    color: #6b7280 !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
html.style-moderne .filter-btn:hover {
    border-color: #26C6DA !important;
    color: #26C6DA !important;
}
html.style-moderne .filter-btn.active {
    background: #fff !important;
    color: #26C6DA !important;
    border: 1.5px solid #26C6DA !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
html.style-moderne .kanban-filters {
    padding: 10px 0 16px 0 !important;
}
html.style-moderne .kanban-filters .filter-group {
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    padding-left: 10px !important;
}
html.style-moderne .filter-btn svg,
html.style-moderne .filter-btn i {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
}
html.style-moderne .kanban-container .page-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}
html.style-moderne .kanban-container .page-header__actions {
    margin-top: 14px !important;
    margin-bottom: 10px !important;
}
html.style-moderne .kanban-container .btn--refresh {
    background: #ffffff !important;
    border: 1.5px solid var(--upstay-cyan) !important;
    color: var(--upstay-cyan) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

/* ── Ménage sidebar — aplatissement, entêtes blancs ────────────────────── */
html.style-moderne.theme-light .menage-card {
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05) !important;
    padding: 14px 16px !important;
    margin: 0 0 10px 0 !important;
}
html.style-moderne.theme-light .menage-card-main {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}
/* Boutons sauvegarde inversés par couleur de gîte */
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#667eea"] .btn-save-menage { background: #ffffff !important; color: #667eea !important; border: 1.5px solid #667eea !important; box-shadow: none !important; border-radius: 8px !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#667eea"] .btn-save-menage:hover { background: #667eea !important; color: white !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#f5576c"] .btn-save-menage { background: #ffffff !important; color: #f5576c !important; border: 1.5px solid #f5576c !important; box-shadow: none !important; border-radius: 8px !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#f5576c"] .btn-save-menage:hover { background: #f5576c !important; color: white !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#27AE60"] .btn-save-menage { background: #ffffff !important; color: #27AE60 !important; border: 1.5px solid #27AE60 !important; box-shadow: none !important; border-radius: 8px !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#27AE60"] .btn-save-menage:hover { background: #27AE60 !important; color: white !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#3498DB"] .btn-save-menage { background: #ffffff !important; color: #3498DB !important; border: 1.5px solid #3498DB !important; box-shadow: none !important; border-radius: 8px !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#3498DB"] .btn-save-menage:hover { background: #3498DB !important; color: white !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#E67E22"] .btn-save-menage { background: #ffffff !important; color: #E67E22 !important; border: 1.5px solid #E67E22 !important; box-shadow: none !important; border-radius: 8px !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#E67E22"] .btn-save-menage:hover { background: #E67E22 !important; color: white !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#9B59B6"] .btn-save-menage { background: #ffffff !important; color: #9B59B6 !important; border: 1.5px solid #9B59B6 !important; box-shadow: none !important; border-radius: 8px !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#9B59B6"] .btn-save-menage:hover { background: #9B59B6 !important; color: white !important; }
/* Entêtes colonnes ménage — blanc avec bordure colorée basse */
html.style-moderne.theme-light .gite-column-header {
    background: #ffffff !important;
    color: inherit !important;
    border-radius: 0 !important;
}
html.style-moderne.theme-light .gite-column-header-week,
html.style-moderne.theme-light .gite-column-header-dates {
    color: #888 !important;
    opacity: 1 !important;
}
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#667eea"] { border-bottom: 3px solid #667eea !important; color: #667eea !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#f5576c"] { border-bottom: 3px solid #f5576c !important; color: #f5576c !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#27AE60"] { border-bottom: 3px solid #27AE60 !important; color: #27AE60 !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#3498DB"] { border-bottom: 3px solid #3498DB !important; color: #3498DB !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#E67E22"] { border-bottom: 3px solid #E67E22 !important; color: #E67E22 !important; }
html.style-moderne.theme-light .gite-column-header[data-gite-bg="#9B59B6"] { border-bottom: 3px solid #9B59B6 !important; color: #9B59B6 !important; }

/* ── DB Section (nouvelles classes dashboard) ────────────────────────────── */
html.style-moderne .db-section {
    background: white;
    border-radius: 12px;
    border: 0.5px solid #e0e0e0;
    margin-bottom: 12px;
    overflow: hidden;
}
html.style-moderne .db-section-header {
    padding: 12px 16px;
    border-bottom: 0.5px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
html.style-moderne .db-section-header svg { color: var(--cyan); }
html.style-moderne .db-section-body { padding: 14px 16px; }

/* ── Action columns ──────────────────────────────────────────────────────── */
html.style-moderne .action-col {
    border: 0.5px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}
html.style-moderne .action-col-header {
    padding: 10px 14px;
    border-bottom: 0.5px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
html.style-moderne .action-col-header svg { color: var(--upstay-cyan); }
html.style-moderne .action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 7px;
    background: #f7f7f7;
    font-size: 12px;
    margin-bottom: 4px;
}

/* ── Ménage rows ─────────────────────────────────────────────────────────── */
html.style-moderne .menage-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f7f7f7;
    border-radius: 8px;
    margin-bottom: 6px;
}
html.style-moderne .btn-pris-en-charge {
    font-size: 11px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(0, 194, 203, 0.12);
    color: #006064;
    border: 0.5px solid var(--upstay-cyan);
    cursor: pointer;
    white-space: nowrap;
    margin-left: auto;
}
html.style-moderne .btn-pris-en-charge.validé {
    background: #E8F5E9;
    color: #2E7D32;
    border-color: #66BB6A;
}

/* ── Graphiques internes ─────────────────────────────────────────────────── */
html.style-moderne .chart-box { border: 0.5px solid #e0e0e0; border-radius: 10px; padding: 12px 14px; }
html.style-moderne .chart-title { font-size: 11px; font-weight: 500; color: #666; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
html.style-moderne .chart-bar { background: #B2EBF2; border-radius: 3px 3px 0 0; }
html.style-moderne .chart-bar.active { background: var(--cyan); }
html.style-moderne .chart-x-label { font-size: 9px; color: #aaa; text-align: center; }

/* ═══════════════════════════════════════════════════════════════════════
   DARK MODE — Overrides pour html.theme-dark.style-moderne
   Annule les fonds blancs/clairs imposés par !important ci-dessus
   ═══════════════════════════════════════════════════════════════════════ */

/* Fond général */
html.theme-dark.style-moderne body,
html.theme-dark.style-moderne .tab-content,
html.theme-dark.style-moderne .tab-content.active,
html.theme-dark.style-moderne #app-container,
html.theme-dark.style-moderne main,
html.theme-dark.style-moderne .container,
html.theme-dark.style-moderne .wrapper {
    background: #0f1117 !important;
    background-color: #0f1117 !important;
}

/* Cards dashboard */
html.theme-dark.style-moderne .dashboard-icalou .dashboard-container-urssaf,
html.theme-dark.style-moderne .dashboard-icalou .dashboard-container-ir,
html.theme-dark.style-moderne .dashboard-icalou .dashboard-container-ca,
html.theme-dark.style-moderne .dashboard-icalou .dashboard-container-benefice,
html.theme-dark.style-moderne .card.card--spacious.dashboard-graph-container-ca,
html.theme-dark.style-moderne .card.card--spacious.dashboard-graph-container-benefice,
html.theme-dark.style-moderne .card.card--spacious.dashboard-graph-container-reservations {
    background: #1e2130 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
}

/* KPI cards */
html.theme-dark.style-moderne .dashboard-icalou [class*="dashboard-kpi-"] {
    background: #1e2130 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    border-top-color: #26C6DA !important;
    box-shadow: none !important;
}

/* Indicateurs */
html.theme-dark.style-moderne .dashboard-icalou .indicator--cyan {
    background: #252a3a !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}
html.theme-dark.style-moderne .dashboard-icalou .indicator--violet {
    background: #252a3a !important;
}

/* Textes */
html.theme-dark.style-moderne .dashboard-icalou .indicator--cyan .indicator__label,
html.theme-dark.style-moderne .dashboard-icalou .indicator--cyan .indicator__sublabel {
    color: #8892a4 !important;
}
html.theme-dark.style-moderne .dashboard-icalou .indicator--cyan .indicator__value,
html.theme-dark.style-moderne .dashboard-icalou .indicator--violet .indicator__value-large,
html.theme-dark.style-moderne .dashboard-icalou .page-title,
html.theme-dark.style-moderne .kanban-container .page-title {
    color: #f0f4ff !important;
}
html.theme-dark.style-moderne .dashboard-icalou [class*="dashboard-kpi-"] h3,
html.theme-dark.style-moderne .dashboard-icalou [class*="dashboard-kpi-"] .section-title-small {
    color: #8892a4 !important;
}
html.theme-dark.style-moderne .dashboard-icalou [class*="dashboard-kpi-"] .indicator__value {
    color: #f0f4ff !important;
}

/* Widget date */
html.theme-dark.style-moderne .dashboard-icalou .widget-date {
    background: #1e2130 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Graphiques canvas */
html.theme-dark.style-moderne .dashboard-icalou .dashboard-graph-canvas {
    background: #1e2130 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
html.theme-dark.style-moderne .chart-box {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: #1e2130 !important;
}
html.theme-dark.style-moderne .chart-title { color: #8892a4 !important; }
html.theme-dark.style-moderne .chart-x-label { color: #8892a4 !important; }

/* Boutons Actualiser */
html.theme-dark.style-moderne .btn--refresh,
html.theme-dark.style-moderne .dashboard-icalou .btn--refresh,
html.theme-dark.style-moderne .kanban-container .btn--refresh {
    background: #1e2130 !important;
    color: var(--upstay-cyan) !important;
}
html.theme-dark.style-moderne .btn--refresh:hover,
html.theme-dark.style-moderne .dashboard-icalou .btn--refresh:hover {
    background: #252a3a !important;
}

/* Filtres kanban */
html.theme-dark.style-moderne .filter-btn {
    background: #1e2130 !important;
    color: #8892a4 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
html.theme-dark.style-moderne .filter-btn:hover,
html.theme-dark.style-moderne .filter-btn.active {
    background: #252a3a !important;
    color: #26C6DA !important;
    border-color: #26C6DA !important;
}

/* Cards ménage (mode dark sans .theme-light) */
html.theme-dark.style-moderne .menage-card {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    background: #1e2130 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3) !important;
    padding: 14px 16px !important;
    margin: 0 0 10px 0 !important;
}
html.theme-dark.style-moderne .menage-card-main {
    background: transparent !important;
}

/* Inputs / checkbox */
html.theme-dark.style-moderne .dashboard-icalou input[type="checkbox"] {
    background: #252a3a !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
