.comprehensive-search__search-section {
  display: flex;
  gap: 8px;
  align-items: center;

  .comprehensive-search__search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.3s;
    padding: 4px;
    height: 100%;

    &:focus-within {
      border-color: #e9d7fe;
      box-shadow: 0 0 0 2px #f9f5ff;
    }
  }

  .comprehensive-search__search-input {
    height: 38px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    border: none;
    box-shadow: none;
    background: transparent;
    flex: 1;

    &:focus {
      border: none;
      box-shadow: none;
    }

    .comprehensive-search__prefix-icon {
      font-size: 20px;
      color: #667085;
    }
  }

  .comprehensive-search__camera-activator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px !important;
    border-radius: 8px;
    border: 1px solid #e9d7fe;
    background: #f9f5ff;
    // 宽度按内容自适应：默认同时展示「摄像头 + 扫码」两个图标，
    // 固定 38px（单图标尺寸）会导致第二个图标溢出盒子，故用 min-width 兜底单图标场景。
    min-width: 38px;
    width: auto;
    height: 38px;
    cursor: pointer;
    gap: 8px;

    .comprehensive-search__camera-activator-icons-divider {
      display: inline-block;
      height: 20px;
      width: 2px;
      background-color: #b692f6;
    }

    .comprehensive-search__camera-activator-icon {
      font-size: 24px;
      color: #6941c6;
    }

    &.disabled {
      border: none;
      background-color: #d1d5dd;

      .comprehensive-search__camera-activator-icon {
        color: white;
      }

      .comprehensive-search__camera-activator-icons-divider {
        background-color: white;
      }
    }
  }

  .comprehensive-search__cancel-button {
    height: 38px;
    padding: 0 8px;
    color: #6941c6;
  }

  .comprehensive-search__search-button {
    height: 48px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #7f56d9;
    background: linear-gradient(
        0deg,
        var(---, #5d3f9f) 0%,
        var(---, #5d3f9f) 100%
      ),
      #7f56d9;

    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  }
}
