/* ============================================================
   GMP Vente CRM — Feuille de style
   Design : sobre, professionnel, lisible
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --c-bg: #f6f7f4;
  --c-surface: #ffffff;
  --c-surface-alt: #fbfaf6;
  --c-border: #e6e3da;
  --c-border-strong: #d4cfbf;

  --c-ink: #1a1d1a;
  --c-ink-soft: #4d524d;
  --c-ink-mute: #7a7e76;

  --c-primary: #1f4938;        /* vert profond */
  --c-primary-ink: #ffffff;
  --c-primary-soft: #e9f0ec;
  --c-accent: #c4661a;         /* terre brûlée */
  --c-accent-soft: #fbe9da;

  --c-success: #2f7a4a;
  --c-warning: #b56e0c;
  --c-danger: #b03021;
  --c-info: #2a5d8a;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(20, 25, 20, 0.05);
  --shadow: 0 4px 14px rgba(20, 25, 20, 0.08);
  --shadow-lg: 0 12px 32px rgba(20, 25, 20, 0.12);

  --header-h: 64px;
  --sidebar-w: 260px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }

a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

p { margin: 0 0 1em; }

/* ============================================================
   LAYOUT GÉNÉRAL
   ============================================================ */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--c-surface);
  border-right: 1px solid var(--c-border);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-brand {
  padding: 0 1.5rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 1rem;
}
.sidebar-brand .logo {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: -0.02em;
}
.sidebar-brand .tagline {
  font-size: 0.75rem;
  color: var(--c-ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 0.75rem;
}
.nav-section {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--c-ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1rem 0.75rem 0.4rem;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-sm);
  color: var(--c-ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}
.nav-link:hover { background: var(--c-surface-alt); color: var(--c-ink); text-decoration: none; }
.nav-link.active {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-weight: 600;
}
.nav-link svg { width: 18px; height: 18px; flex-shrink: 0; }

.sidebar-footer {
  padding: 1rem 1.5rem;
  margin-top: auto;
  border-top: 1px solid var(--c-border);
  font-size: 0.85rem;
  color: var(--c-ink-mute);
}

.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  height: var(--header-h);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-title {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-ink);
}
.topbar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.content { padding: 2rem; max-width: 1400px; width: 100%; }

/* ============================================================
   PAGE HEADER (titre + actions)
   ============================================================ */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.page-header h1 { margin: 0; }
.page-header .subtitle {
  color: var(--c-ink-mute);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--c-border);
}
.card-header h2, .card-header h3 { margin: 0; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   STATS KPI
   ============================================================ */
.kpi {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.kpi::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--c-primary);
}
.kpi.kpi-accent::before { background: var(--c-accent); }
.kpi.kpi-warn::before { background: var(--c-warning); }
.kpi.kpi-danger::before { background: var(--c-danger); }
.kpi.kpi-success::before { background: var(--c-success); }
.kpi-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.kpi-value {
  font-family: 'Fraunces', serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.1;
  margin-top: 0.25rem;
}
.kpi-meta {
  font-size: 0.85rem;
  color: var(--c-ink-mute);
  margin-top: 0.4rem;
}

/* ============================================================
   FORMULAIRES
   ============================================================ */
.form-group { margin-bottom: 1rem; }
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  margin-bottom: 0.35rem;
}

input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="number"], input[type="date"],
input[type="datetime-local"], input[type="search"], input[type="url"],
select, textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-soft);
}
textarea { min-height: 100px; resize: vertical; font-family: inherit; }

.form-help {
  font-size: 0.8rem;
  color: var(--c-ink-mute);
  margin-top: 0.3rem;
}

input[type="checkbox"], input[type="radio"] {
  accent-color: var(--c-primary);
  width: 16px; height: 16px;
  cursor: pointer;
}
.checkbox-label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--c-primary);
  color: var(--c-primary-ink);
}
.btn-primary:hover { background: #16382b; }

.btn-accent {
  background: var(--c-accent);
  color: white;
}
.btn-accent:hover { background: #a35514; }

.btn-secondary {
  background: var(--c-surface);
  color: var(--c-ink);
  border-color: var(--c-border-strong);
}
.btn-secondary:hover { background: var(--c-surface-alt); }

.btn-danger {
  background: var(--c-danger);
  color: white;
}
.btn-danger:hover { background: #8e251a; }

.btn-ghost {
  background: transparent;
  color: var(--c-ink-soft);
}
.btn-ghost:hover { background: var(--c-surface-alt); color: var(--c-ink); }

.btn-sm { padding: 0.35rem 0.7rem; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  overflow: hidden;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-ink-mute);
  padding: 0.85rem 1rem;
  background: var(--c-surface-alt);
  border-bottom: 1px solid var(--c-border);
}
table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-ink);
}
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: var(--c-surface-alt); }
table .actions {
  display: flex;
  gap: 0.4rem;
  justify-content: flex-end;
}

.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--c-ink-mute);
}
.empty-state svg { width: 48px; height: 48px; opacity: 0.4; margin-bottom: 1rem; }
.empty-state h3 { color: var(--c-ink-soft); margin-bottom: 0.4rem; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.badge-blue   { background: #e2eef8; color: #205684; }
.badge-green  { background: #dcefe2; color: #235e3a; }
.badge-orange { background: #fae5d3; color: #8a4a13; }
.badge-purple { background: #ece3f5; color: #5d3a8a; }
.badge-yellow { background: #faf0d2; color: #806118; }
.badge-red    { background: #f7dfdb; color: #832117; }
.badge-gray   { background: #e6e3da; color: #4d524d; }

/* ============================================================
   ALERTES / FLASH
   ============================================================ */
.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  margin-bottom: 1rem;
  font-size: 0.92rem;
  border-left: 3px solid;
}
.alert-success { background: #ebf5ee; border-color: var(--c-success); color: #1e5230; }
.alert-warning { background: #fbf1de; border-color: var(--c-warning); color: #804e08; }
.alert-error   { background: #f9e1de; border-color: var(--c-danger); color: #7a2017; }
.alert-info    { background: #e4eef7; border-color: var(--c-info); color: #1e4264; }

/* ============================================================
   LOGIN
   ============================================================ */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--c-bg);
}
.login-side {
  background: linear-gradient(135deg, var(--c-primary) 0%, #16382b 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.login-side::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.login-side h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  position: relative;
}
.login-side p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 420px; position: relative; }
.login-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.login-form {
  width: 100%;
  max-width: 380px;
}
.login-form .logo {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  color: var(--c-primary);
  margin-bottom: 0.25rem;
  font-weight: 700;
}
.login-form .tagline {
  color: var(--c-ink-mute);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}
@media (max-width: 800px) {
  .login-page { grid-template-columns: 1fr; }
  .login-side { display: none; }
}

/* ============================================================
   APPAREIL : onglets de catégories de docs
   ============================================================ */
.tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}
.tab {
  padding: 0.7rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-ink-mute);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  margin-bottom: -1px;
}
.tab:hover { color: var(--c-ink); text-decoration: none; }
.tab.active {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}

/* Liste de documents */
.doc-list { display: flex; flex-direction: column; gap: 0.5rem; }
.doc-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  transition: all 0.15s;
}
.doc-item:hover { border-color: var(--c-primary); box-shadow: var(--shadow-sm); }
.doc-icon {
  width: 40px; height: 40px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.doc-info { flex: 1; min-width: 0; }
.doc-info .titre { font-weight: 500; color: var(--c-ink); }
.doc-info .meta { font-size: 0.82rem; color: var(--c-ink-mute); margin-top: 2px; }

/* ============================================================
   CONTACT DETAIL
   ============================================================ */
.contact-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.contact-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c-primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 600;
  font-family: 'Fraunces', serif;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.contact-field { font-size: 0.9rem; }
.contact-field .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-ink-mute);
  margin-bottom: 0.2rem;
  display: block;
}
.contact-field .value { color: var(--c-ink); }

/* Timeline interactions */
.timeline { display: flex; flex-direction: column; gap: 0.75rem; }
.timeline-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
}
.timeline-marker {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.timeline-marker.appel    { background: #e4eef7; color: var(--c-info); }
.timeline-marker.email    { background: #ebf5ee; color: var(--c-success); }
.timeline-marker.rdv      { background: #ece3f5; color: #5d3a8a; }
.timeline-marker.note     { background: #fbf1de; color: var(--c-warning); }
.timeline-content { flex: 1; min-width: 0; }
.timeline-meta {
  font-size: 0.8rem;
  color: var(--c-ink-mute);
  margin-bottom: 0.25rem;
}
.timeline-text { font-size: 0.92rem; }

/* ============================================================
   FILTERS BAR
   ============================================================ */
.filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  align-items: center;
}
.filters input, .filters select { width: auto; min-width: 180px; }

/* ============================================================
   PROGRESS BAR (quotas)
   ============================================================ */
.progress {
  background: var(--c-border);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.progress-bar {
  height: 100%;
  background: var(--c-primary);
  transition: width 0.3s;
}
.progress-bar.warning { background: var(--c-warning); }
.progress-bar.danger { background: var(--c-danger); }

/* ============================================================
   MODAL (envoi mail)
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(20, 25, 20, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal {
  background: var(--c-surface);
  border-radius: var(--r);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-body { padding: 1.5rem; }
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--c-border);
  display: flex; justify-content: flex-end; gap: 0.5rem;
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.text-muted { color: var(--c-ink-mute); }
.text-small { font-size: 0.85rem; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; }
.hidden { display: none; }

/* Responsive sidebar — mobile */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-sm);
  padding: 0.4rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    top: 0; left: 0;
    width: 280px;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.3s;
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: translateX(0); }
  .menu-toggle { display: inline-flex; align-items: center; }
  .content { padding: 1rem; }
}

/* ============================================================
   MESSAGERIE INTERNE
   ============================================================ */
.nav-badge {
  margin-left: auto;
  background: var(--c-accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
}
.topbar-icon {
  position: relative;
  color: var(--c-ink);
  display: inline-flex;
  padding: 0.4rem;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.topbar-icon:hover { background: var(--c-surface-alt); }
.topbar-badge {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--c-accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  min-width: 16px;
  text-align: center;
  line-height: 1.3;
}

.message-list {
  display: flex;
  flex-direction: column;
}
.message-item {
  display: grid;
  grid-template-columns: 36px 180px 1fr 130px;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--c-border);
  text-decoration: none;
  color: var(--c-ink);
  align-items: center;
}
.message-item:hover { background: var(--c-surface-alt); }
.message-item.unread {
  background: rgba(196, 102, 26, 0.05);
  border-left: 3px solid var(--c-accent);
}
.message-item.unread .message-meta strong,
.message-item.unread .message-body strong { font-weight: 700; }
.message-icon {
  font-size: 1.4rem;
  text-align: center;
}
.message-meta strong { display: block; }
.message-date { text-align: right; }

.dest-grid,
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  cursor: pointer;
  background: white;
  transition: border-color 0.15s, background 0.15s;
}
.checkbox-card:hover { border-color: var(--c-accent); }
.checkbox-card input[type="checkbox"] {
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.checkbox-card:has(input:checked) {
  border-color: var(--c-primary);
  background: rgba(31, 73, 56, 0.04);
}

.kv-table { width: 100%; }
.kv-table td { padding: 0.4rem 0; vertical-align: top; }
.kv-table td:first-child { width: 130px; }

/* ============================================================
   PLANNING DES FORMATIONS
   ============================================================ */
.month-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.formations-table {
  width: 100%;
  font-size: 0.9rem;
}
.formations-table tr.lieu-groslay {
  background: rgba(31, 73, 56, 0.05);
  border-left: 3px solid var(--c-primary);
}
.formations-table tr.lieu-paris {
  background: rgba(196, 102, 26, 0.05);
  border-left: 3px solid var(--c-accent);
}
.formations-table tr.lieu-groslay td:first-child,
.formations-table tr.lieu-paris td:first-child {
  font-weight: 600;
}

.formations-stats-table {
  width: 100%;
  font-size: 0.85rem;
  border-collapse: collapse;
}
.formations-stats-table th,
.formations-stats-table td {
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--c-border);
}
.formations-stats-table th {
  background: var(--c-surface-alt);
  font-weight: 600;
  text-align: center;
}
.formations-stats-table .cell-zero { color: var(--c-muted); opacity: 0.4; }
.formations-stats-table .cell-filled {
  background: rgba(31, 73, 56, 0.08);
  font-weight: 600;
}

.btn-block { display: block; width: 100%; text-align: center; }
.btn-success {
  background: #2e7d3e;
  color: white;
}
.btn-success:hover { background: #245f30; }
