:root{
  /* Brand */
  --brand-1:#2F6BFF;
  --brand-2:#6AA8FF;
  --brand-3:#7A5CFF;
  --brand-grad: linear-gradient(135deg, var(--brand-1), var(--brand-3));

  /* Neutral */
  --bg:#f2f6fb;
  --text:#1e293b;
  --muted:#64748b;
  --line:#e6edf7;
  --card:rgba(255,255,255,.84);

  /* Radius / Shadow */
  --r-xl:18px;
  --r-lg:16px;
  --r-md:12px;
  --shadow-1:0 8px 24px rgba(47,107,255,.08);
  --shadow-2:0 14px 30px rgba(30,41,59,.10);
}

*{ box-sizing:border-box; }

body{
  color:var(--text);
  font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  background:
    radial-gradient(900px 320px at -5% -12%, rgba(122,92,255,.15), transparent 60%),
    radial-gradient(760px 300px at 110% -8%, rgba(47,107,255,.14), transparent 60%),
    var(--bg);
}

/* container */
.page-wrap{
  max-width:1120px;
  margin:22px auto 44px;
  padding:0 14px;
}

/* navbar */
.navbar{
  background:rgba(255,255,255,.78)!important;
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line)!important;
}
.navbar-brand{
  font-weight:800;
  letter-spacing:.3px;
  background:var(--brand-grad);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* alert */
.alert{
  border-radius:12px;
  border:1px solid transparent;
}

/* hero */
.form-hero{
  height:220px;
  border-radius:var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(120deg, #69b3ff 0%, #2f6bff 45%, #0f3ed1 100%);
  position:relative;
  overflow:hidden;
  box-shadow: var(--shadow-1);
}
.form-hero::before,
.form-hero::after{
  content:"";
  position:absolute;
  border-radius:50%;
  filter: blur(2px);
}
.form-hero::before{
  width:520px;height:520px;
  left:-160px; top:-290px;
  background:rgba(255,255,255,.22);
}
.form-hero::after{
  width:460px;height:460px;
  right:-120px; top:-250px;
  background:rgba(255,255,255,.16);
}

/* notice */
.notice-bar{
  margin:12px 0;
  background:#eef4ff;
  border:1px solid #dce8ff;
  color:#355aa7;
  border-radius:10px;
  padding:10px 14px;
  font-size:14px;
}

/* cards */
.flat-card{
  background:var(--card);
  border:1px solid rgba(255,255,255,.76);
  backdrop-filter: blur(8px);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow-1);
  transition:transform .2s ease, box-shadow .2s ease;
}
.flat-card:hover{
  transform: translateY(-2px);
  box-shadow:var(--shadow-2);
}
.flat-card + .flat-card{ margin-top:12px; }

.flat-card .card-body{
  padding:22px 22px 22px 26px;
  position:relative;
}
.flat-card .card-body::before{
  content:"";
  position:absolute;
  left:0; top:14px; bottom:14px;
  width:4px;
  border-radius:10px;
  background:var(--brand-grad);
  opacity:.9;
}

/* section text */
.section-title{
  font-size:24px;
  font-weight:800;
  letter-spacing:.2px;
  margin:0 0 10px 0;
}
.section-desc{
  margin:0;
  color:var(--muted);
}

.q-title{
  font-size:22px;
  font-weight:700;
  margin:0 0 10px 0;
  line-height:1.35;
}
.q-title .required{
  color:#ef4444;
  margin-right:4px;
}
.q-sub{
  color:var(--muted);
  font-size:13px;
  margin-bottom:12px;
}

/* inputs */
.form-label{ font-weight:600; }
.form-control,.form-select{
  border:1px solid #d7e3f7;
  border-radius:12px;
  min-height:44px;
  background:#fff;
  box-shadow:none!important;
  transition:border-color .18s, box-shadow .18s;
}
.form-control:focus,.form-select:focus{
  border-color:#8fb2ff;
  box-shadow:0 0 0 4px rgba(47,107,255,.12)!important;
}
textarea.form-control{ min-height:110px; }

.choice-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.choice-item{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:8px 4px;
  cursor:pointer;
  user-select:none;
  border-radius:10px;
  transition:background .15s ease;
}
.choice-item:hover{
  background:#f7faff;
}

.choice-item > input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.choice-indicator{
  margin-top:2px;
  width:26px;
  height:26px;
  border:2px solid #c5cedb;
  background:#fff;
  flex:0 0 26px;
  position:relative;
  transition:all .15s ease;
}

/* 复选框：方形 */
.choice-checkbox .choice-indicator{
  border-radius:6px;
}
.choice-checkbox > input:checked + .choice-indicator{
  background:var(--brand-1);
  border-color:var(--brand-1);
}
.choice-checkbox > input:checked + .choice-indicator::after{
  content:"✓";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-56%);
  color:#fff;
  font-size:17px;
  font-weight:700;
  line-height:1;
}

/* 单选框：圆形 */
.choice-radio .choice-indicator{
  border-radius:50%;
}
.choice-radio > input:checked + .choice-indicator{
  border-color:var(--brand-1);
}
.choice-radio > input:checked + .choice-indicator::after{
  content:"";
  position:absolute;
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--brand-1);
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
}

.choice-item > input:focus-visible + .choice-indicator{
  box-shadow:0 0 0 4px rgba(47,107,255,.15);
}

.choice-text{
  font-size:18px;
  line-height:1.5;
  color:#0f172a;
  word-break:break-word;
}

/* buttons */
.btn{
  border-radius:12px;
  font-weight:600;
  min-height:40px;
}
.btn-primary{
  border:none;
  background:var(--brand-grad);
  box-shadow:0 8px 20px rgba(47,107,255,.25);
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s;
}
.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(47,107,255,.3);
  opacity:.98;
}
.btn-light.border{
  border-color:#d9e3f3!important;
  background:#fff;
}

/* table */
.table thead th{
  color:#475569;
  font-weight:700;
  border-bottom:1px solid var(--line);
}
.table tbody td{
  border-bottom:1px solid var(--line);
}

@media (max-width:768px){
  .page-wrap{ margin:14px auto 28px; }
  .form-hero{ height:150px; border-radius:14px 14px 0 0; }
  .flat-card .card-body{ padding:16px 16px 16px 20px; }
  .flat-card .card-body::before{ top:10px; bottom:10px; }
  .section-title{ font-size:24px; }
  .q-title{ font-size:23px; }

  .choice-indicator{
    width:22px;
    height:22px;
    flex-basis:22px;
  }
  .choice-radio > input:checked + .choice-indicator::after{
    width:10px;height:10px;
  }
}
@media (min-width: 992px){
  .form-control, .form-select{
    font-size:15px;
  }
  .q-sub{
    font-size:12px;
  }
}