/* @theme-name: 丑丑 */
/* @theme-author: 手机用户pcguocuvx_251011bbxx */
/* @theme-time: 2026-07-07T04:04:15.723Z */
/* 南宁特色主题：绿城绿为主色，朱槿红为辅助色，呼应壮锦几何元素 */
:root {
  --ai-base-primary: #2E7D32; /* 南宁绿城代表性深绿 */
  --ai-base-text: #2C3333; /* 高对比度深灰文字保证可读性 */
  --ai-base-muted: #6E7C7C; /* 辅助文字浅灰 */
  --ai-base-border: #B4C6A6; /* 浅绿边框 */
  --ai-base-light-border: #E8F3D6; /* 极浅绿边框 */
  --ai-base-error: #E63946; /* 南宁朱槿花红作为提示色 */
}

/* 全局布局与背景 */
body {
  background: linear-gradient(180deg, #F8FFF4 0%, #FFFFFF 100%);
  font-family: "PingFang SC", "Microsoft Yahei", sans-serif;
}
#pageDiv {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 标题区朱槿色装饰条 */
#toptitle {
  position: relative;
  padding-top: 24px !important;
  margin-bottom: 12px;
}
#toptitle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--ai-base-error);
  border-radius: 2px;
}
#toptitle .htitle {
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
  padding: 0 16px;
}

/* 问卷描述卡片 */
#divDesc {
  padding: 16px 20px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.08);
  margin-bottom: 20px;
  text-align: center;
}

/* 问题卡片样式 */
div.field {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.06);
  margin: 12px 0;
  padding: 20px;
  transition: all 0.2s ease;
}
div.field:hover {
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.12);
}

/* 问题标题 */
.field-label {
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 17px !important;
}

/* 输入框样式优化 */
.ui-input-text {
  border: 1px solid var(--ai-base-light-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.ui-input-text:focus-within {
  border-color: var(--ai-base-primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}
.ui-input-text input, .beginner_problem textarea {
  padding: 12px 16px !important;
  font-size: 16px;
}
.beginner_problem textarea {
  border-radius: 8px;
  border-color: var(--ai-base-light-border);
}
.beginner_problem textarea:focus {
  outline: none;
  border-color: var(--ai-base-primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

/* 单选选项样式 */
.ui-controlgroup .ui-radio {
  background: #FAFFFA;
  border-radius: 8px;
  margin: 8px 0;
  border: 1px solid var(--ai-base-light-border);
  transition: all 0.2s ease;
}
.ui-controlgroup .ui-radio.checked {
  border-color: var(--ai-base-primary);
  background: rgba(46, 125, 50, 0.05);
}
.ui-controlgroup .ui-radio .label {
  padding: 14px 16px 14px 0;
}

/* 壮锦风格分割线 */
.cutfield {
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ai-base-primary), var(--ai-base-primary) 20px, transparent 20px, transparent 40px);
  margin: 24px 0;
  opacity: 0.2;
  border-radius: 1px;
}

/* 提交按钮 */
#ctlNext {
  border-radius: 28px;
  height: 56px;
  font-size: 18px;
  font-weight: 600;
  margin: 24px auto 20px;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
  transition: all 0.2s ease;
}
#ctlNext:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(46, 125, 50, 0.3);
}



/* 调整标题和卷首语排版，符合常规中文阅读习惯 */
/* 标题区优化 */
#toptitle {
  padding-top: 32px !important;
  padding-bottom: 12px !important;
  margin-bottom: 16px;
}
#toptitle::before {
  top: auto;
  bottom: 0;
  width: 40px;
  height: 3px;
}
#toptitle .htitle {
  font-size: 22px;
  line-height: 32px;
  font-weight: 600;
  padding: 0 12px;
}
/* 卷首语调整为左对齐+首行缩进 */
#divDesc {
  text-align: left;
  line-height: 1.8;
  padding: 18px 20px;
  margin-bottom: 24px;
}
#divDesc p {
  margin: 0 0 10px 0;
  text-indent: 2em;
}
#divDesc p:last-child {
  margin-bottom: 0;
}

/* @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 */
