
/*多标签输入*/
input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    background-color: #f8f9fa;
    transition: border 0.3s ease;
    margin-top: 10px;
    box-sizing: border-box; /* 包括 padding 和 border */
    outline: none;
    flex-grow: 1; /* 确保输入框占据剩余空间 */
}
input:focus {
    border-color: #007bff;
}

.question-category-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: #e0e0e0;
    color: #333;
    border-radius: 3px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}
.tag .delete-btn {
    background-color: #ff6b6b;
    color: white;
    border: none;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
}

.suggestions {
    border: 1px solid #ccc;
    width: calc(100% - 10px);
    max-width: 300px;
    max-height: 400px;
    overflow-y: auto;
    position: absolute;
    background-color: white;
    z-index: 10;
    box-sizing: border-box;
}

.suggestions div {
    padding: 8px;
    cursor: pointer;
}

.suggestions div:hover {
    background-color: #f0f0f0;
}




.radio-text {
  width: 100%;
  min-width: 500px;
}
.radio-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 左对齐 */
  gap: 15px;
}


.radio-option {
  display: flex;
/*      align-items: flex-start; /* 左对齐 */*/
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  background-color: #fff;
}
.radio-option:hover {
  background-color: #f0f0f0;
  border-color: #007BFF;
}
.radio-option input[type="radio"] {
  margin-right: 10px;
  margin-top: 0px;
  accent-color: #007BFF; /* 用于控制原生 radio 的选中颜色 */
}
.radio-option input[type="radio"]:checked + .radio-text {
  font-weight: bold;
  color: #007BFF;
}
