/**
 * Kokende — politique d’affichage dashboards (client / pro / conducteur-pro).
 */

.kokende-dashboard .kokende-dash-title,
[data-kokende-dashboard="1"] .kokende-dash-title {
  color: #111827;
  font-weight: 700;
}

.kokende-dashboard .kokende-dash-value,
[data-kokende-dashboard="1"] .kokende-dash-value {
  color: #0071e3;
}

.kokende-dashboard .kokende-dash-value--confirmed,
[data-kokende-dashboard="1"] .kokende-dash-value--confirmed {
  color: #00bf63;
}

.kokende-dashboard .kokende-dash-value--cancelled,
[data-kokende-dashboard="1"] .kokende-dash-value--cancelled {
  color: #0071e3;
}

.kokende-dash-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.kokende-dash-btn--green {
  background: #00bf63;
  color: #fff;
}

.kokende-dash-btn--green:hover {
  opacity: 0.92;
}

.kokende-dash-btn--blue {
  background: #0071e3;
  color: #fff;
}

.kokende-dash-btn--blue:hover {
  opacity: 0.92;
}

/* Tableaux dashboards : en-têtes noirs, valeurs bleues par défaut ; statuts dynamiques */
[data-kokende-dashboard="1"] table thead th {
  color: #000000;
  font-weight: 700;
}

[data-kokende-dashboard="1"] .kokende-dash-value--deleted,
[data-kokende-dashboard="1"] .kokende-dash-value--unpaid {
  color: #dc2626 !important;
}

[data-kokende-dashboard="1"] .kokende-dash-value--pending {
  color: #ea580c !important;
}

/* Bloc KPI admin : cartes inchangées (pas de règle table ici) */
[data-kokende-dashboard="1"] [data-kokende-dashboard-kpi="1"] .kokende-admin-kpi-card__value {
  color: inherit;
}

/* Messages — accordéon */
.kokende-inbox-accordion__trigger[aria-expanded="true"] .kokende-inbox-accordion__chev {
  transform: rotate(-180deg);
}

.kokende-inbox-accordion__chev {
  display: inline-block;
  transition: transform 0.2s ease;
}
