/* ══════════════════════════════════════════════════════════════
   MOTS CLÉS PAGE — DESIGN ORIGINAL
   ══════════════════════════════════════════════════════════════ */

.motcle-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.motcle-section {
  margin-bottom: 20px;
}

.motcle-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--surface-off);
  border-radius: 20px;
  padding: 3px 12px;
  font-weight: 500;
}

.motcle-table-wrap {
  overflow-x: auto;
}

.motcle-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.motcle-table thead th {
  padding: 11px 16px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
  background: var(--surface-off);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  text-align: left;
}

.motcle-table thead th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.motcle-table thead th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.motcle-table tbody tr {
  transition: background 0.15s;
}

.motcle-table tbody tr:hover {
  background: var(--surface-off);
}

.motcle-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--divider);
}

.motcle-table tbody td {
  padding: 0;
}

/* Boutons copie */
.motcle-copy {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-size: inherit;
  font-family: inherit;
  transition: color 0.15s, background 0.15s;
  border-radius: 0;
}

.motcle-copy:hover {
  color: var(--primary);
  background: var(--primary-bg);
}

.motcle-copy.copied {
  color: var(--success) !important;
  background: var(--success-bg) !important;
}

/* Drapeaux */
.lang-flag {
  font-size: 1em;
  margin-right: 6px;
}

/* Hidden (filtre) */
.motcle-hidden {
  display: none !important;
}

/* Section title avec émoji */
.card-title {
  display: flex;
  align-items: center;
  gap: 6px;
}