page {
  background-color: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 28rpx;
  color: #333333;
}

.page-header {
  padding: 0 40rpx 32rpx;
  text-align: center;
  color: #ffffff;
}

.page-header-title {
  font-size: 36rpx;
  font-weight: 600;
  margin-bottom: 8rpx;
}

.page-header-subtitle {
  font-size: 26rpx;
  opacity: 0.9;
}

.page-header-pink {
  background-color: #E6508C;
}

.page-header-green {
  background-color: #52c41a;
}

.page-header-blue {
  background-color: #006699;
}

.page-header-gold {
  background-color: #DCB982;
}

.page-header-gradient {
  background: linear-gradient(135deg, #E6508C 0%, #DCB982 100%);
}

.page-content {
  padding: 32rpx;
}

.page-title {
  font-size: 32rpx;
  font-weight: 600;
  color: #333333;
  text-align: center;
  margin-bottom: 28rpx;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 28rpx 32rpx;
  background: #E6508C;
  color: #ffffff;
  border: none;
  border-radius: 20rpx;
  font-size: 30rpx;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20rpx;
}

.btn-primary::after {
  border: none;
}

.btn-primary:active {
  opacity: 0.85;
}

.btn-primary-green {
  background: #E6508C;
}

.btn-primary-gold {
  background: #DCB982;
}

.btn-primary-red {
  background: #ff4d4f;
}

.btn-secondary {
  display: block;
  width: 100%;
  padding: 28rpx 32rpx;
  background: #ffffff;
  color: #E6508C;
  border: 4rpx solid #E6508C;
  border-radius: 20rpx;
  font-size: 28rpx;
  font-weight: 500;
  text-align: center;
  margin-bottom: 20rpx;
}

.btn-secondary::after {
  border: none;
}

.btn-secondary-gold {
  color: #DCB982;
  border-color: #DCB982;
}

.status-badge {
  display: inline-block;
  padding: 6rpx 20rpx;
  border-radius: 20rpx;
  font-size: 24rpx;
  color: #ffffff;
}

.status-badge-green {
  background-color: #52c41a;
}

.status-badge-gold {
  background-color: #FAAD14;
}

.device-card {
  background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 100%);
  border: 4rpx solid #E6508C;
  border-radius: 28rpx;
  padding: 40rpx;
  text-align: center;
  margin-bottom: 28rpx;
}

.device-icon {
  width: 100rpx;
  height: 100rpx;
  background: #E6508C;
  border-radius: 50%;
  margin: 0 auto 20rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 52rpx;
}

.device-name {
  font-size: 30rpx;
  color: #333333;
  margin-bottom: 12rpx;
}

.device-battery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8rpx;
  margin-top: 16rpx;
  font-size: 26rpx;
  color: #666666;
}

.success-icon {
  width: 140rpx;
  height: 140rpx;
  background: #52c41a;
  border-radius: 50%;
  margin: 0 auto 32rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 80rpx;
}

.success-title {
  font-size: 44rpx;
  color: #333333;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16rpx;
}

.tip-card {
  background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
  border: 2rpx solid #DCB982;
  border-radius: 24rpx;
  padding: 28rpx;
  margin-bottom: 28rpx;
  display: flex;
  align-items: center;
  gap: 20rpx;
}

.tip-card-icon {
  font-size: 52rpx;
  flex-shrink: 0;
}

.tip-card-title {
  font-size: 28rpx;
  color: #333333;
  font-weight: 600;
  margin-bottom: 6rpx;
}

.tip-card-sub {
  font-size: 26rpx;
  color: #666666;
}

.info-tip {
  background: #f0f9ff;
  border-radius: 20rpx;
  padding: 24rpx;
  margin-bottom: 24rpx;
  font-size: 26rpx;
  color: #006699;
  display: flex;
  align-items: center;
  gap: 16rpx;
}

.text-muted {
  color: #999999;
}

.text-center {
  text-align: center;
}

.mt-20 { margin-top: 20rpx; }
.mt-30 { margin-top: 30rpx; }
.mb-20 { margin-bottom: 20rpx; }
.mb-30 { margin-bottom: 30rpx; }

.nav-back {
  font-size: 28rpx;
  color: rgba(255, 255, 255, 0.85);
  padding: 8rpx 0;
  margin-bottom: 8rpx;
  text-align: left;
}

.nav-back-light {
  color: rgba(255, 255, 255, 0.9);
}
