/* ============================================
   專屬健康管理服務页面样式
   ============================================ */

/* Banner */
.zsyglfw-banner {
  position: relative;
  height: 168px;
  background: var(--bg-gray-light);
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  .zsyglfw-banner {
    height: 280px;
  }
}

.zsyglfw-banner__img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.zsyglfw-banner__content {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  animation: fadeInUp 0.6s ease-out;
}

.zsyglfw-banner__title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
}

@media (min-width: 992px) {
  .zsyglfw-banner__title {
    font-size: 48px;
  }
}

/* Main Content */
.zsyglfw-main {
  max-width: var(--max-width);
  margin: 0 auto;
  margin-top: -42px;
  position: relative;
  z-index: 12;
  padding-bottom: 80px;
}

@media (min-width: 992px) {
  .zsyglfw-main {
    margin-top: -56px;
  }
}

/* Tab Content */
.zsyglfw-tab-content {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.zsyglfw-tab-content.active {
  display: block;
}

.zsyglfw-card__body {
  padding: 32px;
}

@media (max-width: 991px) {
  .zsyglfw-card__body {
    padding: 16px;
  }
}

/* ============================================
   服務介紹
   ============================================ */
.zsyglfw-intro {
  margin-bottom: 16px;
}

.zsyglfw-intro p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: justify;
  text-wrap: pretty;
}

/* ============================================
   服務區塊
   ============================================ */
.zsyglfw-section {
  margin-bottom: 20px;
}

.zsyglfw-section:last-of-type {
  margin-bottom: 0;
}

.zsyglfw-section__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.zsyglfw-section__title svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* ============================================
   离线内容区域
   ============================================ */
.zsyglfw-offline-content {
  padding: 16px;
  background: var(--bg-gray-light);
  border-radius: var(--radius);
}

.zsyglfw-offline-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  text-align: justify;
  text-wrap: pretty;
  word-break: break-all;
}

/* ============================================
   溫馨提示
   ============================================ */
.zsyglfw-notes {
  margin-top: 20px;
  padding: 16px;
  background: #fef9e7;
  border-radius: var(--radius);
  border: 1px solid #f5e6a3;
}

.zsyglfw-notes p {
  font-size: 14px;
  color: #8a6d3b;
  line-height: 1.7;
  margin: 0;
  text-align: justify;
}

.zsyglfw-notes strong {
  color: var(--primary);
  font-weight: 600;
}

/* ============================================
   二维码区域 - 与bdfw保持一致
   ============================================ */
.zsyglfw-qrcode-section {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: var(--bg-gray-light);
  border-radius: var(--radius);
  margin-top: 24px;
}

@media (max-width: 640px) {
  .zsyglfw-qrcode-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
}

.zsyglfw-qrcode-wrap {
  position: relative;
  flex-shrink: 0;
  width: 125px;
  height: 125px;
  padding: 12px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.08);
}

.zsyglfw-qrcode-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* 四角直角线 */
.zsyglfw-qrcode-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--primary);
  border-style: solid;
  border-width: 0;
  z-index: 2;
}

.zsyglfw-qrcode-corner--tl {
  top: 6px;
  left: 6px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.zsyglfw-qrcode-corner--tr {
  top: 6px;
  right: 6px;
  border-top-width: 2px;
  border-right-width: 2px;
}

.zsyglfw-qrcode-corner--bl {
  bottom: 6px;
  left: 6px;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.zsyglfw-qrcode-corner--br {
  bottom: 6px;
  right: 6px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

.zsyglfw-qrcode-tip {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

@media (max-width: 640px) {
  .zsyglfw-qrcode-tip {
    flex-direction: column;
    align-items: center;
  }
}

.zsyglfw-qrcode-tip__icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.zsyglfw-qrcode-tip p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  text-align: justify;
}

/* ============================================
   Animation
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}