.header {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
  overflow-x: hidden;
  box-sizing: border-box;
}

.header:hover {
  cursor: pointer;
}

.header:focus {
  outline: 1px solid var(--chakra-colors-green-500) !important;
  outline-offset: -1px;
}

.header--light {
  border-color: var(--chakra-colors-gray-300);
}

.header--light:hover {
  background-color: var(--chakra-colors-gray-200);
}

.header--dark {
  border-color: var(--chakra-colors-gray-700);
}

.header--dark:hover {
  background-color: var(--chakra-colors-gray-700);
}

.header--dark.header--selected {
  background-color: var(--chakra-colors-gray-700);
}

.header--light.header--selected {
  background-color: var(--chakra-colors-gray-300);
}

.wrapper {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-wrapper {
  min-height: 100%;
  height: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.7rem;
  padding-right: 0.7rem;
}

.icon {
  width: 20px;
}

.name {
  margin-right: 1rem;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.actionIcon {
  margin-left: auto;
  flex-shrink: 0;
  margin-right: 1rem;
}

.hovered {
  outline: 1px solid var(--chakra-colors-green-500) !important;
  outline-offset: -1px;
}

.line {
    width: 1rem;
    min-width: 1rem;
    max-width: 1rem;
    height: 100%;
    border-right: 1px solid var(--chakra-colors-gray-500);
    opacity: 0.5;
}

.fileInput {
  margin-bottom: 1rem;
  margin-top: 1rem;
  border-radius: 20px;
  width: 100%;
}

.fileInput::file-selector-button {
  padding: 6px 12px 6px 12px;
  box-shadow: none;
  outline: none;
  border: none;
  margin-right: 16px;
  font-weight: 700;
}

.fileInput::file-selector-button:hover {
  cursor: pointer;
}

.fileInput--light {
  background-color: var(--chakra-colors-gray-200);
}

.fileInput--dark {
  background-color: var(--chakra-colors-gray-800);
}

.fileInput--light::file-selector-button {
  background-color: var(--chakra-colors-blue-500);
  color: var(--chakra-colors-white);
}

.fileInput--dark::file-selector-button {
  background-color: var(--chakra-colors-blue-200);
  color: var(--chakra-colors-black);
}
