﻿.service-page main {
  background: #fff;
}

.service-banner {
  position: relative;
  height: 350px;
  overflow: hidden;
  background: url('../首页.png') center 42% / cover no-repeat;
}

.service-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.service-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.service-tabs-section {
  padding: 46px 0 72px;
}

.service-tabs {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 1500px;
  max-width: calc(100% - 40px);
  padding: 0 210px;
  justify-content: space-between;
  gap: 0;
}

.service-arrow-link {
  display: flex;
  flex: 0 0 34px;
  height: 92px;
  align-items: center;
  justify-content: center;
  color: #00499a;
  font-size: 30px;
  line-height: 1;
}

.service-arrow-link::before {
  display: block;
  color: #00499a;
  font-size: 30px;
  line-height: 1;
}

.service-arrow-link-prev::before {
  content: "‹";
}

.service-arrow-link-next::before {
  content: "›";
}

.service-arrow-link.is-disabled {
  opacity: .35;
  pointer-events: none;
}

.service-tab {
  position: relative;
  display: flex;
  flex: 0 0 156px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 125px;
  color: #00499a;
  font-size: 16px;
  gap: 8px;
}

.service-tab.is-tab-hidden {
  display: none;
}

.service-tab i {
  font-size: 38px;
}

.service-tab-icon {
  position: relative;
  width: 36px;
  height: 36px;
}

.service-tab-icon img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: filter .2s ease, opacity .2s ease;
}

.service-tab.active .service-tab-icon img,
.service-tab:hover .service-tab-icon img {
  filter: brightness(0) invert(1);
}

.service-tab::after {
  position: absolute;
  top: 34px;
  right: -18px;
  width: 1px;
  height: 28px;
  content: "";
  background: #e0e0e0;
}

.service-tab:nth-last-child(2)::after,
.service-tab.active::after {
  display: none;
}

.service-tab.active,
.service-tab:hover {
  color: #fff;
  background: #00499a;
}

.service-content-section {
  padding: 0 0 90px;
}

.service-layout {
  width: 760px;
  margin: 0 auto;
}

.service-outpatient-page .service-tabs-section {
  padding: 40px 0 70px;
}

.service-outpatient-page .service-layout {
  width: 1400px;
  max-width: calc(100% - 40px);
}

.service-outpatient-page .service-content-section > .service-layout,
.service-outpatient-page .service-layout > .service-panel,
.service-outpatient-page .service-layout > .service-register-section,
.service-outpatient-page .service-layout > .service-flow-img {
  width: 1400px;
  max-width: 100%;
}

.service-outpatient-page .service-layout > * {
  max-width: 100%;
}

.service-outpatient-page .service-layout img,
.service-outpatient-page .service-layout table {
  max-width: 100%;
}

.service-outpatient-page .service-title-bar {
  height: 40px;
  margin-bottom: 28px;
  font-size: 22px;
  font-weight: 700;
  line-height: 40px;
}

.service-outpatient-page .service-panel {
  margin-bottom: 52px;
}

.service-outpatient-page .service-text p {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.9;
}

.service-outpatient-page .service-text strong {
  font-size: 16px;
  font-weight: 700;
}

.service-register-section {
  margin: 26px 0 80px;
}

.service-register-section h2 {
  margin: 0 0 28px;
  color: #00499a;
  font-size: 20px;
  font-weight: 700;
}

.service-register-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 56px;
  border: 1px solid #bfbfbf;
}

.service-register-head {
  height: 36px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
  background: #0b4c9b;
}

.service-register-head:nth-child(odd),
.service-register-cell:nth-child(odd) {
  border-right: 1px solid #bfbfbf;
}

.service-register-cell {
  min-height: 160px;
  padding: 28px 36px 24px;
}

.service-register-cell p {
  margin: 0 0 12px;
  color: #555;
  font-size: 15px;
  line-height: 1.85;
}

.service-time-list {
  padding-top: 2px;
}

.service-time-list p {
  margin: 0 0 22px;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.service-title-bar {
  height: 28px;
  margin: 0 0 26px;
  color: #00499a;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  background: #eef5ff;
}

.service-panel {
  margin-bottom: 44px;
}

.service-text p {
  margin: 0 0 12px;
  color: #333;
  font-size: 14px;
  line-height: 1.9;
}

.service-text strong {
  color: #00499a;
}

.service-notice-grid {
  display: grid;
  grid-template-columns: 1fr 118px;
  gap: 28px;
  align-items: start;
  padding: 20px 24px;
  background: #f8fbff;
}

.service-qr-list {
  display: grid;
  gap: 18px;
}

.service-qr-box {
  text-align: center;
}

.service-qr-box span {
  display: block;
  width: 104px;
  height: 104px;
  margin: 0 auto 8px;
  background: repeating-linear-gradient(45deg, #111 0 3px, #fff 3px 6px);
}

.service-qr-box p {
  margin: 0;
  color: #00499a;
  font-size: 12px;
}

.service-form {
  width: 560px;
  margin: 0 auto;
}

.service-form-row {
  display: grid;
  grid-template-columns: 86px 1fr 86px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  color: #333;
  font-size: 14px;
}

.service-form-row.single {
  grid-template-columns: 86px 1fr;
}

.service-form input,
.service-form select,
.service-form textarea {
  width: 100%;
  height: 30px;
  border: 1px solid #cfcfcf;
  background: #fff;
}

.service-form textarea {
  height: 76px;
  resize: none;
}

.service-required {
  color: #d92828;
}

.service-submit {
  display: block;
  width: 78px;
  height: 28px;
  margin: 22px auto 0;
  border: 0;
  color: #fff;
  background: #00499a;
}

.service-flow {
  width: 420px;
  margin: 0 auto;
  text-align: center;
}

.service-flow-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
}

.service-flow-item,
.service-flow-center {
  min-width: 130px;
  height: 30px;
  padding: 0 16px;
  color: #fff;
  font-size: 13px;
  line-height: 30px;
  background: #00499a;
}

.service-flow-center {
  display: inline-block;
  margin-bottom: 12px;
}

.service-flow-line {
  width: 2px;
  height: 22px;
  margin: 0 auto;
  background: #00499a;
}

.service-insurance {
  padding-top: 14px;
}

.service-insurance-page .service-layout {
  width: 1400px;
  max-width: calc(100% - 40px);
}

.service-page .service-sub-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 56px;
  margin: 8px 0 44px;
  padding-bottom: 0;
  border-bottom: 1px solid #e6eef8;
}

.service-page .service-sub-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: auto;
  padding: 0 4px 16px;
  color: #666;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: color .2s ease;
}

.service-page .service-sub-tabs a::after {
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 3px;
  content: "";
  border-radius: 2px 2px 0 0;
  background: #00499a;
  transform: translateX(-50%);
  transition: width .2s ease;
}

.service-page .service-sub-tabs a:hover {
  color: #00499a;
}

.service-page .service-sub-tabs a.active {
  color: #00499a;
  font-weight: 700;
  background: transparent;
}

.service-page .service-sub-tabs a.active::after {
  width: 100%;
}

.service-insurance-page .service-insurance {
  box-sizing: border-box;
  padding: 12px 0 40px;
}

.service-insurance-page .service-insurance p {
  margin: 0 0 16px;
  color: #333;
  font-size: 16px;
  line-height: 1.95;
}

.service-insurance-page .service-insurance strong {
  display: inline-block;
  margin-top: 8px;
  color: #00499a;
  font-size: 18px;
  font-weight: 700;
}

.service-insurance-page .service-insurance p:first-child strong {
  margin-top: 0;
}

/* ── 住院注意事项页 ── */
.zyzy-layout {
  width: 860px;
  padding-bottom: 60px;
}

.service-inpatient-page .zyzy-layout {
  width: 1400px;
  max-width: calc(100% - 40px);
}

/* CMS 富文本（p / strong） */
.service-inpatient-page .service-richtext {
  box-sizing: border-box;
  padding: 12px 0 40px;
}

.service-inpatient-page .service-richtext p {
  margin: 0 0 16px;
  color: #333;
  font-size: 16px;
  line-height: 1.95;
}

.service-inpatient-page .service-richtext strong {
  display: inline-block;
  margin-top: 8px;
  color: #00499a;
  font-size: 18px;
  font-weight: 700;
}

.service-inpatient-page .service-richtext p:first-child strong {
  margin-top: 0;
}

/* 居中标题条：居中 p/h3（含或不含 strong） */
.service-inpatient-page .service-richtext p[style*="center"]:has(strong),
.service-inpatient-page .service-richtext h3[style*="center"],
.service-insurance-page .service-insurance p[style*="center"]:has(strong),
.service-insurance-page .service-insurance h3[style*="center"] {
  height: 40px;
  margin: 28px 0;
  padding: 0;
  color: #00499a;
  font-size: 20px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  background: #eef5ff;
}

.service-inpatient-page .service-richtext p[style*="center"]:has(strong) strong,
.service-inpatient-page .service-richtext h3[style*="center"] strong,
.service-insurance-page .service-insurance p[style*="center"]:has(strong) strong,
.service-insurance-page .service-insurance h3[style*="center"] strong {
  display: inline;
  margin-top: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.service-inpatient-page .zyzy-intro {
  margin: 28px 0 40px;
  color: #333;
  font-size: 16px;
  line-height: 2;
}

.service-inpatient-page .zyzy-list h4,
.service-inpatient-page .zyzy-checkout-list h4 {
  font-size: 16px;
}

.service-inpatient-page .zyzy-list p,
.service-inpatient-page .zyzy-checkout-list p {
  font-size: 15px;
  line-height: 1.95;
}

.service-inpatient-page .service-title-bar {
  height: 40px;
  margin-bottom: 28px;
  font-size: 20px;
  font-weight: 700;
  line-height: 40px;
}

.service-inpatient-page .zyzy-flow-row {
  gap: 28px;
  padding: 48px 0 64px;
}

.service-inpatient-page .zyzy-flow-step {
  min-width: 220px;
  height: 44px;
  padding: 0 28px;
  font-size: 15px;
  line-height: 44px;
  text-align: center;
}

.zyzy-intro {
  margin: 30px 0 36px;
  color: #333;
  font-size: 14px;
  line-height: 2;
}

.zyzy-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zyzy-list li {
  margin-bottom: 20px;
}

.zyzy-list h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: #00499a;
  font-size: 15px;
  font-weight: 700;
}

.zyzy-list h4::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00499a;
  flex-shrink: 0;
}

.zyzy-list p {
  margin: 0 0 0 16px;
  color: #333;
  font-size: 14px;
  line-height: 1.9;
}

.zyzy-flow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 50px 0 60px;
}

.zyzy-flow-step {
  height: 40px;
  padding: 0 22px;
  color: #fff;
  font-size: 14px;
  line-height: 40px;
  white-space: nowrap;
  background: #0b4c9b;
}

.zyzy-flow-arrow {
  color: #0b4c9b;
  font-size: 24px;
  line-height: 1;
}

.zyzy-checkout-list {
  margin: 30px 0 60px;
  padding: 0;
  list-style: none;
}

.zyzy-checkout-list li {
  margin-bottom: 22px;
}

.zyzy-checkout-list h4 {
  margin: 0 0 6px;
  color: #00499a;
  font-size: 15px;
  font-weight: 700;
}

.zyzy-checkout-list p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.9;
}

.service-flow-img {
  padding: 20px 0 60px;
  text-align: center;
}

.service-flow-img img {
  max-width: 100%;
}

/* ── 预约流程页专属 ── */
.yylc-layout {
  width: 960px;
}

.yylc-notice-grid {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}

.yylc-notice-card {
  padding: 28px 30px 24px;
  background: #eef5ff;
}

.yylc-notice-card h3 {
  margin: 0 0 18px;
  color: #00499a;
  font-size: 16px;
  font-weight: 700;
}

.yylc-notice-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.yylc-notice-card li {
  margin-bottom: 10px;
  color: #333;
  font-size: 14px;
  line-height: 1.8;
  counter-increment: none;
}

.yylc-notice-card li::before {
  content: none;
}

.yylc-qr-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  padding-top: 10px;
}

.yylc-qr-col .service-qr-box p {
  font-size: 13px;
  font-weight: 700;
  color: #00499a;
  margin-top: 8px;
  text-align: center;
}

.yylc-layout .service-title-bar {
  margin-bottom: 30px;
}

.yylc-form-notice {
  width: 480px;
  margin: 0 auto 36px;
  text-align: center;
}

.yylc-form-notice p {
  margin: 0 0 12px;
  color: #333;
  font-size: 14px;
  line-height: 1.9;
}

.yylc-hotline {
  color: #d92828;
  font-size: 18px;
  font-weight: 700;
}

.yylc-form {
  width: 560px;
  margin: 0 auto 60px;
}

.yylc-form-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.yylc-form-row label {
  flex-shrink: 0;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
}

.yylc-form-row input,
.yylc-form-row select {
  height: 28px;
  border: 1px solid #c0c0c0;
  background: #fff;
  font-size: 13px;
  padding: 0 6px;
}

.yylc-form-row input {
  width: 160px;
}

.yylc-form-row select {
  width: 80px;
}

.yylc-input-wide {
  width: 240px !important;
}

.yylc-input-sm {
  width: 60px !important;
}

.yylc-select-sm {
  width: 70px !important;
}

.yylc-sep {
  color: #555;
  font-size: 14px;
}

.yylc-row-textarea {
  align-items: flex-start;
}

.yylc-row-textarea textarea {
  flex: 1;
  height: 100px;
  border: 1px solid #c0c0c0;
  background: #fff;
  font-size: 13px;
  padding: 8px;
  resize: none;
  color: #999;
}

.yylc-form-submit {
  text-align: center;
  margin-top: 10px;
}

.yylc-form-submit button {
  width: 90px;
  height: 34px;
  border: 0;
  border-radius: 50px;
  color: #fff;
  font-size: 15px;
  background: #0b4c9b;
  cursor: pointer;
}

.service-appointment-page .service-content-section {
  padding-top: 8px;
}

.service-appointment-page .service-content-section > .service-layout,
.service-appointment-page .service-layout.yylc-layout {
  width: 1400px;
  max-width: calc(100% - 40px);
}

.service-appointment-page .patient-page-title {
  margin: 0 0 28px;
  color: #00499a;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
}

.service-appointment-page .yylc-notice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 56px;
  align-items: stretch;
  margin: 0 0 56px;
}

.service-appointment-page .yylc-notice-card {
  box-sizing: border-box;
  min-height: 100%;
  padding: 32px 40px 28px;
  border-radius: 2px;
  background: #eef5ff;
}

.service-appointment-page .yylc-notice-card h3 {
  margin: 0 0 18px;
  color: #00499a;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.service-appointment-page .yylc-notice-card ol {
  margin: 0;
  padding: 0 0 0 1.4em;
  list-style: decimal;
}

.service-appointment-page .yylc-notice-card li {
  margin: 0 0 10px;
  color: #333;
  font-size: 15px;
  line-height: 1.9;
}

.service-appointment-page .yylc-notice-card li::before {
  content: none;
}

.service-appointment-page .yylc-qr-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 6px 0;
}

.service-appointment-page .yylc-qr-col .service-qr-box {
  width: 100%;
}

.service-appointment-page .yylc-qr-col .service-qr-box .qr-box,
.service-appointment-page .yylc-qr-col .service-qr-box img.qr-box {
  display: block;
  width: 168px;
  height: 168px;
  margin: 0 auto 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  background: transparent;
}

.service-appointment-page .yylc-qr-col .service-qr-box p {
  margin: 0;
  color: #00499a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.service-appointment-page .yylc-layout .service-title-bar {
  height: 40px;
  margin: 0 0 36px;
  color: #00499a;
  font-size: 20px;
  font-weight: 700;
  line-height: 40px;
  background: #eef5ff;
}

.service-appointment-page .yylc-form-notice {
  width: 820px;
  max-width: 100%;
  margin: 0 auto 44px;
  text-align: center;
  box-sizing: border-box;
}

.service-appointment-page .yylc-form-notice p {
  margin: 0 0 16px;
  color: #333;
  font-size: 15px;
  line-height: 1.9;
}

.service-appointment-page .yylc-form-notice strong {
  color: #d92828;
  font-weight: 700;
}

.service-appointment-page .yylc-hotline {
  color: #00499a;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

.service-appointment-page .appointment-form {
  width: 920px;
  max-width: 100%;
  margin: 0 auto 80px;
  box-sizing: border-box;
}

.service-appointment-page .appointment-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 72px;
  row-gap: 24px;
  width: 100%;
  margin-bottom: 24px;
}

.service-appointment-page .appointment-field {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  color: #333;
  font-size: 15px;
}

.service-appointment-page .appointment-field > span {
  flex: 0 0 84px;
  color: #333;
  text-align: right;
  white-space: nowrap;
}

.service-appointment-page .appointment-field input,
.service-appointment-page .appointment-field select,
.service-appointment-page .appointment-field textarea {
  flex: 1 1 auto;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  box-sizing: border-box;
  background: #fff;
  color: #333;
  font-size: 15px;
}

.service-appointment-page .appointment-field em {
  flex: 0 0 auto;
  color: #d92828;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.service-appointment-page .appointment-field i {
  flex: 0 0 auto;
  color: #666;
  font-style: normal;
  line-height: 1;
}

.service-appointment-page .appointment-field--gender select {
  flex: 0 0 100px;
  width: 100px;
}

.service-appointment-page .appointment-field--disease {
  grid-column: 1 / 2;
  max-width: none;
}

.service-appointment-page .appointment-field--disease input {
  flex: 1 1 auto;
  width: auto;
}

.service-appointment-page .appointment-field--time {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  min-height: 36px;
  margin: 0 0 24px;
}

.service-appointment-page .appointment-field--time > span {
  flex: 0 0 84px;
}

.service-appointment-page .appointment-field--time select {
  flex: 0 0 86px;
  width: 86px;
  padding: 0 8px;
}

.service-appointment-page .appointment-field--time select[data-appointment-period] {
  flex-basis: 100px;
  width: 100px;
  margin-left: 6px;
}

.service-appointment-page .appointment-field--code {
  width: 100%;
  margin-bottom: 24px;
}

.service-appointment-page .appointment-field--code input {
  width: 200px;
  flex: 0 0 200px;
}

.service-appointment-page .appointment-field--remark {
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 42px;
}

.service-appointment-page .appointment-field--remark > span {
  padding-top: 8px;
}

.service-appointment-page .appointment-field--remark textarea {
  flex: 1 1 auto;
  width: 100%;
  min-height: 132px;
  height: auto;
  resize: vertical;
  padding: 12px 14px;
  text-align: left;
  line-height: 1.6;
}

.service-appointment-page .appointment-field--remark textarea::placeholder {
  color: #999;
}

.service-appointment-page .appointment-submit {
  display: block;
  width: 132px;
  height: 40px;
  margin: 0 auto 40px;
  border: 0;
  border-radius: 20px;
  color: #fff;
  font-size: 16px;
  background: #0b4c9b;
  cursor: pointer;
}

.service-appointment-page .appointment-submit:hover {
  background: #093d7d;
}

@media (max-width: 768px) {
  .service-appointment-page .yylc-notice-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-appointment-page .yylc-qr-col {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }

  .service-appointment-page .appointment-form {
    width: 100%;
  }

  .service-appointment-page .appointment-form__grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .service-appointment-page .appointment-field--disease {
    grid-column: 1;
  }

  .service-appointment-page .appointment-field--time {
    flex-wrap: wrap;
  }

  .service-appointment-page .yylc-form-notice {
    width: 100%;
  }

  .service-appointment-page .yylc-hotline {
    font-size: 22px;
  }
}

/* ── 就诊流程图 ── */
.service-visit-flow {
  padding: 30px 0 60px;
  text-align: center;
}

/* 顶部初诊/复诊两个蓝框：宽度和排列与步骤列（260px）对齐 */
.svf-entries {
  display: flex;
  justify-content: space-between;
  width: 260px;
  margin: 0 auto;
}

.svf-entry {
  width: 100px;
  height: 36px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
  background: #0b4c9b;
}

/* 两个下箭头，与两个入口各自居中对齐 */
.svf-dual-arrows {
  display: flex;
  justify-content: space-between;
  width: 260px;
  margin: 0 auto;
  color: #0b4c9b;
  font-size: 22px;
  line-height: 1.5;
}

.svf-arr {
  display: inline-block;
  width: 100px;
  text-align: center;
}

/* body 区域：相对定位容器，步骤列居中，侧边标签绝对定位在左侧 */
.svf-body {
  position: relative;
  width: 260px;
  margin: 0 auto;
}

/* 侧边容器：绝对定位，宽度包含竖块+连线+箭头，完全在步骤列左侧 */
.svf-side {
  position: absolute;
  top: 0;
  left: -120px;
  width: 120px;
  height: 100%;
}

/*
  竖块靠左，右边缘留 84px 给连线和箭头。
  top: 144px = 2*(40+32)，对齐"就诊（诊断）"顶。
  height: 216px = 3*(40+32)，延伸到"完成/取结果报告单"底。
*/
.svf-side-bar {
  position: absolute;
  top: 144px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 216px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  writing-mode: vertical-lr;
  background: #0b4c9b;
}

/* 顶部水平连线 span：从竖块右边缘到箭头左端 */
.svf-line-top {
  position: absolute;
  top: 164px;
  left: 28px;
  width: 77px;
  height: 1px;
  background: #0b4c9b;
}

/* 底部水平连线 span：从竖块右边缘到步骤框左边缘 */
.svf-line-bot {
  position: absolute;
  top: 360px;
  left: 28px;
  width: 84px;
  height: 1px;
  background: #0b4c9b;
}

/* 顶部箭头三角：紧贴步骤框左边缘，对齐"就诊（诊断）"行中点 */
.svf-side-arrow {
  position: absolute;
  top: 159px;
  right: 0;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #0b4c9b;
}

/* 步骤主列 */
.svf-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 260px;
}

.svf-step {
  width: 100%;
  height: 40px;
  font-size: 15px;
  line-height: 40px;
  text-align: center;
}

.svf-outline {
  border: 1px solid #0b4c9b;
  color: #333;
  background: #fff;
}

.svf-filled {
  color: #fff;
  background: #0b4c9b;
}

.svf-down-arr {
  color: #0b4c9b;
  font-size: 20px;
  line-height: 32px;
  height: 32px;
}

/* ── 交通路线页 ── */
.service-traffic-page .service-layout {
  width: 1400px;
  max-width: calc(100% - 40px);
}

.service-traffic-page .traffic-page {
  padding-top: 10px;
  padding-bottom: 40px;
}

.service-traffic-page .patient-page-title {
  margin: 0 0 28px;
  color: #00499a;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
}

.service-traffic-page .traffic-map-figure {
  margin: 0 0 36px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  background: #eef4fb;
}

.service-traffic-page .traffic-map-figure iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
}

.service-traffic-page .traffic-article {
  color: #333;
  font-size: 16px;
  line-height: 1.95;
}

.service-traffic-page .traffic-article p {
  margin: 0 0 14px;
}

.service-traffic-page .traffic-article h2,
.service-traffic-page .traffic-article h3,
.service-traffic-page .traffic-article h4 {
  margin: 24px 0 12px;
  color: #00499a;
  font-weight: 700;
}

.service-traffic-page .traffic-article img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .service-traffic-page .patient-page-title {
    font-size: 24px;
  }

  .service-traffic-page .traffic-map-figure iframe {
    height: 360px;
  }
}

/* ── 投诉建议页 ── */
.service-feedback-page .service-layout {
  width: 1400px;
  max-width: calc(100% - 40px);
}

.service-feedback-page .patient-page-title {
  margin: 0 0 40px;
  color: #00499a;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
}

.service-feedback-page .ts-form {
  padding-bottom: 48px;
  color: #333;
  font-size: 16px;
}

.service-feedback-page .ts-question {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.service-feedback-page .ts-question legend {
  display: block;
  margin: 0 0 16px;
  padding: 0;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.service-feedback-page .ts-question label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 36px 12px 0;
  color: #333;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
}

.service-feedback-page .ts-question input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.service-feedback-page .ts-question label span {
  display: inline-block;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1px solid #00499a;
  border-radius: 50%;
  background: #fff;
}

.service-feedback-page .ts-question input[type="radio"]:checked + span {
  background: #00499a;
  box-shadow: inset 0 0 0 3px #fff;
}

.service-feedback-page .ts-question input[type="radio"]:focus-visible + span {
  outline: 2px solid rgba(0, 73, 154, .35);
  outline-offset: 2px;
}

.service-feedback-page .ts-leave {
  display: block;
  margin: 8px 0 12px;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.service-feedback-page .ts-textarea,
.service-feedback-page .ts-input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 24px;
  padding: 12px 14px;
  color: #333;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.6;
  border: 1px solid #c9d6e5;
  border-radius: 2px;
  background: #fff;
  outline: none;
  transition: border-color .2s ease;
}

.service-feedback-page .ts-textarea:focus,
.service-feedback-page .ts-input:focus {
  border-color: #00499a;
}

.service-feedback-page .ts-textarea {
  min-height: 140px;
  resize: vertical;
}

.service-feedback-page .ts-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 28px;
}

.service-feedback-page .ts-code .ts-leave {
  margin: 0;
  flex: 0 0 auto;
}

.service-feedback-page .ts-code .ts-input {
  width: 180px;
  margin: 0;
}

.service-feedback-page .ts-submit {
  display: block;
  width: 220px;
  height: 48px;
  margin: 18px auto 0;
  padding: 0;
  color: #fff;
  font-size: 18px;
  font-family: inherit;
  line-height: 48px;
  text-align: center;
  border: 0;
  border-radius: 2px;
  background: #00499a;
  cursor: pointer;
  transition: background .2s ease;
}

.service-feedback-page .ts-submit:hover {
  background: #063f8d;
}

@media (max-width: 900px) {
  .service-feedback-page .patient-page-title {
    font-size: 24px;
  }

  .service-feedback-page .ts-question label {
    margin-right: 20px;
  }

  .service-feedback-page .ts-submit {
    width: 100%;
  }
}
