.hidden { display: none; }
.fade {
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
}
.fade.active {
  opacity: 1;
}
.captcha-box {
  display: inline-block;
  width: 80px;
  height: 40px;
  background: #eee;
  border-radius: 8px;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

/* 可选，增强样式，例如设备图标的样式 */
.device-card .device-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e2e8f0; /* 设置图标背景颜色 */
}

.device-card .edit-btn {
  transition: transform 0.3s ease-in-out;
}

.device-card:hover .edit-btn {
  transform: scale(1.05);
}
#deviceList {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  margin-bottom: 60px;
}

#addDeviceButtonContainer {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: block;
}

/* 确保 `hidden` 类被正确控制 */
.hidden {
  display: none !important;
}

/* 确保hidden类优先级最高 */
.hidden {
    display: none !important;
}

/* 巴法云字段容器样式 */
#bafcloudFields {
    transition: display 0.3s ease;
}
