/* Charte James 1840 : gris anthracite et gris clair du logo */
:root {
  --crm-anthracite: #505050;
  --crm-anthracite-fonce: #3d3d3d;
  --crm-gris: #858585;
  --bs-primary: #505050;
  --bs-primary-rgb: 80, 80, 80;
  --bs-link-color: #3d3d3d;
  --bs-link-color-rgb: 61, 61, 61;
  --bs-link-hover-color: #000;
  --bs-link-hover-color-rgb: 0, 0, 0;
}
body { background: #f5f5f4; }
.btn-primary {
  --bs-btn-bg: var(--crm-anthracite); --bs-btn-border-color: var(--crm-anthracite);
  --bs-btn-hover-bg: var(--crm-anthracite-fonce); --bs-btn-hover-border-color: var(--crm-anthracite-fonce);
  --bs-btn-active-bg: #2b2b2b; --bs-btn-active-border-color: #2b2b2b;
  --bs-btn-disabled-bg: var(--crm-gris); --bs-btn-disabled-border-color: var(--crm-gris);
}
.btn-outline-primary {
  --bs-btn-color: var(--crm-anthracite); --bs-btn-border-color: var(--crm-anthracite);
  --bs-btn-hover-bg: var(--crm-anthracite); --bs-btn-hover-border-color: var(--crm-anthracite);
  --bs-btn-active-bg: var(--crm-anthracite-fonce); --bs-btn-active-border-color: var(--crm-anthracite-fonce);
}
.form-control:focus, .form-select:focus { border-color: var(--crm-gris); box-shadow: 0 0 0 .2rem rgba(80,80,80,.18); }
.form-check-input:checked { background-color: var(--crm-anthracite); border-color: var(--crm-anthracite); }
.page-link { color: var(--crm-anthracite); }
.active > .page-link, .page-link.active { background-color: var(--crm-anthracite); border-color: var(--crm-anthracite); }
.navbar-brand { gap: .6rem; }
.marque-crm {
  color: var(--crm-gris); font-weight: 400; font-size: .95rem; letter-spacing: .25em;
  border-left: 1px solid #d0d0d0; padding-left: .6rem;
}
.navbar .nav-link { color: var(--crm-gris); }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--crm-anthracite-fonce); }
.navbar .nav-link.active { box-shadow: inset 0 -2px 0 var(--crm-anthracite); }
.logo-connexion { max-width: 100%; width: 260px; height: auto; }

.card { border: 0; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.table td, .table th { vertical-align: middle; }
.fiche dt { font-weight: 500; color: #6c757d; font-size: .875rem; }
.fiche dd { margin-bottom: .5rem; }
.pipeline { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; }
.pipeline-colonne { min-width: 240px; flex: 1 0 240px; }
.pipeline-carte { font-size: .9rem; }
.en-retard { color: #b02a37; font-weight: 500; }
.adresse { white-space: pre-line; }
@media print {
  nav, .no-print, .messages { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; }
}
