/* ==========================================
   🪨 Tyshara Admin — Matières (v1.0 refactor)
   Harmonisation UI & palette Tyshara
   ========================================== */

/* === Formulaire de matière === */
.tyshara-matiere-form input,
.tyshara-matiere-form textarea {
  display: inline-block;
  margin: 0.3rem 0.4rem;
  padding: 0.4rem;
  border: 1px solid var(--ty-border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
}

/* === Bouton d’action === */
.tyshara-matiere-form button {
  background: var(--ty-terre-argile);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-main);
  transition: background 0.3s ease;
}

.tyshara-matiere-form button:hover {
  background: var(--ty-corail-alchimie);
}

/* === Tableau des matières === */
.tyshara-matiere-table th,
.tyshara-matiere-table td {
  padding: 0.4rem;
  text-align: left;
  font-family: var(--font-main);
  font-size: 0.95rem;
}

.tyshara-matiere-table th {
  background: var(--ty-nuage-pastel);
  color: var(--ty-terre-argile);
  font-weight: 600;
}
