.guideContainer {
  height: 100vh;
  background: var(--primary-color);
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
  }
}

.loadingContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: var(--primary-color);
}

.loadingText {
  color: white;
  font-size: 16px;
  margin-top: 16px;
  font-weight: 500;
}

.header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.iconContainer {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.title {
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.4;
  max-width: 280px;
  margin: 0 auto;
}

.content {
  flex: 1;
  position: relative;
  z-index: 1;
  overflow-y: auto;
  padding-right: 4px;
}

.deviceStatus {
  margin-bottom: 16px;
}

.statusCard {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.statusIcon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: white;
  font-size: 20px;
}

.statusInfo {
  flex: 1;
}

.statusTitle {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.statusValue {
  font-size: 12px;
  color: #666;
}

.deviceCount {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 16px;
}

.guideSteps {
  margin-bottom: 16px;
}

.stepsTitle {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stepList {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stepItem {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;

  &:hover {
    transform: translateY(-1px);
  }
}

.stepNumber {
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 12px;
  margin-right: 10px;
  flex-shrink: 0;
}

.stepContent {
  flex: 1;
}

.stepTitle {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.stepDesc {
  font-size: 12px;
  color: #666;
  line-height: 1.3;
}

.tips {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tipsTitle {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.tipsIcon {
  color: #ff6b6b;
  margin-right: 6px;
  font-size: 16px;
}

.tipsContent {
  p {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 4px;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.footer {
  margin-top: 16px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.primaryButton {
  background: white;
  border: none;
  border-radius: 8px;
  height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;

  &:active {
    transform: translateY(1px);
    box-shadow: 0 1px 6px rgba(255, 255, 255, 0.4);
  }
}

.buttonIcon {
  margin-left: 6px;
  font-size: 12px;
}

.secondaryButton {
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  background: transparent;
  backdrop-filter: blur(10px);

  &:active {
    background: rgba(255, 255, 255, 0.1);
  }
}

// 响应式设计
@media (max-width: 480px) {
  .guideContainer {
    padding: 12px;
  }

  .title {
    font-size: 20px;
  }

  .subtitle {
    font-size: 13px;
  }

  .statusCard {
    padding: 10px;
  }

  .stepItem {
    padding: 8px;
  }

  .tips {
    padding: 10px;
  }
}

// 动画效果
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header,
.deviceStatus,
.guideSteps,
.tips {
  animation: fadeInUp 0.5s ease-out;
}

.guideSteps {
  animation-delay: 0.1s;
}

.tips {
  animation-delay: 0.2s;
}

.footer {
  animation: fadeInUp 0.5s ease-out 0.3s both;
}
