@charset "UTF-8";
/* stylelint-disable */
[data-v-23f29410]:export {
  base_color_theme: #00b2a9;
  base_color_white: #fff;
  base_color_warning: #ffba00;
  menu-color: rgba(255, 255, 255, 0.95);
  menu-color-active: rgba(255, 255, 255, 0.95);
  menu-background: #00b2a9;
  menu-children-background: #009b93;
  menu-background-active: #00c1cc;
}

/* 变量定义 */
.device-monitor-container[data-v-23f29410] {
  background-color: #0b1120;
  /* 科技感背景网格 */
  background-image: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 60%), linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
  color: #e2e8f0;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

/* 顶部标题 */
.dashboard-header[data-v-23f29410] {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dashboard-header h1[data-v-23f29410] {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(to right, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  color: transparent;
  margin: 0;
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}
.dashboard-header .current-time[data-v-23f29410] {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #4ade80;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 14px;
}

/* 表单容器 (复用你的类名风格) */
.el-form-contaner[data-v-23f29410] {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.el-form-contaner[data-v-23f29410] .el-form-item__label {
  color: #ffffff;
  font-size: 13px;
}
.el-form-contaner[data-v-23f29410] .el-input__inner,
.el-form-contaner[data-v-23f29410] .el-select__input {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
.el-form-contaner[data-v-23f29410] .el-input__inner:focus,
.el-form-contaner[data-v-23f29410] .el-select__input:focus {
  border-color: #38bdf8;
}
.el-form-contaner[data-v-23f29410] .el-select .el-input__suffix {
  color: #ffffff;
}
.form-btn[data-v-23f29410] {
  min-width: 100px !important;
}

/* 操作按钮区 (复用你的类名风格) */
.operating-box[data-v-23f29410] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 5px;
}
.operating-box .operating-left[data-v-23f29410],
.operating-box .operating-right[data-v-23f29410] {
  display: flex;
  gap: 10px;
}

/* 表格/列表容器 (复用你的类名风格) */
.table-box[data-v-23f29410] {
  background: transparent;
  min-height: 400px;
}
.device-grid-box[data-v-23f29410] {
  /* 覆盖 loading 背景色以适应深色主题 */
}
.device-grid-box[data-v-23f29410] .el-loading-mask {
  background-color: rgba(11, 17, 32, 0.7);
}
.device-grid-box[data-v-23f29410] .el-loading-mask .el-loading-spinner .path {
  stroke: #38bdf8;
}
.device-grid-box .empty-text[data-v-23f29410] {
  text-align: center;
  padding: 50px 0;
}
.device-grid-box .empty-text[data-v-23f29410] .el-empty__description {
  color: #ffffff;
}

/* 网格布局核心 */
.device-grid[data-v-23f29410] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* 卡片样式 */
.device-card[data-v-23f29410] {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  padding: 15px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  /* 顶部装饰线 */
  /* 离线状态样式 */
}
.device-card[data-v-23f29410]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4ade80, transparent);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.device-card[data-v-23f29410]:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(56, 189, 248, 0.6);
}
.device-card[data-v-23f29410]:hover::before {
  opacity: 1;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}
.device-card.is-offline[data-v-23f29410] {
  border-color: rgba(239, 68, 68, 0.3);
  opacity: 0.8;
}
.device-card.is-offline[data-v-23f29410]::before {
  background: linear-gradient(90deg, transparent, #ef4444, transparent);
}
.device-card.is-offline .status-tag[data-v-23f29410] {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.card-header[data-v-23f29410] {
  display: flex;
  flex-direction: column;
  /* 垂直排列：第一行容器 和 第二行文字 */
  align-items: flex-start;
  /* 左对齐 */
  margin-bottom: 15px;
  font-size: 13px;
  width: 100%;
}
.header-row[data-v-23f29410] {
  display: flex;
  justify-content: space-between;
  /* SN 和 状态 左右分布 */
  align-items: center;
  width: 100%;
  margin-bottom: 6px;
  /* 第一行和第二行之间的间距 */
}
.sn-text[data-v-23f29410] {
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
  font-family: "Courier New", monospace;
}
.sn-text.child-name[data-v-23f29410] {
  /* 如果需要幼儿名字样式不同，可以在这里加 */
  color: #ffffff;
  /* 例如稍微淡一点，或者保持 #fff */
}
.status-tag[data-v-23f29410] {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}
.card-body[data-v-23f29410] {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex: 1;
  align-items: center;
}
.data-col[data-v-23f29410] {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.data-col .chart-line[data-v-23f29410] {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
.data-col .chart-line[data-v-23f29410]::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 60%;
  border-radius: 2px;
  -webkit-animation: pulse-wave-23f29410 2s infinite ease-in-out;
          animation: pulse-wave-23f29410 2s infinite ease-in-out;
}
.data-col .heart-line[data-v-23f29410]::after {
  background: #facc15;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.6);
}
.data-col .breath-line[data-v-23f29410]::after {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
.data-col .label[data-v-23f29410] {
  font-size: 12px;
  color: #ffffff;
  margin-bottom: 4px;
}
.data-col .value[data-v-23f29410] {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  font-family: "Courier New", monospace;
}
.data-col .value .unit[data-v-23f29410] {
  font-size: 10px;
  color: #ffffff;
  margin-left: 2px;
  font-weight: normal;
}
.data-col .value.dash[data-v-23f29410] {
  color: #ffffff;
  font-size: 14px;
}
@-webkit-keyframes pulse-wave-23f29410 {
0% {
    width: 20%;
    opacity: 0.4;
    left: 0;
}
50% {
    width: 80%;
    opacity: 1;
    left: 10%;
}
100% {
    width: 20%;
    opacity: 0.4;
    left: 90%;
}
}
@keyframes pulse-wave-23f29410 {
0% {
    width: 20%;
    opacity: 0.4;
    left: 0;
}
50% {
    width: 80%;
    opacity: 1;
    left: 10%;
}
100% {
    width: 20%;
    opacity: 0.4;
    left: 90%;
}
}
/* 响应式调整 */
@media (max-width: 768px) {
.device-grid[data-v-23f29410] {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.dashboard-header h1[data-v-23f29410] {
    font-size: 18px;
}
.current-time[data-v-23f29410] {
    position: static;
    transform: none;
    margin-top: 10px;
    text-align: center;
    display: block;
}
.operating-box[data-v-23f29410] {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}
.operating-box .operating-left[data-v-23f29410],
.operating-box .operating-right[data-v-23f29410] {
    justify-content: space-between;
}
}
