/* plan-de-travail.css */

.tax-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tax-tab-btn {
  background: #f0f0f0;
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
}

.tax-tab-btn.active {
  background: #0073aa;
  color: #fff;
}

.tax-tab-content {
  display: none;
}

.tax-tab-content.active {
  display: block;
}

.taxonomy-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 767px) {
  .taxonomy-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.taxonomy-card {
  position: relative;
  border: 2px solid transparent;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}

.taxonomy-card.selected {
  border-color: #0073aa;
}

.taxonomy-card:hover {
  transform: translateY(-2px);
}

.taxonomy-card input[type="radio"] {
  display: none;
}

.image-wrapper {
  width: 100%;
  height: 70px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 6px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-image {
  width: 100%;
  height: 70px;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 6px;
  border-radius: 4px;
}

.term-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
}
