/* 主容器 */
.pisell-collect-info {
  background: #fff;
  padding: 0;
}

/* 左右布局容器 */
.pisell-collect-info-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* 左侧标题区域 */
.pisell-collect-info-header {
  flex: 0 0 280px;
  position: sticky;
  top: 24px;
}

.pisell-collect-info-title {
  font-size: 16px;
  font-weight: 600;
  color: #262626;
  margin-bottom: 8px !important;
  line-height: 24px;
}

.pisell-collect-info-description {
  font-size: 14px;
  color: #8c8c8c;
  line-height: 22px;
  margin: 0 !important;
}

/* 右侧内容区域 */
.pisell-collect-info-content {
  flex: 1;
  min-width: 0;
}

/* 区块 */
.pisell-collect-info-section {
  margin-bottom: 24px;
}

/* 开关项 */
.pisell-collect-info-switch-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.pisell-collect-info-switch-label {
  font-size: 14px;
  font-weight: 500;
  color: #262626;
}

/* 提示语区域 */
.pisell-collect-info-prompt {
  margin-top: 16px;
}

.pisell-collect-info-prompt-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #262626;
}

/* 字段和表单头部 */
.pisell-collect-info-fields-header,
.pisell-collect-info-forms-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  margin-top: 24px;
}

.pisell-collect-info-fields-title,
.pisell-collect-info-forms-title {
  font-size: 14px;
  font-weight: 500;
  color: #262626;
}

/* 字段项 */
.pisell-collect-info-field-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s;
  gap: 12px;
}

.pisell-collect-info-field-item:hover {
  background: #fafafa;
}

.pisell-collect-info-field-drag {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #d9d9d9;
  font-size: 16px;
  cursor: grab;
}

.pisell-collect-info-field-item:hover .pisell-collect-info-field-drag {
  color: #8c8c8c;
}

.pisell-collect-info-field-drag:active {
  cursor: grabbing;
}

.pisell-collect-info-field-checkbox {
  margin-right: 12px;
}

.pisell-collect-info-field-content {
  flex: 1;
  min-width: 0;
}

.pisell-collect-info-field-name {
  font-size: 14px;
  color: #262626;
}

.pisell-collect-info-field-description {
  font-size: 12px;
  color: #8c8c8c;
}

.pisell-collect-info-field-select {
  width: 120px;
  margin-left: 16px;
}

/* 表单项 */
.pisell-collect-info-form-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s;
  gap: 12px;
}

.pisell-collect-info-form-item:hover {
  background: #fafafa;
}

.pisell-collect-info-form-drag {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #d9d9d9;
  font-size: 16px;
  cursor: grab;
}

.pisell-collect-info-form-item:hover .pisell-collect-info-form-drag {
  color: #8c8c8c;
}

.pisell-collect-info-form-drag:active {
  cursor: grabbing;
}

.pisell-collect-info-form-checkbox {
  margin-right: 12px;
}

.pisell-collect-info-form-name {
  flex: 1;
  font-size: 14px;
  color: #262626;
}

.pisell-collect-info-form-select {
  width: 120px;
  margin-left: 16px;
}

/* 拖动状态 */
.pisell-collect-info-dragging {
  opacity: 0.5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 翻译输入组件 */
.pisell-collect-info-translation-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.pisell-collect-info-translation-input {
  flex: 1;
}

.pisell-collect-info-translation-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  background: #fff;
}

.pisell-collect-info-translation-icon-wrapper:hover {
  border-color: #722ed1;
  color: #722ed1;
}

.pisell-collect-info-translation-icon-wrapper.has-translation {
  color: #722ed1;
  border-color: #722ed1;
  background: #f9f0ff;
}

.pisell-collect-info-translation-icon-wrapper.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.pisell-collect-info-translation-icon {
  font-size: 16px;
}

.pisell-collect-info-translation-popover {
  min-width: 320px;
}

.pisell-collect-info-translation-field {
  margin-bottom: 0;
}

.pisell-collect-info-translation-label {
  font-size: 13px;
  color: #262626;
  margin-bottom: 8px;
  font-weight: 500;
}

