.input-group {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

/* 标签样式 */
.input-group .label {
  display: block;
  font-weight: 500;
  color: #666;
  width: 12.5rem;
  padding-top: 0.75rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
  text-align: right;
  line-height: 1.2;
}

/* 输入区域容器 */
.field-box {
  width: 25rem;
  flex-shrink: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
}

/* 输入框与下拉框通用 */
.field-box .input,
.field-box select {
  width: 100%;
  height: 3rem;
  padding: 0.75rem 0.9375rem;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  box-sizing: border-box;
  background: #f9f9f9;
  font-family: inherit;
  transition: all 0.3s;
}

.field-box .input:focus {
  border-color: #c7000b;
  outline: none;
  box-shadow: 0 0 0 2px rgba(199, 0, 11, 0.1);
}

/* 单选/多选组样式 */
.option-group {
  min-height: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: #666;
}

.option-group label {
  cursor: pointer;
  margin-right: 1.25rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: normal;
}

.option-group input[type="radio"],
.option-group input[type="checkbox"] {
  margin-right: 0.5rem;
  cursor: pointer;
  width: 1rem;
  height: 1rem;
}

.upload-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

/* 上传按钮方块 */
.upload-btn {
  width: 6.25rem;
  height: 6.25rem;
  border: 2px dashed #ddd;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #999;
  transition: all 0.3s;
}

.upload-btn:hover {
  border-color: #c7000b;
  color: #c7000b;
}

.upload-btn span {
  font-size: 1.5rem;
}

.upload-btn p {
  font-size: 0.75rem;
  margin-top: 5px;
}

/* 预览图容器 */
.preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.preview-item {
  position: relative;
  width: 6.25rem;
  height: 6.25rem;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-btn {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 1.25rem;
  height: 1.25rem;
  text-align: center;
  line-height: 1.125rem;
  cursor: pointer;
  font-style: normal;
}

/* 提示文字 */
.tips {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* --- 响应式设计 --- */
@media screen and (max-width: 1024px) {
  .input-group {
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .input-group .label {
    width: 100%;
    max-width: 25rem;
    text-align: left;
    padding-top: 0;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .field-box {
    width: 100%;
    max-width: 25rem;
  }
}
