/* @theme-name: 盐边 */
/* @theme-author: chenrong123123 */
/* @theme-time: 2026-07-03T03:16:59.034Z */
/* 四川省盐边中学动漫风格主题：参考学校门头红色为主色，搭配校园动漫感浅渐变背景、圆角卡片设计 */
:root {
  --ai-base-primary: #c82930; /* 对应学校门头标识红色 */
  --ai-base-text: #2d3748;
  --ai-base-muted: #718096;
  --ai-base-border: #cbd5e0;
  --ai-base-light-border: #edf2f7;
  --ai-base-error: #e53e3e;
}

/* 全局动漫感背景 */
body {
  background: linear-gradient(180deg, #fff9f0 0%, #f0f8ff 100%) fixed;
  margin: 0;
  padding: 10px;
}

/* 标题区动漫风设计 */
#toptitle .htitle {
  font-size: 24px;
  color: var(--ai-base-primary);
  text-shadow: 1px 1px 2px rgba(200, 41, 48, 0.2);
  padding: 20px 0 10px;
}

/* 问卷描述 */
#divDesc {
  background: rgba(255,255,255,0.8);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid rgba(200, 41, 48, 0.15);
}

/* 问题卡片动漫对话框风格 */
div.field {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(200, 41, 48, 0.1);
  border: 1px solid rgba(200, 41, 48, 0.15);
  margin-bottom: 15px;
  transition: transform 0.2s ease;
}
div.field:hover {
  transform: translateY(-2px);
}

/* 输入框圆角调整 */
.ui-input-text {
  border-radius: 8px;
  border: 1px solid var(--ai-base-light-border);
  overflow: hidden;
}
.ui-input-text input {
  padding: 12px 10px;
}

/* 下拉选择框圆角 */
body .select2-container--default .select2-selection--single {
  border-radius: 8px;
}

/* 提交按钮动漫风设计 */
#ctlNext.submitbtn {
  border-radius: 25px;
  height: 48px;
  line-height: 48px;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(200, 41, 48, 0.3);
  margin-top: 20px;
  transition: all 0.2s ease;
}
#ctlNext.submitbtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 41, 48, 0.35);
}

/* 单选/多选选项悬停效果 */
.ui-controlgroup .ui-radio:hover, .ui-controlgroup .ui-checkbox:hover {
  background: rgba(200, 41, 48, 0.05);
  border-radius: 8px;
}

/* @wjx-ai-control-fix:start */
.ui-controlgroup .ui-radio.checked .jqchecked:before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 8px !important;
    height: 8px !important;
    margin: -4px 0 0 -4px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;
    animation: none !important;
    transform: none !important;
    pointer-events: none !important;
}
.ui-controlgroup .ui-radio.checked .jqchecked:after {
    display: none !important;
    content: none !important;
}
.ui-controlgroup .ui-checkbox.checked .jqchecked:after {
    top: 50% !important;
    left: 50% !important;
    width: 5px !important;
    height: 10px !important;
    margin: -6px 0 0 -3px !important;
    transform: rotate(45deg) scale(1) !important;
    transform-origin: center center !important;
}
/* @wjx-ai-control-fix:end */
