/* Base */
body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.un-loading {
  display: none
}

/* Layout */
.main-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
}

.main-content {
  margin: 96px auto;
  width: 100%;
  max-width: 960px;
  padding: 0 24px
}

/* Title（页面主标题，仅一处） */
.main-wrapper .title {
  color: #FC5431;
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 10px
}

/* Card */
.main-wrapper .card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #E1E1E1;
  padding: 30px;
  width: 90%;
  max-width: 460px;
  margin: 0 auto
}

.main-wrapper .card-title {
  background: #FDF5E6;
  border-radius: 5px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: start
}

.main-wrapper .welcome-text {
  color: #222226;
  font-size: 18px;
  font-weight: 500
}

.main-wrapper .card-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px
}

.main-wrapper .card-footer {
  margin-top: 30px;
  text-align: center
}

.main-wrapper .card-footer-title {
  font-size: 12px;
  font-family: AlibabaPuHuiTi_2_65_Medium, system-ui;
  font-weight: 500;
  color: rgba(43, 36, 54, .5);
  margin-bottom: 10px
}

@media (max-width:768px) {
  .main-wrapper .card {
    padding: 30px 20px
  }
}

/* ✅ 将“2356 欢迎您”左侧原有箭头改为绿色 */
.main-wrapper .card-title .header-arrow path {
  fill: #94C86C !important;
  stroke: #94C86C !important;
}

/* 灰色环形加载（非放射性） */
.main-wrapper .loading {
  display: inline-block;
  animation: spinner-rotate 1s linear infinite;
  transform-origin: center center;
  will-change: transform
}

.main-wrapper .loading .track {
  stroke: rgba(0, 0, 0, 0.12)
}

.main-wrapper .loading .arc {
  stroke: #9e9e9e
}

@keyframes spinner-rotate {
  0% {
    transform: rotate(0)
  }

  100% {
    transform: rotate(360deg)
  }
}

/* 实心绿色按钮 + 呼吸发光 */
.main-wrapper .btn {
  display: inline-block;
  padding: 10px 20px;
  text-align: center;
  cursor: pointer;
  font-size: 15px;
  font-family: AlibabaPuHuiTi_2_65_Medium, system-ui;
  color: #fff;
  border-radius: 20px;
  border: none;
  background: linear-gradient(145deg, #28a745, #34d058);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12), 0 0 12px rgba(40, 167, 69, .55);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: btnBreathe 2.6s infinite ease-in-out
}

.main-wrapper .btn:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .16), 0 0 18px rgba(52, 208, 88, .75)
}

.main-wrapper .btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .18), 0 0 10px rgba(40, 167, 69, .55)
}

@keyframes btnBreathe {
  0% {
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12), 0 0 10px rgba(40, 167, 69, .45)
  }

  50% {
    box-shadow: 0 4px 10px rgba(0, 0, 0, .14), 0 0 22px rgba(52, 208, 88, .8)
  }

  100% {
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12), 0 0 10px rgba(40, 167, 69, .45)
  }
}