/* ================= 基础 Reset（由切图 public.css 提取合并） ================= */
html { font-family:"微软雅黑", "Helvetica Neue", Helvetica, STHeiTi, Arial, sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; font-size: 62.5%; }
body { margin: 0; font-size:1.4rem; line-height: 20px; color: #000; height: 100%; overflow-x: hidden; -webkit-overflow-scrolling: touch; background:#f5f5f5; }
a { background: transparent; text-decoration: none; color: #333; }
a:active { outline: 0; }
img { border: 0; vertical-align: middle; }
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
    outline: none;
    box-sizing: border-box;
}
input, textarea, button { appearance:none; -moz-appearance:none; -webkit-appearance:none; border: 0; margin: 0; padding: 0; font-family:"微软雅黑", "Helvetica Neue", Helvetica, STHeiTi, Arial, sans-serif; }
textarea { resize: none; }
h1, h2, h3, h4, h5, h6, p, figure, form, blockquote { margin: 0; }
ul, ol, li, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.clearfix:after { content:"."; display:block; height:0; clear:both; visibility:hidden;}
.clearfix { display:block;}

/* ================= 弹窗基础（由公共 public.css 提取） ================= */
.pop { display:none; }
.pop-box {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 85%;
    min-width: 280px;
    height: auto;
    z-index: 2000;
    color: #333;
    background: #fff;
    opacity: 1;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    font-size:1.4rem;
}
.pop-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1100;
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
    -khtml-opacity: 0.6;
    opacity: 0.6;
    background: #000;
}
.pop_con { position:relative; padding:30px 10px 10px 10px; }
.pop_con .close { position:absolute; top:5px; right:5px; font-size:2.6rem; color:#999; }
.pop_con p { line-height:1.8rem; }

/* ================= 问卷页面样式（切图 pjStyle.css 全量） ================= */
body {
    background: #a1d1fa;
}
.fatherflex{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.childflex{
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.survey-page {
    width: 100%;
    padding-bottom: 100px;
}
.banner {
    display: block;
    width: 100%;
    height: auto;
}
.survey-card {
    position: relative;
    margin: -12.67% 10px 0;
    padding: 20px 15px;
    background: #fff;
    border-radius: 10px;
}
.intro {
    margin: 0 0 20px;
    color: #888;
    font-size: 14px;
    line-height: 21px;
}
.question {
    margin: 0 0 35px;
    scroll-margin-top: 20px;
}
.question-heading {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 13px;
    line-height: 23px;
    color: #1a1a1a;
}
.question-number {
    flex: none;
}
.question-heading h2 {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 23px;
}
.question-tag {
    flex: none;
    background: #cde8ff;
    color: #4aa2ff;
    border-radius: 20px;
    font-size: 12px;
    line-height: 20px;
    padding: 0 10px;
    margin-top: 1px;
}
.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}
.option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #666;
    line-height: 23px;
    cursor: pointer;
}
.option input,
.rating input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.option-icon {
    flex: none;
    width: 12px;
    height: 12px;
    margin-top: 5px;
    background: center/100% 100% no-repeat;
}
.single {
    background-image: url('../images/notyetselect.png');
}
.multiple {
    background-image: url('../images/wx.png');
}
.option.is-selected {
    color: #4aa2ff;
}
.option input:checked + .single {
    background-image: url('../images/select.png');
}
.option input:checked + .multiple {
    background-image: url('../images/yx.png');
}
.other-wrap {
    padding: 3px 8px 0;
}
.other-input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 0;
    background: #fff;
    padding: 10px 0;
    font: 14px Arial, 'Microsoft YaHei', sans-serif;
    color: #666;
    outline: none;
}
.other-input::placeholder,
.feedback::placeholder {
    color: #b9b9b9;
}
.question-error {
    display: none;
    margin: 6px 0 0;
    color: #f05a45;
    font-size: 14px;
    line-height: 23px;
}
.question.invalid .question-error {
    display: block;
}
.rating-question {
    margin-bottom: 22px;
}
.rating-question .question-heading {
    gap: 8px;
    margin-bottom: 12px;
}
.rating-labels {
    display: flex;
    justify-content: space-between;
    color: #aaa;
    margin-bottom: 9px;
}
.rating-labels span:last-child {
    color: #017eff;
}
.ratings {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}
.rating {
    flex: 1;
    max-width: 25px;
    cursor: pointer;
}
.rating span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid #017eff;
    border-radius: 50%;
    font-size: 14px;
    color: #017eff;
    font-family: Din;
}
.rating input:checked + span {
    background: #017eff;
    border-color: #017eff;
    color: #fff;
}
.feedback {
    display: block;
    resize: vertical;
    width: 100%;
    min-height: 98px;
    border: 1px solid #f2f2f2;
    border-radius: 12px;
    margin-top: 16px;
    padding: 10px;
    font: 14px/25px Arial, 'Microsoft YaHei', sans-serif;
    color: #666;
}
.submit-button,.ytj-btn {
    display: block;
    width: 82%;
    margin: 0 auto;
    border-radius: 28px;
    background: linear-gradient(#4aa2ff, #017eff);
    color: #fff !important;
    text-align: center;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 43px;
    text-decoration: none;
}
.ytj-btn{
    opacity: 0.3;
}
/* ================= 提交成功弹框（切图 pjStyle.css） ================= */
.survey-success-pop .pop-box {
    width: 78.54%;
    min-width: 0;
    max-width: 400px;
    max-height: calc(100% - 40px);
    overflow-y: auto;
    background: transparent;
    border-radius: 0;
}
.survey-success-pop .pop_con {
    padding: 0;
    background: transparent;
}
.survey-success-pop .pop-top{
    margin-bottom: -1px;
}
.survey-success-pop .pop-top img,
.survey-success-pop .btn-box > img {
    display: block;
    width: 100%;
    height: auto;
}
.survey-success-pop .iden-box {
    padding: 4px 24px;
    background: url('../images/pop2.png') center / 100% 100% no-repeat;
    max-height: 200px;
    overflow: auto;
}
.survey-success-pop .ywxq p {
    margin: 0;
    color: #333;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    line-height: 30px;
}
.survey-success-pop .btn-box {
    position: relative;
    padding: 0;
    margin-top: -1px;
}
.survey-success-pop .clo-btn {
    position: absolute;
    left: 22%;
    top: 44%;
    display: block;
    width: 56%;
    height: 32%;
    border-radius: 40px;
}
.survey-success-pop .pop-overlay {
    opacity: 0.7;
}
.toast {
    position: fixed;
    z-index: 1100;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    max-width: 85%;
    width: max-content;
    border-radius: 7px;
    padding: 11px 17px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 14px;
    text-align: center;
    pointer-events: none;
}
