/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: #0f1c3c;
    color: #fff;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* 顶部导航栏 */
.header {
    height: 60px;
    background-color: #1a2b50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #4fc3f7;
    vertical-align: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-dropdown {
    position: relative;
}

.user-avatar {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.user-avatar:hover {
    background-color: #2a3d6e;
}

.user-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.username {
    margin-right: 5px;
}

.caret {
    font-size: 12px;
    color: #b0bec5;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1a2b50;
    border: 1px solid #2a3d6e;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1000;
    min-width: 120px;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: #2a3d6e;
}

.time {
    font-size: 14px;
    color: #b0bec5;
}

/* 主内容区 */
.main-container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* 左侧菜单 */
.sidebar {
    width: 200px;
    background-color: #1a2b50;
    padding: 10px 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    font-size: 13px;
    white-space: nowrap;
}

.sidebar li:hover {
    background-color: #2a3d6e;
}

.sidebar li.active {
    background-color: #2a3d6e;
    border-left: 3px solid #4fc3f7;
}

.sidebar li i {
    margin-right: 10px;
    font-size: 16px;
}

/* 右侧内容区 */
.content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #0f1c3c;
}

/* 仪表板卡片样式 */
.dashboard-card {
    background-color: #1a2b50;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #4fc3f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 预警级别标签 */
.alert-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
}

.alert-tag.level1 {
    background-color: rgba(244,67,54,0.2);
    color: #f44336;
}

.alert-tag.level2 {
    background-color: rgba(255,152,0,0.2);
    color: #ff9800;
}

.alert-tag.level3 {
    background-color: rgba(255,235,59,0.2);
    color: #ffeb3b;
}

/* 图表容器 */
.chart-container {
    width: 100%;
    height: 300px;
    margin-top: 10px;
}

/* 网格布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.grid-item {
    background-color: #1a2b50;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 实时预警列表 */
.alert-list {
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
}

.alert-item {
    padding: 10px;
    border-bottom: 1px solid #2a3d6e;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-item:last-child {
    border-bottom: none;
}

.alert-time {
    font-size: 12px;
    color: #b0bec5;
}

.alert-content {
    flex: 1;
    margin: 0 15px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 60px;
    }

    .sidebar li span {
        display: none;
    }

    .sidebar li i {
        margin-right: 0;
        font-size: 20px;
    }
}

/* 视频监控模块特有样式 */
.video-monitor-module {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.monitor-controls {
    background-color: #1a2b50;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.control-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.control-row:last-child {
    margin-bottom: 0;
}

.control-group {
    flex: 1;
    min-width: 200px;
}

.control-group label {
    display: block;
    margin-bottom: 5px;
    color: #b0bec5;
    font-size: 14px;
}

.control-group select {
    width: 100%;
    padding: 8px;
    background-color: #0f1c3c;
    color: white;
    border: 1px solid #2a3d6e;
    border-radius: 4px;
}

.control-group select[multiple] {
    height: 120px;
}

.btn {
    padding: 8px 15px;
    background-color: #2a3d6e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #3a4d7e;
}

.btn-primary {
    background-color: #4fc3f7;
    color: #0f1c3c;
}

.btn-primary:hover {
    background-color: #5fd3ff;
}

.layout-buttons {
    display: flex;
    gap: 5px;
    margin-left: auto;
}

.video-container {
    flex: 1;
    display: grid;
    gap: 10px;
    background-color: #1a2b50;
    border-radius: 5px;
    padding: 10px;
}

.video-container.layout-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.video-container.layout-4 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.video-container.layout-9 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.video-item {
    position: relative;
    background-color: #0f1c3c;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.video-header {
    padding: 8px 10px;
    background-color: rgba(42, 61, 110, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-actions {
    display: flex;
    gap: 5px;
}

.video-actions button {
    background: none;
    border: none;
    color: #b0bec5;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 3px;
}

.video-actions button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.video-wrapper {
    flex: 1;
    position: relative;
}

.jsmpeg-canvas {
    width: 100%;
    height: 100%;
    background-color: #000;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #b0bec5;
}

.video-placeholder i {
    font-size: 40px;
    margin-bottom: 10px;
}

/* 图标样式 */
/* 菜单图标样式 */
.icon-dashboard:before {
    content: "📊";
}

.icon-camera:before {
    content: "📷";
}

.icon-device:before {
    content: "💻";
}

.icon-behavior:before {
    content: "\f0c0";
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'Font Awesome 6 Brands', 'Font Awesome 5 Free', 'Font Awesome 5 Pro', 'Font Awesome 5 Brands', 'Font Awesome', sans-serif;
    font-weight: 900;
}

.icon-environment:before {
    content: "🌡️";
}

.icon-alarm:before {
    content: "⚠️";
}

.icon-report:before {
    content: "📈";
}

.icon-setting:before {
    content: "⚙️";
}

.icon-data-collection:before {
    content: "\f0ce";
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'Font Awesome 6 Brands', 'Font Awesome 5 Free', 'Font Awesome 5 Pro', 'Font Awesome 5 Brands', 'Font Awesome', sans-serif;
    font-weight: 900;
}

.icon-data-display:before {
    content: "\f080";
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'Font Awesome 6 Brands', 'Font Awesome 5 Free', 'Font Awesome 5 Pro', 'Font Awesome 5 Brands', 'Font Awesome', sans-serif;
    font-weight: 900;
}

.icon-alert-push:before {
    content: "\f0a1";
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'Font Awesome 6 Brands', 'Font Awesome 5 Free', 'Font Awesome 5 Pro', 'Font Awesome 5 Brands', 'Font Awesome', sans-serif;
    font-weight: 900;
}

/* 图标基础样式 */
.sidebar li i {
    margin-right: 8px;
    font-style: normal;
}

.icon-snapshot:before {
    content: "🖼️";
}

.icon-close:before {
    content: "✕";
}

.video-container {
    position: relative;
    min-height: 600px;
}

.video-item {
    border: 2px solid #4fc3f7;
    margin: 5px;
    background: #000;
}

option:checked {
    background: #4fc3f7 !important;
    color: white;
}

/* 表格容器样式 */
.behavior-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 13px;
}

.behavior-table thead {
    background: rgba(15,28,60,0.9);
}

.behavior-table th {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(79,195,247,0.2);
    font-weight: 600;
    color: #4fc3f7;
    font-size: 13px;
}

.behavior-table .violation-row {
    border-bottom: 1px solid rgba(79,195,247,0.08);
    transition: background-color 0.2s;
}

.behavior-table .violation-row:hover {
    background-color: rgba(79,195,247,0.08);
}

.behavior-table .violation-cell {
    padding: 10px 12px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(79,195,247,0.08);
    color: #c8dae6;
    background: rgba(15,28,60,0.4);
}

.behavior-table .violation-row:nth-child(even) .violation-cell {
    background: rgba(15,28,60,0.6);
}

/* 表头样式 */
.behavior-table thead {
    background-color: rgba(15,28,60,0.8);
}

.behavior-table th {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid rgba(79,195,247,0.2);
    font-weight: 600;
    color: #4fc3f7;
}

.behavior-table .violation-row {
    border-bottom: 1px solid rgba(79,195,247,0.08);
    transition: background-color 0.2s;
}

.behavior-table .violation-row:hover {
    background-color: rgba(79,195,247,0.05);
}

.behavior-table .violation-cell {
    padding: 12px 15px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(79,195,247,0.08);
    color: #c8dae6;
}

/* 操作按钮区域 */
.behavior-table .action-cell {
    display: flex;
    gap: 8px;
}

/* 状态标签样式 */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-0 {
    background-color: rgba(244,67,54,0.15);
    color: #f44336;
}

.status-1 {
    background-color: rgba(76,175,80,0.15);
    color: #4caf50;
}

/* 图片缩略图 */
.thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

/* 菜单图标样式 */
.icon-environment:before {
    content: "🌡️";
    margin-right: 8px;
}

/* 菜单项样式 */
.sidebar li {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.sidebar li:hover {
    background-color: rgba(24, 144, 255, 0.1);
}

.sidebar li.active {
    background-color: #4fc3f7;
    color: white;
}

.sidebar li.active i:before {
    color: white;
}

/* 修改弹窗样式 */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.dialog-content {
    background-color: #1a2b50;
    /* 改为深色背景 */
    color: #ffffff;
    /* 确保文字颜色为白色 */
    padding: 24px;
    border-radius: 4px;
    width: 600px;
    max-width: 80%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.detail-info {
    color: inherit;
    /* 继承父级文字颜色 */
    margin-bottom: 20px;
}

.detail-info p {
    color: #e0e0e0;
    /* 浅灰色文字 */
    margin: 10px 0;
    line-height: 1.5;
}

.detail-info strong {
    color: #4fc3f7;
    /* 强调文字使用蓝色 */
}

/* 按钮容器样式 */
.detail-actions {
    margin-top: 24px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* 按钮基础样式 */
.btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

/* 确认按钮样式 */
.btn-confirm {
    background-color: #4fc3f7;
    color: white;
    border: 1px solid #4fc3f7;
}

/* 取消按钮样式 */
.btn-cancel {
    background-color: #2a3d6e;
    color: #c8dae6;
    border: 1px solid #3a4d7e;
}

/* 按钮悬停效果 */
.btn-confirm:hover {
    background-color: #5fd3ff;
    border-color: #5fd3ff;
}

.btn-cancel:hover {
    color: #4fc3f7;
    border-color: #4fc3f7;
}

.detail-info {
    margin-bottom: 20px;
}

.detail-actions {
    display: block;
    /* 确保默认显示 */
    margin-top: 20px;
    text-align: right;
}

.btn-confirm,
.btn-cancel {
    padding: 8px 16px;
    margin-left: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    /* 确保字体大小合适 */
}

.btn-confirm {
    background-color: #4fc3f7;
    color: white;
}

.btn-cancel {
    background-color: #2a3d6e;
    color: #c8dae6;
    border: 1px solid #3a4d7e;
}

.detail-image {
    max-width: 100%;
    margin-top: 10px;
}

/* ========== 新增样式 ========== */

/* 预警弹窗样式 */
.warning-popup {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 350px;
    background: linear-gradient(135deg, #1a2b50 0%, #0f1c3c 100%);
    border-left: 4px solid #f44336;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    animation: slideInRight 0.5s ease-out;
}

.warning-popup.warning {
    border-left-color: #ff9800;
}

.warning-popup.info {
    border-left-color: #2196f3;
}

.warning-popup.success {
    border-left-color: #4caf50;
}

.warning-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.warning-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.warning-icon {
    margin-right: 8px;
    font-size: 20px;
}

.warning-close {
    background: none;
    border: none;
    color: #b0bec5;
    cursor: pointer;
    font-size: 20px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning-close:hover {
    color: #fff;
}

.warning-content {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.warning-time {
    font-size: 12px;
    color: #b0bec5;
    text-align: right;
}

/* 动画效果 */
@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(244, 67, 54, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(244, 67, 54, 0.8);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

.blink {
    animation: blink 1.5s infinite;
}

.glow {
    animation: glow 2s infinite;
}

/* 状态指示器样式增强 */
.status-indicator {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(79, 195, 247, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
}

.status-item:hover {
    background: rgba(79, 195, 247, 0.2);
    transform: translateY(-2px);
}

.status-label {
    font-size: 12px;
    color: #b0bec5;
    margin-bottom: 8px;
}

.status-value-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-value {
    font-size: 24px;
    font-weight: bold;
    color: #4fc3f7;
}

.status-icon {
    font-size: 18px;
}

.status-icon.icon-check::before {
    content: '✓';
    color: #4caf50;
}

.status-icon.icon-warning::before {
    content: '⚠';
    color: #ff9800;
}

.status-icon.icon-error::before {
    content: '✕';
    color: #f44336;
}

.status-icon.icon-users::before {
    content: '👥';
}

.status-icon.icon-temperature::before {
    content: '🌡️';
}

.status-icon.icon-humidity::before {
    content: '💧';
}

.status-icon.icon-gas::before {
    content: '☁️';
}

/* 地图监控模块样式 */
.map-monitor-module .search-box {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.map-monitor-module .search-box input {
    flex: 1;
    padding: 8px 12px;
    background: #0f1c3c;
    border: 1px solid #2a3d6e;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
}

.map-monitor-module .search-box input::placeholder {
    color: #b0bec5;
}

.map-monitor-module .search-box input:focus {
    outline: none;
    border-color: #4fc3f7;
}

/* 表格样式 - 统一蓝底深色风格 */
.table-container {
    overflow-x: auto;
    margin-top: 15px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table th,
.data-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(79,195,247,0.08);
}

.data-table th {
    background: rgba(15,28,60,0.9);
    color: #4fc3f7;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.data-table td {
    color: #c8dae6;
    background: rgba(15,28,60,0.4);
}

.data-table tr:nth-child(even) td {
    background: rgba(15,28,60,0.6);
}

.data-table tr:hover td {
    background: rgba(79,195,247,0.08);
}
    background-color: rgba(79, 195, 247, 0.05);
}

.signal-excellent {
    color: #4caf50;
}

.signal-good {
    color: #2196f3;
}

.signal-poor {
    color: #ff9800;
}

/* 图标样式扩展 */
.icon-map:before {
    content: "🗺️";
}

.status-icon.icon-danger::before {
    content: '⚡';
    color: #f44336;
}

/* 视频控制按钮样式 */
.video-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.video-btn {
    padding: 6px 12px;
    background-color: #2a3d6e;
    color: #fff;
    border: 1px solid #4fc3f7;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.video-btn:hover {
    background-color: #3a4d7e;
    transform: translateY(-1px);
}

.video-btn.active {
    background-color: #4fc3f7;
    color: #0f1c3c;
}

/* AI检测标记样式 */
.detection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.detection-box {
    position: absolute;
    border: 2px solid #f44336;
    background: rgba(244, 67, 54, 0.1);
    animation: blink 1.5s infinite;
}

.detection-box.normal {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.detection-label {
    position: absolute;
    top: -25px;
    left: 0;
    background: rgba(244, 67, 54, 0.9);
    color: #fff;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 3px;
    white-space: nowrap;
}

.detection-label.normal {
    background: rgba(76, 175, 80, 0.9);
}

/* 仪表盘容器样式 */
.gauge-container {
    width: 100%;
    height: 250px;
    background: rgba(26, 43, 80, 0.3);
    border-radius: 8px;
    padding: 10px;
}

/* 数据卡片样式 */
.data-card {
    background: linear-gradient(135deg, #1a2b50 0%, #0f1c3c 100%);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(79, 195, 247, 0.2);
    transition: all 0.3s;
}

.data-card:hover {
    border-color: rgba(79, 195, 247, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.2);
}

.data-card-title {
    font-size: 14px;
    color: #4fc3f7;
    margin-bottom: 12px;
    font-weight: bold;
}

.data-card-content {
    color: #fff;
    font-size: 20px;
}

/* 工具提示样式 */
.tooltip {
    position: absolute;
    background: rgba(26, 43, 80, 0.95);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    z-index: 9999;
    border: 1px solid #4fc3f7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 徽章样式 */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.badge.badge-success {
    background-color: #4caf50;
    color: #fff;
}

.badge.badge-warning {
    background-color: #ff9800;
    color: #fff;
}

.badge.badge-danger {
    background-color: #f44336;
    color: #fff;
}

.badge.badge-info {
    background-color: #2196f3;
    color: #fff;
}

/* 进度条样式 */
.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(79, 195, 247, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #4fc3f7);
    transition: width 0.3s ease;
    border-radius: 4px;
}

/* 标签组样式 */
.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.tag {
    padding: 4px 10px;
    background-color: rgba(79, 195, 247, 0.2);
    color: #4fc3f7;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid rgba(79, 195, 247, 0.4);
}

/* 分隔线 */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #4fc3f7, transparent);
    margin: 20px 0;
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #b0bec5;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 14px;
}

/* 加载动画 */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(79, 195, 247, 0.2);
    border-top-color: #4fc3f7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    margin-top: 15px;
    color: #b0bec5;
    font-size: 14px;
}

/* 列表项悬停效果 */
.list-item:hover {
    background-color: rgba(79, 195, 247, 0.1);
    cursor: pointer;
}

/* 响应式优化 */
@media (max-width: 1400px) {
    .status-indicator {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .status-indicator {
        grid-template-columns: 1fr;
    }

    .warning-popup {
        width: calc(100% - 40px);
        right: 20px;
    }
}