/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Category tree styles */
.category-header {
  display: inline-block;
  user-select: none;
  text-wrap: nowrap;
  text-overflow: ellipsis;
}

.category-header[data-action] {
  transition: background-color 0.2s;
}

.category-header[data-action]:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
}

.toggle-icon {
  display: inline-block;
  width: 1em;
  font-size: 0.75em;
  margin-right: 0.25em;
  transition: transform 0.2s;
}

.toggle-icon.disabled {
  color: #d1d5db;
  opacity: 0.5;
}
