/* 设备状态模块样式 */
.equipment-module {
    padding: 20px;
    background-color: #0a1a2a;
    color: #fff;
    height: 100%;
    font-family: 'Microsoft YaHei', sans-serif;
}

.equipment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #1a3a5a;
}

.equipment-title {
    font-size: 20px;
    color: #4fc3f7;
    font-weight: 600;
    letter-spacing: 1px;
}

.equipment-status {
    display: flex;
    gap: 20px;
}

.status-item {
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 500;
}

.status-normal {
    background-color: rgba(82, 196, 26, 0.2);
    color: #52c41a;
}

.status-warning {
    background-color: rgba(250, 173, 20, 0.2);
    color: #faad14;
}

.status-danger {
    background-color: rgba(245, 34, 45, 0.2);
    color: #f5222d;
}

.equipment-container {
    height: calc(100% - 80px);
    overflow: hidden;
}

.chart-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.equipment-chart {
    flex: 1;
    background-color: rgba(15,28,60,0.6);
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 地图相关样式 */
.map-row {
    margin-bottom: 20px;
}

.equipment-map {
    background-color: rgba(15,28,60,0.6);
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
}

.chart-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #8eacbb;
}

.chart-container {
    width: 100%;
    height: 300px;
}

.equipment-list {
    background: rgba(15,28,60,0.6);
    border: 1px solid rgba(79,195,247,0.15);
    border-radius: 8px;
    overflow: hidden;
}

.list-header {
    display: flex;
    padding: 10px 15px;
    background: rgba(15,28,60,0.9);
    font-weight: 600;
    border-bottom: 1px solid rgba(79,195,247,0.2);
}

.list-header span {
    color: #4fc3f7;
    font-size: 13px;
}

.list-body {
    max-height: 300px;
    overflow-y: auto;
}

.list-item {
    display: flex;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(79,195,247,0.08);
    align-items: center;
    transition: all 0.2s;
    color: #c8dae6;
    font-size: 13px;
    background: rgba(15,28,60,0.4);
}

.list-item:nth-child(even) {
    background: rgba(15,28,60,0.6);
}

.list-item:hover {
    background: rgba(79,195,247,0.08);
}

/* 列宽控制 */
.name-col {
    width: 30%;
}

.type-col {
    width: 25%;
}

.temp-col {
    width: 20%;
    text-align: right;
    padding-right: 20px;
}

.status-col {
    width: 25%;
}

.status-badge {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 5px currentColor;
}

.status-normal {
    background-color: #52c41a;
    color: #52c41a;
}

.status-warning {
    background-color: #faad14;
    color: #faad14;
}

.status-danger {
    background-color: #f5222d;
    color: #f5222d;
}

/* 自定义滚动条 */
.list-body::-webkit-scrollbar {
    width: 6px;
}

.list-body::-webkit-scrollbar-track {
    background: rgba(15,28,60,0.6);
}

.list-body::-webkit-scrollbar-thumb {
    background: #1a2b50;
    border-radius: 3px;
}

.list-body::-webkit-scrollbar-thumb:hover {
    background: rgba(79,195,247,0.15);
}