.TX {
  position: fixed;
  z-index: 300;
}

.map-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}



/* 导航栏样式 */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 120px;
  align-items: center;
  justify-content: space-between;
  /* padding: 0 20px; */
  z-index: 100;
  background-image: url('@/assets/icon/标题.png');
  /* 请确保路径正确 */
  background-size: cover;
}

/* 大标题 */
.system-title {
  text-align: center;
  color: white;
  font-size: 2.5em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 30px;
}

/* 左侧导航栏按钮 */
.nav-buttons-l {
  display: flex;
  width: 500px;
  height: 80px;
  position: absolute;
  top: 35px;
  left: 250px;
}

.nav-buttons-r {
  display: flex;
  width: 500px;
  height: 80px;
  position: absolute;
  top: 35px;
  right: 250px;
}

.nav-btn-left {
  background-image: url('@/assets/icon/按钮左.png');
  background-size: cover;
  width: 50%;
  height: 50px;
  font-size: 24px;
  color: white;
  font-weight: bold;
  text-align: center;
  line-height: 25px;
}

.nav-btn-right {
  background-image: url('@/assets/icon/按钮右.png');
  background-size: cover;
  width: 50%;
  height: 50px;
  font-size: 24px;
  color: white;
  font-weight: bold;
  text-align: center;
  line-height: 25px;
}


/* 主面板布局 */
.main {
  position: fixed;
  top: 120px;
  left: 0;
  right: 0;
  bottom: 120px;
  width: 100%;
  display: flex;
  height: calc(100% - 240px);
  gap: 10px;
  z-index: 102;
  pointer-events: none;  
  opacity: 0.9;         
}
.modul-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 20px;
  z-index: 105;
  pointer-events: auto
}

/* 标题 */
.title {
  height: 45px;
  background-image: url('@/assets/icon/标题背景.png');
  background-size: cover;
  font-size: 25px;
  font-weight: 600;
  line-height: 22px;
  padding-left: 30px;
  color: #fff;
  padding-top: 10px;
}
.boxstyle {
  position: relative;
  left: 12px;
  background-image: url('@/assets/icon/大屏模块框内容栏2.png');
  background-size: cover; 
  height: calc(100% - 45px);
  width: calc(100% - 12px);
}
.overlay-layer {
  pointer-events: none;  /* 关键属性 */
  opacity: 0.5;          /* 保持可见但不阻挡操作 */
}


/* 面板容器 */
.panel-container {
  position: fixed;
  top: 120px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  gap: 20px;
  z-index: 2;
}

.panel-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 480px;
  width: 100%;
}

/* 信息面板 */
.info-panel {
  background: var(--panel-bg);
  border-radius: var(--border-radius);
  padding: 20px;
  backdrop-filter: blur(15px);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.info-panel:hover {
  transform: translateY(-5px);
}

.panel-title {
  margin: 0 0 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #2c3e50;
  font-size: 1.1em;
}

.panel-content p {
  margin: 8px 0;
  color: #34495e;
  font-size: 0.95em;
  line-height: 1.6;
}

.value {
  color: var(--primary-color);
  font-weight: 600;
}

.status {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85em;
}

.online {
  background: #e8f5e9;
  color: #2e7d32;
}

.offline {
  background: #ffebee;
  color: #c62828;
}

/* 响应式设计 */
@media (max-width: 1440px) {
  .panel-column {
    max-width: 400px;
  }
}

@media (max-width: 1024px) {
  .panel-container {
    flex-direction: column;
    align-items: center;
    top: 140px;
  }

  .panel-column {
    max-width: 90%;
  }
}

/* Cesium图标弹框样式 */
.custom-popup {
  position: absolute;
  z-index: 1000;
  display: none;
  pointer-events: none;
  transition: opacity 0.2s ease; /* 添加过渡效果 */
}

.custom-popup.active {
  display: block;
}

/* 确保弹框不会超出视口 */
.popup-content {
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  padding: 10px 15px;
  width: 200px;
  pointer-events: all;
  max-width: 300px;
  word-wrap: break-word;
}