/*查看统计样式*/
.total-voter {
  margin: 10px 0;
}

.question-form .item-choice {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 8px;
  padding-right: 10px;
  border-bottom: #eee 1px solid;
  display: flex;
  align-items: center;
}

.question-form .optiontxt {
  color: #828282;
  box-sizing: border-box;
}

.question-form .progress {
  display: none;
}

.question-form .progress {
  float: right;
  width: 50%;
  height: 24px;
  position: relative;
  padding-right: 150px;
  padding-left: 20px;
  box-sizing: border-box;
}

.question-form .progress .bar {
  width: 100%;
}

.question-form .progress .num {
  position: absolute;
  right: 0;
  top: 0;
  width: 150px;
  text-align: right;
}

.question-form .item-choice span {
  display: block;
  height: 8px;
  background-color: #f5f5f5;
  margin-top: 8px;
  border-radius: 6px;
}

.question-form .item-choice span i {
  display: block;
  height: 100%;
  background-color: #0668d5;
  transition: all 0.4s linear;
  border-radius: 6px;
}

.question-form .question-item {
  margin-bottom: 20px;
}

.question-statistics .question-form .optiontxt {
  float: left;
  width: 50%;
}

.question-statistics .question-form .progress {
  display: block;
}

.statistics-txtlist li {
  border-bottom: #eee 1px solid;
  padding-bottom: 12px;
  padding-top: 12px;
  line-height: 1.75;
}

.statistics-txtlist li .time {
  color: #999;
  display: block;
}

.statistics-txtlist li .txt {
  margin-bottom: 10px;
  color: #666;
}


@media (max-width: 1280px) {
  .question-form .item-choice {
    display: block;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .question-form .optiontxt,
  .question-form .progress {
    float: none !important;
    width: auto !important;
  }

  .question-form .progress {
    padding-left: 0;
  }

  .question-form .optiontxt {
    margin-bottom: 10px;
  }

  .question-form .optiontxt input {
    margin-left: 0;
  }
}

@media (max-width: 992px) {
  .question-detail-attr {
    text-align: center;
  }

  .question-form input {
    margin-left: 0;
  }

  .question-form .item-choice {
    padding-left: 0;
    padding-right: 0;
  }
}

.question-paper-tips-loginBefore {
  padding: 20px 0;
  text-align: center;
}

.question-paper-tips-loginBefore a {
  color: #f52832;
  text-decoration: underline;
}

.question-paper-tips-loginBefore a:hover {
  text-decoration: none;
}

body.login-before .question-paper-tips-loginBefore {
  display: block;
}

body.login-before .btn-group {
  display: none !important;
}

.queston-captcha {
  margin-bottom: 30px;
}

.queston-captcha dt {
  float: left;
  line-height: 38px;
  font-weight: bold;
  color: #4c4c4c;
}

.queston-captcha dt .require {
  color: #f52832;
}

.queston-captcha dd {
  float: left;
}

.queston-captcha dd #captcha {
  display: inline-block;
  vertical-align: middle;
  width: 165px;
}

.queston-captcha dd img {
  display: inline-block;
  vertical-align: middle;
  height: 38px;
  margin-left: 5px;
}

/* 基础布局 */
.question-form-box {
  padding-bottom: 30px;
  min-height: 100vh;
}


/* 问卷详情 */
.question-detail-title {
  margin-bottom: 30px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
}

.question-detail-attr {
  margin-bottom: 20px;
  text-align: center;
  color: #666;
  line-height: 1.6;
}

.question-detail-content {
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* 问卷表单 */
.question-form {
  padding: 0 20px;
}

.question-form .question-item {
  margin-bottom: 30px;
}

.question-form .item-title {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* 选项样式 */
.question-form .item-choice {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.question-form .optiontxt {
  width: 120px;
  color: #666;
  flex-shrink: 0;
}

/* 进度条 */
.question-form .progress {
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.question-form .progress .bar {
  flex: 1;
  height: 8px;
  background: #f5f5f5;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 15px;
}

.question-form .progress .bar i {
  display: block;
  height: 100%;
  background: #0668d5;
  border-radius: 4px;
  transition: width 0.3s ease-in-out;
}

.question-form .progress .num {
  width: 150px;
  text-align: right;
  flex-shrink: 0;
}

.question-form .progress .num b {
  display: inline-block;
  color: #666;
  font-size: 14px;
  margin-left: 10px;
}

.question-form .progress .num b.percentage {
  color: #999;
}

/* 验证码 */
.queston-captcha {
  margin-bottom: 30px;
}

.queston-captcha dt {
  float: left;
  line-height: 38px;
  font-weight: bold;
  color: #4c4c4c;
}

.queston-captcha dt .require {
  color: #f52832;
}

.queston-captcha dd {
  float: left;
}

.queston-captcha dd #captcha {
  display: inline-block;
  vertical-align: middle;
  width: 165px;
}

.queston-captcha dd img {
  display: inline-block;
  vertical-align: middle;
  height: 38px;
  margin-left: 5px;
  cursor: pointer;
}

/* 按钮组 */
.btn-group {
  text-align: center;
  margin: 30px 0;
}

.btn-group input {
  width: 160px;
  height: 48px;
  line-height: 48px;
  margin: 0 10px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-group .btn-submit {
  background: #0668d5;
  color: #fff;
  border: none;
}

.btn-group .btn-submit:hover {
  background: #0557b5;
}

.btn-group .btn-reset {
  background: #D9EBFF;
  color: #568AC7;
  border: none;
}

.btn-group .btn-statistics {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
}

.btn-group .btn-statistics:hover {
  border-color: #0668d5;
  color: #0668d5;
}

/* 登录提示 */
.question-paper-tips-loginBefore {
  padding: 20px 0;
  text-align: center;
}

.question-paper-tips-loginBefore a {
  color: #f52832;
  text-decoration: underline;
}

.question-paper-tips-loginBefore a:hover {
  text-decoration: none;
}

body.login-before .question-paper-tips-loginBefore {
  display: block;
}

body.login-before .btn-group {
  display: none !important;
}

/* 统计列表 */
.statistics-txtlist li {
  border-bottom: 1px solid #eee;
  padding: 12px 0;
  line-height: 1.75;
}

.statistics-txtlist li .time {
  color: #999;
  display: block;
}

.statistics-txtlist li .txt {
  margin-bottom: 10px;
  color: #666;
}

/* 响应式布局 */
@media (max-width: 1280px) {
  .container {
    width: 96%;
    min-width: 960px;
  }

  .question-form .item-choice {
    display: block;
    padding: 15px 0;
  }

  .question-form .optiontxt {
    width: 100%;
    margin-bottom: 10px;
  }

  .question-form .progress {
    padding-left: 0;
  }
}

@media (max-width: 992px) {
  .container {
    width: 96%;
    min-width: 760px;
    padding: 20px;
  }

  .question-detail-attr {
    text-align: center;
  }

  .question-form .item-choice {
    padding: 12px 0;
  }

  .question-form .progress .bar {
    margin-right: 10px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 96%;
    min-width: 0;
    padding: 15px;
  }

  .question-form {
    padding: 0;
  }

  .question-form .progress {
    flex-direction: column;
    align-items: flex-start;
  }

  .question-form .progress .bar {
    width: 100%;
    margin-bottom: 10px;
  }

  .question-form .progress .num {
    width: 100%;
    text-align: left;
  }

  .btn-group input {
    width: 140px;
    height: 40px;
    line-height: 40px;
    margin: 0 5px;
  }
}

@media (max-width: 431px) {
  .container {
    padding: 10px;
  }

  .question-detail-title {
    font-size: 20px;
  }

  .btn-group input {
    width: 100%;
    margin: 0 0 10px;
  }
}