.g-aikit-file-item {
  display: flex;
  align-items: center;
  gap: var(--g-spacing-2);
  padding: var(--g-spacing-1) var(--g-spacing-2);
  border-radius: var(--g-border-radius-m);
  background: var(--g-color-base-simple-hover);
  min-width: 0;
}
.g-aikit-file-item_disabled {
  opacity: 0.5;
  pointer-events: none;
}
.g-aikit-file-item__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--g-color-text-secondary);
}
.g-aikit-file-item__preview {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: var(--g-border-radius-s);
  display: block;
}
.g-aikit-file-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.g-aikit-file-item__name {
  font-size: var(--g-text-body-2-font-size);
  line-height: var(--g-text-body-2-line-height);
  color: var(--g-color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g-aikit-file-item__size {
  font-size: var(--g-text-body-1-font-size);
  line-height: var(--g-text-body-1-line-height);
  color: var(--g-color-text-secondary);
}
.g-aikit-file-item__status {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.g-aikit-file-item__status-icon_success {
  color: var(--g-color-text-positive);
}
.g-aikit-file-item__status-icon_error {
  color: var(--g-color-text-danger);
}
.g-aikit-file-item__remove {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: none;
  border-radius: var(--g-border-radius-s);
  cursor: pointer;
  color: var(--g-color-text-secondary);
}
.g-aikit-file-item__remove:hover {
  background: var(--g-color-base-simple-hover-solid);
  color: var(--g-color-text-primary);
}
.g-aikit-file-item__remove:disabled {
  opacity: 0.5;
  cursor: default;
}