.expandable-section {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  // Pas de overflow: hidden : les dropdowns en position absolute (ex. LoreLinkPicker)
  // doivent pouvoir deborder du conteneur. Le padding interne evite tout debordement
  // visuel des coins arrondis en rendu normal.

  &.private {
    border-color: #7f1d1d;

    .section-header { background: rgba(127, 29, 29, 0.12); }
    .section-title { color: #fca5a5; }
  }
}

.section-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #d1d5db;
  transition: background 0.15s;

  &:hover { background: #374151; }
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e5e7eb;
}

.section-icon {
  font-size: 1rem;
}

.section-content {
  padding: 1rem 1.1rem 1.2rem 1.1rem;
  border-top: 1px solid #374151;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
