/**
 * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
 * SPDX-License-Identifier: MIT
 */

.gedit-m-dynamic-value-input-container {
  display: flex;
  align-items: center;
  border-radius: 4px;
  border: 1px solid var(--semi-color-border);
  line-height: normal;
  overflow: hidden;
  background-color: var(--semi-color-fill-0);
}

.gedit-m-dynamic-value-input-main {
  flex-grow: 1;
  overflow: hidden;
  min-width: 0;
  border-left: 1px solid var(--semi-color-border);
  border-right: 1px solid var(--semi-color-border);

  & .semi-tree-select,
  & .semi-input-number,
  & .semi-select {
    width: 100%;
    border: none;
    border-radius: 0;
  }

  & .semi-input-wrapper {
    border: none;
    border-radius: 0;
  }

  & .semi-input-textarea-wrapper {
    border: none;
    border-radius: 0;
  }

  & .semi-input-textarea {
    padding: 2px 6px;
    border: none;
    border-radius: 0;
    word-break: break-all;
  }
}

.gedit-m-dynamic-value-input-type {
  & .semi-button {
    border-radius: 0;
  }
}

.gedit-m-dynamic-value-input-trigger {
  & .semi-button {
    border-radius: 0;
  }
}
