/* pages/control/control.wxss */

.section {
  margin: 0.24rem;
}

.section-title {
  font-size: 0.28rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.16rem;
  padding-left: 0.08rem;
}

.card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 0.28rem;
}

/* 固件信息 */
.firmware-info {
  margin-bottom: 0.24rem;
}

.firmware-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.16rem 0;
  border-bottom: 0.02rem solid var(--color-border);
}

.firmware-row:last-child {
  border-bottom: none;
}

.firmware-label {
  font-size: 0.28rem;
  color: var(--color-text-secondary);
}

.firmware-value {
  font-size: 0.28rem;
  font-weight: 600;
  color: var(--color-text);
}

.firmware-actions {
  margin-top: 0.08rem;
}

/* 加载动画 */
.loading-spinner {
  width: 0.48rem;
  height: 0.48rem;
  border: 0.04rem solid var(--color-border);
  border-top: 0.04rem solid var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
