h3.home-content {
    font-size: 222%;
    text-align: center;
    margin-top: 4em;
    margin-bottom: 2em;
}
div#container {
    margin: 0 auto;
    height: 40em;
    min-width: 2em;
    max-width: 95em;
}
div#container1 {
    margin: 0 auto;
    height: 40em;
    min-width: 2em;
    max-width: 95em;
}
div#container2 {
    margin: 0 auto;
    height: 40em;
    min-width: 2em;
    max-width: 95em;
}
div#container3 {
    margin: 0 auto;
    height: 40em;
    min-width: 2em;
    max-width: 95em;
}
div#container4 {
    margin: 0 auto;
    height: 40em;
    min-width: 2em;
    max-width: 95em;
}
div.hot-data {
    text-align: center;
    margin-top: 2em;
}
.station-title {
    text-align: center;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #2c3e50;
    font-size: 1.2em;
}

.status-badge {
    background-color: #d9534f;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-left: 10px;
    vertical-align: middle;
}

.no-data h4 {
    color: #d9534f;
    text-align: center;
    margin-bottom: 15px;
}

.no-data p {
    text-align: left;
    margin: 8px 0;
    font-size: 14px;
    padding-left: 20px;
}

.no-data strong {
    display: inline-block;
    width: 100px;
    color: #555;
}
/* 台站头部样式 */
.station-header {
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 5px 5px 0 0;
    border-bottom: 1px solid #e0e0e0;
}

.station-name-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.station-name {
    margin: 0;
    font-size: 1.3em;
    color: #2c3e50;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.station-code {
    font-size: 0.8em;
    color: #6c757d;
    margin-left: 8px;
    font-weight: normal;
}

.station-location {
    font-size: 0.9em;
    color: #6c757d;
    display: flex;
    align-items: center;
}

.station-location i {
    margin-right: 5px;
    color: #6c757d;
}

/* 状态指示器 */
.station-status {
    margin-left: 15px;
}

.status-indicator {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.status-indicator i {
    margin-right: 5px;
}

.status-indicator.online {
    background-color: #5cb85c;
    color: white;
}

.status-indicator.offline {
    background-color: #d9534f;
    color: white;
}

/* 图表内容 */
.chart-content {
    padding: 10px;
    height: calc(100% - 60px); /* 减去头部高度 */
}

/* 无数据样式 */
.no-data {
    padding: 15px;
    background-color: #fff8f8;
    border-radius: 0 0 5px 5px;
    height: calc(100% - 60px); /* 减去头部高度 */
    display: flex;
    flex-direction: column;
}

.error-details {
    flex-grow: 1;
}

.error-details p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.error-details strong {
    display: inline-block;
    width: 100px;
    color: #555;
}

.action-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.btn-report, .btn-history {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    display: flex;
    align-items: center;
}

.btn-report i, .btn-history i {
    margin-right: 5px;
}

.btn-report {
    background-color: #d9534f;
    color: white;
}

.btn-history {
    background-color: #f0ad4e;
    color: white;
}

@media (max-width: 768px) {
    .sensor-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        min-width: 100%;
    }
    
    .station-name-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .station-status {
        margin-left: 0;
        margin-top: 5px;
    }
}

@media (min-width: 1200px) {
    .sensor-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 25px;
    }
    
    .chart-container {
        min-width: 550px;
    }
}