/* Styles for the template database container */
.item-database-container {
  background-color: #36393f;
  color: #dcddde;
  border: 1px solid #2f3136;
  padding: 10px;
  border-radius: 8px;
  margin-top: 20px;
}

.item-database-container h2 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
  border-bottom: 1px solid #2f3136;
  padding-bottom: 10px;
  cursor: pointer;
}

.item-database-content.collapsed {
  display: none;
}

.item-database-content {
  display: flex;
  height: 350px;
  background-color: #2f3136;
  border-radius: 8px;
  padding: 10px;
}

.tag-selection-area {
  flex: 0 0 20%;
  padding-right: 10px;
  overflow-y: auto;
}

.tag-category {
  margin-right: 10px;
  margin-bottom: 10px;
}

.tag-category-label {
  display: none;
}

.tag-button {
  background-color: #4f545c;
  color: #dcddde;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 5px;
  margin-bottom: 5px;
}

.tag-button.active {
  background-color: #5b609b;
  color: #fff;
}

.item-display { /* Renamed from .arrow-display */
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
}

.tag-selection-area::-webkit-scrollbar,
.item-display::-webkit-scrollbar { /* Renamed from .arrow-display */
  width: 8px;
}

.tag-selection-area::-webkit-scrollbar-track,
.item-display::-webkit-scrollbar-track { /* Renamed from .arrow-display */
  background: #202225;
  border-radius: 10px;
}

.tag-selection-area::-webkit-scrollbar-thumb,
.item-display::-webkit-scrollbar-thumb { /* Renamed from .arrow-display */
  background: #4f545c;
  border-radius: 10px;
}

.tag-selection-area::-webkit-scrollbar-thumb:hover,
.item-display::-webkit-scrollbar-thumb:hover { /* Renamed from .arrow-display */
  background: #f258a0;
}

.item-display-item { /* Renamed from .arrow-item */
  background-color: #40444b;
  color: #dcddde;
  padding: 10px;
  border-radius: 4px;
  margin: 5px;
  cursor: pointer;
  font-size: 25px;
  min-width: 40px;
  text-align: center;
}
