/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Microsoft YaHei', 'Orbitron', Arial, sans-serif;
    background: linear-gradient(135deg, #0a0d1a 0%, #1a1d3a 30%, #0f1419 70%, #0a0d1a 100%);
    color: #ffffff;
    overflow-x: hidden;
    height: 100vh;
    font-size: 16px;
    margin: 0;
    padding: 0;
}
.title-text {
    margin-left: -280px;
}
.title-text h1 {
    font-size: 1.8em;
    font-weight: 900;
    color: #00c8ff;
    margin: 0;
    text-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
}

.title-text p {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    margin: 5px 0 0 0;
}
.dashboard-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent;
    position: relative;
}

.dashboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(0, 200, 255, 0.02) 49%, rgba(0, 200, 255, 0.02) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(0, 255, 159, 0.02) 49%, rgba(0, 255, 159, 0.02) 51%, transparent 52%);
    background-size: 100px 100px;
    pointer-events: none;
}

/* 顶部标题栏 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background: rgba(10, 13, 26, 0.1);
    backdrop-filter: blur(1px);
    border-bottom: 3px solid rgba(0, 200, 255, 0.4);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
    gap: 20px;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00c8ff 20%, #00ff9f 50%, #00c8ff 80%, transparent);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 80px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(0, 200, 255, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(0, 200, 255, 0.5));
}

.title-group {
    display: flex;
    flex-direction: column;
}

.main-title {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, #00c8ff 0%, #0080ff 30%, #6c5ce7 60%, #00ff9f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 200, 255, 0.6);
    letter-spacing: 3px;
    line-height: 1.1;
    margin-bottom: 5px;
}

.project-title {
    font-size: 24px;
    font-weight: 700;
    color: #00ff9f;
    text-shadow: 0 0 20px rgba(0, 255, 159, 0.5);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.sub-title {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Orbitron', monospace;
    letter-spacing: 1px;
    font-weight: 300;
}

.time-weather {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.current-time {
    width: 530px;
    font-size: 36px;
    font-weight: 700;
    color: #00c8ff;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 25px rgba(0, 200, 255, 0.7);
    letter-spacing: 2px;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    background: rgba(0, 200, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 200, 255, 0.3);
}

.weather-icon {
    font-size: 24px;
}

/* 头部导航 */
.header-navigation {
    display: flex;
    gap: 15px;
}

.header-navigation .nav-btn {
    padding: 12px 24px;
    background: rgba(0, 200, 255, 0.1);
    border: 1px solid rgba(0, 200, 255, 0.4);
    border-radius: 10px;
    color: #00c8ff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    letter-spacing: 0.5px;
    font-family: 'Microsoft YaHei', sans-serif;
}

.header-navigation .nav-btn:hover, .header-navigation .nav-btn.active {
    background: rgba(0, 200, 255, 0.1);
    border-color: #00c8ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 200, 255, 0.4);
    text-shadow: 0 0 8px rgba(0, 200, 255, 0.5);
}

/* 主要内容区域 */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    flex: 1;
    overflow: hidden;
}

/* 上部容器 */
.top-container {
    display: flex;
    gap: 20px;
    flex: 1;
    overflow: hidden;
}

/* 下部容器 */
.bottom-container {
    flex-shrink: 0;
}

/* 卡片基础样式 */
.stats-card, .safety-card, .monitor-card, .site-map-card, 
.records-card, .chart-card, .violations-card, .weather-forecast-card {
    background: rgba(10, 13, 26, 0.1);
    backdrop-filter: blur(1px);
    border: 1px solid rgba(0, 200, 255, 0.4);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(0, 200, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: fit-content;
	height: 100%;
}

/* 特定卡片的flex布局 */
.weather-forecast-card, .records-card {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}


.stats-card:hover, .safety-card:hover, .monitor-card:hover,
.site-map-card:hover, .records-card:hover, .chart-card:hover,
.violations-card:hover, .weather-forecast-card:hover {
    transform: translateY(0px);
    border-color: #00c8ff;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 200, 255, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.15);
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #00c8ff;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
    letter-spacing: 1px;
}

/* 左侧面板 */
.left-panel {
    display: flex;
    flex-direction: column;
    flex: 1.2;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding:5px 20px;
    background: rgba(0, 200, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 200, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    background: rgba(0, 200, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 200, 255, 0.3);
}

.stat-value {
    font-size: 28px;
    font-weight: 900;
    color: #00ff9f;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(0, 255, 159, 0.6);
    animation: pulse-glow 3s ease-in-out infinite alternate;
    letter-spacing: 1px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    font-weight: 500;
}

/* 安全提醒 */
.safety-alerts {
    display: flex;
    flex-direction: column;
    gap: 12px;
	height: 85%;
	overflow-y: scroll;
	overflow-x: hidden;
}

.alert-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #00ff9f;
    font-size: 15px;
    transition: all 0.3s ease;
    min-height: 80px;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.alert-text {
    flex: 1;
}

.alert-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.capture-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.capture-image:hover {
    transform: scale(1.1);
}

.alert-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.alert-icon {
    font-size: 18px;
}

/* 监控主容器 */
.monitor-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 监控大画面显示 */
.monitor-display {
    width: 100%;
}

.monitor-screen {
    width: 100%;
    height: 245px;
    aspect-ratio: 16/9;
    background: 
        linear-gradient(45deg, #1a1d3a 25%, transparent 25%),
        linear-gradient(-45deg, #1a1d3a 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #1a1d3a 75%),
        linear-gradient(-45deg, transparent 75%, #1a1d3a 75%);
    background-size: 30px 30px;
    background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
    border: 3px solid rgba(0, 200, 255, 0.4);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.monitor-screen:hover {
    border-color: #00c8ff;
    box-shadow: 0 0 25px rgba(0, 200, 255, 0.3);
}

.monitor-placeholder {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
}

.monitor-screen::before {
    content: '📹';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    opacity: 0.6;
    animation: video-pulse 2s ease-in-out infinite;
}

/* 监控控制按钮区 */
.monitor-controls {
    width: 100%;
}

.monitor-buttons-container {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 200, 255, 0.3) transparent;
}

.monitor-buttons-container::-webkit-scrollbar {
    height: 6px;
}

.monitor-buttons-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.monitor-buttons-container::-webkit-scrollbar-thumb {
    background: rgba(0, 200, 255, 0.1);
    border-radius: 3px;
}

.monitor-buttons-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 200, 255, 0.1);
}

.monitor-buttons {
    display: flex;
    gap: 4px;
    padding: 5px 0;
    min-width: max-content;
}

.monitor-btn {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 200, 255, 0.3);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
}

.monitor-btn:hover {
    background: rgba(0, 200, 255, 0.2);
    border-color: rgba(0, 200, 255, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 200, 255, 0.2);
}

.monitor-btn.active {
    background: rgba(0, 200, 255, 0.1);
    border-color: #00c8ff;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
}

.monitor-btn.active:hover {
    transform: translateY(-1px);
}

/* 中央面板 */
.center-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 2.6;
}

.site-map {
    height: 90%;
    position: relative;
	overflow-y: scroll;
	overflow-x: hidden;
}

.zone-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.main-gate {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(0, 200, 255, 0.2);
    border: 3px solid #00c8ff;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 200, 255, 0.4);
    font-weight: 600;
    font-size: 16px;
}

.gate-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.zones-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 0px;
}

.zone-item {
    background: rgba(10, 13, 26, 0.5);
    border: 1px solid rgba(0, 200, 255, 0.5);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    overflow: visible;
}

.zone-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.05), rgba(0, 255, 159, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zone-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 200, 255, 0.4);
    border-color: #00c8ff;
}

.zone-item:hover::before {
    opacity: 1;
}

.zone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.zone-header h4 {
    font-size: 20px;
    color: #00c8ff;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
}

.zone-status {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.zone-status.active {
    background: rgba(0, 255, 159, 0.1);
    color: #00ff9f;
    border: 1px solid #00ff9f;
    box-shadow: 0 0 10px rgba(0, 255, 159, 0.3);
}

.zone-status.warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid #ffc107;
    animation: pulse-warning 2s ease-in-out infinite;
}

.zone-status.maintenance {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 1px solid #6c757d;
}

.zone-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.zone-count, .entry-count, .exit-count, .violation-count {
    color: #00ff9f;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    text-shadow: 0 0 15px rgba(0, 255, 159, 0.6);
}

.entry-count {
    color: #00c8ff;
    text-shadow: 0 0 15px rgba(0, 200, 255, 0.6);
}

.exit-count {
    color: #ff9f00;
    text-shadow: 0 0 15px rgba(255, 159, 0, 0.6);
}

.violation-count {
    color: #ff4757;
    text-shadow: 0 0 15px rgba(255, 71, 87, 0.6);
}

.work-hours {
    color: #00c8ff;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
}

.zone-gate {
    text-align: center;
    font-size: 24px;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

/* 导航面板 */
.navigation-panel {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    justify-content: center;
}

.nav-btn {
    padding: 15px 30px;
    background: rgba(0, 200, 255, 0.1);
    border: 1px solid rgba(0, 200, 255, 0.4);
    border-radius: 12px;
    color: #00c8ff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-btn:hover, .nav-btn.active {
    background: rgba(0, 200, 255, 0.2);
    border-color: #00c8ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 200, 255, 0.4);
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
}

/* 右侧面板 */
.right-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1.2;
}

.records-list {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 5px;
	height: 90%;
	overflow-x: hidden;
}

.record-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.record-item.entry {
    border-left-color: #00ff9f;
}

.record-item.exit {
    border-left-color: #ff6b6b;
}

.record-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
}

.record-time {
    font-family: 'Orbitron', monospace;
    color: #00c8ff;
    font-weight: 600;
    min-width: 60px;
    font-size: 14px;
}

.record-info {
    flex: 1;
}

.worker-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 3px;
    font-size: 15px;
}

.worker-details {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.record-status {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    min-width: 35px;
    text-align: center;
}

.record-status.entry {
    background: rgba(0, 255, 159, 0.2);
    color: #00ff9f;
    border: 1px solid rgba(0, 255, 159, 0.3);
}

.record-status.exit {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* 图表容器 */
.chart-container {
    height: 220px;
    position: relative;
}

#dailyChart {
    width: 100%;
    height: 100%;
}

/* 违规预警 */
.violations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.violation-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.violation-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.violation-item.high {
    border-left-color: #ff4757;
}

.violation-item.medium {
    border-left-color: #ffc107;
}

.violation-item.low {
    border-left-color: #28a745;
}

.violation-level {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    min-width: 35px;
    text-align: center;
}

.violation-item.high .violation-level {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

.violation-item.medium .violation-level {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.violation-item.low .violation-level {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.violation-time {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    min-width: 50px;
    text-align: center;
}

.violation-content {
    flex: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.violation-info > div:first-child {
    font-size: 15px;
    font-weight: 500;
}

.violation-time {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 3px;
}

/* 底部状态栏 */
.footer {
    display: none;
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(10, 13, 26, 0.95);
    backdrop-filter: blur(1px);
    border-top: 1px solid rgba(0, 200, 255, 0.4);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00c8ff 20%, #00ff9f 50%, #00c8ff 80%, transparent);
}

.system-status {
    display: flex;
    gap: 40px;
}

.status-item {
    /*display: flex;*/
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.status-dot.online {
    background: #00ff9f;
    box-shadow: 0 0 15px rgba(0, 255, 159, 0.6);
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Orbitron', monospace;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 200, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 200, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .main-content {
        grid-template-columns: 1fr 2.2fr 1fr;
        gap: 12px;
        padding: 12px;
    }
    
    .main-title {
        font-size: 36px;
    }
    
    .project-title {
        font-size: 20px;
    }
}

@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }
    
    .main-title {
        font-size: 32px;
    }
    
    .zones-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

/* 天气预报模块样式 */
.weather-forecast-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-top: 15px;
    flex-grow: 1;
    align-content: start;
}

.weather-day {
    background: rgba(0, 200, 255, 0.1);
    border: 1px solid rgba(0, 200, 255, 0.3);
    border-radius: 12px;
    padding: 15px 8px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.weather-day:hover {
    background: rgba(0, 200, 255, 0.2);
    border-color: rgba(0, 200, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 200, 255, 0.2);
}

.weather-day .day-name {
    font-size: 12px;
    font-weight: 600;
    color: #00c8ff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.weather-day .weather-icon {
    font-size: 24px;
    margin: 8px 0;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.weather-day .temp-range {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin: 8px 0;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
}

.weather-day .weather-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 5px 10px;
    }
    
    .main-content {
        gap: 10px;
        padding: 8px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .monitor-screen {
        height: 220px;
        aspect-ratio: 16/9;
    }
    
    .monitor-placeholder {
        font-size: 18px;
    }
    
    .monitor-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 70px;
    }
    
    .monitor-buttons {
        gap: 8px;
    }
    
    .zones-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
    }
    
    .weather-forecast-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .weather-day {
        padding: 12px 6px;
    }
    
    .weather-day .weather-icon {
        font-size: 20px;
    }
}

/* 点击提示样式 */
.click-hint {
    font-size: 0.8em;
    color: #00ff9f;
    background: rgba(0, 255, 159, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 159, 0.3);
    margin-left: 10px;
    animation: pulse-hint 2s infinite;
    font-weight: 500;
}

@keyframes pulse-hint {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* zone-item 鼠标悬停提示 */
.zone-item::after {
    content: '点击显示分区大屏';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.1);
    color: #00ff9f;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 255, 159, 0.3);
}

.zone-item:hover::after {
    opacity: 1;
}

/* 底部监控区域样式 */
.bottom-monitor {
    margin-bottom: 10px;
}

.bottom-monitor .monitor-card {
    background: rgba(10, 13, 26, 0.8);
    border: 2px solid rgba(0, 200, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bottom-monitor .monitor-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
    width: 100%;
	overflow-x: scroll;
	overflow-y: hidden;
}

.bottom-monitor .monitor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 148px;
}

.bottom-monitor .monitor-screen {
    width: 100%;
    height: 148px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 200, 255, 0.3);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.bottom-monitor .monitor-screen:hover {
    border-color: rgba(0, 200, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.3);
    transform: scale(1.02);
}

.bottom-monitor .monitor-label {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    color: #00c8ff;
    font-size: 12px;
    font-weight: bolder;
    text-align: center;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10;
    white-space: nowrap;
}
