/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 顶部导航栏 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-left .logo {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
}

.header-left .logo i {
    margin-right: 12px;
    font-size: 24px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.user-info:hover {
    background-color: rgba(255,255,255,0.1);
}

.notifications {
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.notifications:hover {
    background-color: rgba(255,255,255,0.1);
}

.notifications .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 容器布局 */
.container {
    display: flex;
    margin-top: 64px;
    min-height: calc(100vh - 64px);
}

/* 侧边栏 */
.sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e1e8ed;
    overflow-y: auto;
    position: fixed;
    left: 0;
    top: 64px;
    bottom: 0;
}

.nav-menu {
    padding: 24px 0;
}

.nav-group {
    margin-bottom: 32px;
}

.nav-group-title {
    padding: 0 24px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #8492a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: #5a6c7d;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.nav-item:hover {
    background-color: #f8fafc;
    color: #667eea;
}

.nav-item.active {
    background-color: #667eea;
    color: white;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #4c63d2;
}

.nav-item i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
}

.nav-item .fas.fa-chevron-right {
    margin-left: auto;
    margin-right: 0;
    font-size: 12px;
}

/* 主内容区 */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 32px;
    background: #f5f7fa;
}

.content-panel {
    display: none;
}

.content-panel.active {
    display: block;
}

.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.breadcrumb {
    color: #718096;
    font-size: 14px;
}

.breadcrumb span:last-child {
    color: #4a5568;
    font-weight: 500;
}/
* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    color: white;
}

.stat-card:nth-child(1) .stat-icon { background: linear-gradient(135deg, #667eea, #764ba2); }
.stat-card:nth-child(2) .stat-icon { background: linear-gradient(135deg, #f093fb, #f5576c); }
.stat-card:nth-child(3) .stat-icon { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.stat-card:nth-child(4) .stat-icon { background: linear-gradient(135deg, #43e97b, #38f9d7); }

.stat-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
}

.stat-info p {
    color: #718096;
    font-size: 14px;
    margin-bottom: 8px;
}

.trend {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.trend.up {
    background: #c6f6d5;
    color: #22543d;
}

.trend.down {
    background: #fed7d7;
    color: #742a2a;
}

/* 仪表盘网格 */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.card-header {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: between;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.card-actions {
    margin-left: auto;
}

.view-all {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

/* 世界地图 */
.world-map {
    padding: 24px;
}

.map-container {
    position: relative;
    height: 400px;
    background: #f8fafc;
    border-radius: 8px;
    border: 2px dashed #e2e8f0;
}

.risk-legend {
    position: absolute;
    top: 16px;
    right: 16px;
    background: white;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.color-dot.extreme { background: #e53e3e; }
.color-dot.high { background: #ff8c00; }
.color-dot.medium { background: #ffd700; }
.color-dot.low { background: #38a169; }

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #a0aec0;
}

.map-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
}

/* 预警列表 */
.alert-list {
    padding: 0 24px 24px;
}

.alert-item {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 4px solid;
}

.alert-item:last-child {
    margin-bottom: 0;
}

.alert-item.high {
    background: #fed7d7;
    border-left-color: #e53e3e;
}

.alert-item.medium {
    background: #fef5e7;
    border-left-color: #ff8c00;
}

.alert-item.low {
    background: #c6f6d5;
    border-left-color: #38a169;
}

.alert-level {
    background: white;
    color: #2d3748;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 12px;
    min-width: 32px;
    text-align: center;
}

.alert-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.alert-content p {
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 8px;
}

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

/* 案件列表 */
.case-list {
    padding: 0 24px 24px;
}

.case-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
}

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

.case-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 16px;
}

.case-status.processing { background: #ffd700; }
.case-status.completed { background: #38a169; }
.case-status.pending { background: #a0aec0; }

.case-info {
    flex: 1;
}

.case-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.case-info p {
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 4px;
}

.case-time {
    font-size: 12px;
    color: #718096;
}

.case-priority {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.case-priority.high {
    background: #fed7d7;
    color: #742a2a;
}

.case-priority.medium {
    background: #fef5e7;
    color: #744210;
}

.case-priority.low {
    background: #c6f6d5;
    color: #22543d;
}

/* 任务列表 */
.task-list {
    padding: 0 24px 24px;
}

.task-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
}

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

.task-checkbox {
    margin-right: 16px;
}

.task-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

.task-info {
    flex: 1;
}

.task-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.task-info p {
    font-size: 13px;
    color: #4a5568;
}

.task-info.completed {
    opacity: 0.6;
}

.task-info.completed h4 {
    text-decoration: line-through;
}

.task-assignee img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
}/* 工具栏
 */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.toolbar-left {
    display: flex;
    gap: 12px;
}

.toolbar-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* 按钮样式 */
.btn {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #cbd5e0;
}

.btn-outline {
    background: transparent;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.btn-outline:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: #718096;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: #f7fafc;
    color: #4a5568;
}

/* 搜索框 */
.search-box {
    position: relative;
    width: 300px;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    background: white;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-box i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}

/* 数据表格 */
.data-table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 24px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #f8fafc;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #2d3748;
}

.data-table tr:hover {
    background: #f8fafc;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* 状态徽章 */
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active {
    background: #c6f6d5;
    color: #22543d;
}

.status-badge.inactive {
    background: #fed7d7;
    color: #742a2a;
}

.status-badge.processing {
    background: #fef5e7;
    color: #744210;
}

.status-badge.completed {
    background: #bee3f8;
    color: #2a4365;
}

.risk-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.risk-badge.extreme {
    background: #fed7d7;
    color: #742a2a;
}

.risk-badge.high {
    background: #fef5e7;
    color: #744210;
}

.risk-badge.medium {
    background: #fefcbf;
    color: #744210;
}

.risk-badge.low {
    background: #c6f6d5;
    color: #22543d;
}

/* 分页 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pagination-info {
    color: #718096;
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-page {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #4a5568;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-page:hover:not(:disabled) {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.btn-page.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.btn-page:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 应急统计卡片 */
.emergency-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.emergency-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    border-left: 4px solid;
}

.emergency-card.urgent {
    border-left-color: #e53e3e;
}

.emergency-card.processing {
    border-left-color: #ffd700;
}

.emergency-card.completed {
    border-left-color: #38a169;
}

.emergency-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 20px;
    color: white;
}

.emergency-card.urgent .card-icon { background: #e53e3e; }
.emergency-card.processing .card-icon { background: #ffd700; color: #744210; }
.emergency-card.completed .card-icon { background: #38a169; }

.emergency-card .card-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
}

.emergency-card .card-content p {
    color: #718096;
    font-size: 14px;
}

/* 时间线 */
.case-timeline {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.timeline-header {
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.timeline-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.timeline-filters {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #4a5568;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.timeline-content {
    padding: 24px;
}

.timeline-item {
    display: flex;
    margin-bottom: 24px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 64px;
    top: 32px;
    bottom: -24px;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-time {
    width: 48px;
    font-size: 12px;
    color: #718096;
    font-weight: 500;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 16px;
    margin-top: 4px;
}

.timeline-item.urgent .timeline-dot { background: #e53e3e; }
.timeline-item.processing .timeline-dot { background: #ffd700; }
.timeline-item.completed .timeline-dot { background: #38a169; }

.timeline-content-item {
    flex: 1;
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
}

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

.case-header h4 {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

.case-id {
    font-size: 12px;
    color: #718096;
    font-family: monospace;
}

.timeline-content-item p {
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 12px;
}

.case-actions {
    display: flex;
    gap: 8px;
}

.case-status {
    margin-top: 8px;
}/* 风
险预警模块 */
.risk-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.risk-map-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.map-header {
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.map-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.map-controls {
    display: flex;
    gap: 8px;
}

.interactive-map {
    height: 500px;
    position: relative;
}

.risk-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.risk-levels {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.risk-levels h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
}

.level-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.level-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 12px;
}

.level-item.extreme .level-dot { background: #e53e3e; }
.level-item.high .level-dot { background: #ff8c00; }
.level-item.medium .level-dot { background: #ffd700; }
.level-item.low .level-dot { background: #38a169; }

.level-name {
    flex: 1;
    font-size: 14px;
    color: #2d3748;
}

.level-count {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
}

.recent-updates {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.recent-updates h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
}

.update-item {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.update-country {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.update-change {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.old-level, .new-level {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}

.old-level {
    background: #f1f5f9;
    color: #4a5568;
}

.new-level.extreme {
    background: #fed7d7;
    color: #742a2a;
}

.update-change i {
    color: #a0aec0;
    font-size: 10px;
}

.update-time {
    font-size: 12px;
    color: #718096;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f7fafc;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #4a5568;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* 表单样式 */
.user-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 6px;
}

.required {
    color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .risk-overview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 16px;
    }
    
    .header-left .logo span {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .toolbar {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .toolbar-right {
        justify-content: space-between;
    }
    
    .search-box {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-panel.active {
    animation: fadeIn 0.3s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* 加载状态 */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #718096;
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}/
* 标签页样式 */
.management-tabs, .security-tabs, .approval-workflow, .org-categories, .country-management, .location-overview, .qr-management, .agreement-management, .return-overview, .log-management {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.tab-nav, .timeline-filters, .approval-tabs, .category-nav, .continent-tabs, .location-tabs, .log-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.tab-btn, .category-btn, .continent-btn {
    padding: 16px 24px;
    border: none;
    background: transparent;
    color: #4a5568;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}

.tab-btn.active, .category-btn.active, .continent-btn.active {
    color: #667eea;
    background: white;
    border-bottom-color: #667eea;
}

.tab-btn:hover, .category-btn:hover, .continent-btn:hover {
    background: #f1f5f9;
}

.tab-content {
    display: none;
    padding: 24px;
}

.tab-content.active {
    display: block;
}

/* 配置网格 */
.config-grid, .enterprise-stats, .help-stats, .emergency-levels, .ai-stats, .voice-stats, .location-stats, .return-stats, .log-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.config-card, .help-item, .level-card, .feature-card, .qr-feature-card, .agreement-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.config-card h3, .help-item h4, .feature-card h3, .qr-feature-card h3, .agreement-item h3 {
    margin-bottom: 16px;
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
}

/* 用户类型列表 */
.type-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.type-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.type-name {
    font-weight: 600;
    color: #2d3748;
    margin-right: 12px;
}

.type-desc {
    flex: 1;
    color: #718096;
    font-size: 14px;
}

/* 配置表单 */
.config-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 权限统计 */
.permission-overview {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.permission-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.permission-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.permission-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

/* 角色徽章 */
.role-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.role-badge.admin {
    background: #fed7d7;
    color: #742a2a;
}

.role-badge.manager {
    background: #fef5e7;
    color: #744210;
}

.role-badge.operator {
    background: #c6f6d5;
    color: #22543d;
}

/* 企业统计卡片 */
.enterprise-stats .stat-card {
    border-left: 4px solid #667eea;
}

/* 求助列表 */
.help-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.help-id {
    font-family: monospace;
    font-size: 12px;
    color: #718096;
}

.help-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.help-status.processing {
    background: #fef5e7;
    color: #744210;
}

.help-info {
    margin-bottom: 16px;
}

.help-info p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #4a5568;
}

.help-actions {
    display: flex;
    gap: 8px;
}

/* 应急等级卡片 */
.level-card {
    display: flex;
    align-items: center;
    border-left: 4px solid;
}

.level-card.high {
    border-left-color: #e53e3e;
}

.level-card.medium {
    border-left-color: #ffd700;
}

.level-card.low {
    border-left-color: #38a169;
}

.level-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 20px;
    color: white;
}

.level-card.high .level-icon { background: #e53e3e; }
.level-card.medium .level-icon { background: #ffd700; color: #744210; }
.level-card.low .level-icon { background: #38a169; }

.level-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
}

.level-info p {
    color: #718096;
    font-size: 14px;
}

/* 应急等级徽章 */
.emergency-level {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.emergency-level.high {
    background: #fed7d7;
    color: #742a2a;
}

.emergency-level.medium {
    background: #fef5e7;
    color: #744210;
}

.emergency-level.low {
    background: #c6f6d5;
    color: #22543d;
}

/* 案件筛选 */
.case-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

/* 派遣表单 */
.dispatch-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-section h3 {
    margin-bottom: 16px;
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
}

.editor-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px;
    background: #f8fafc;
    border-radius: 6px;
}

.rich-editor {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
}

.target-selection {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.selection-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.selected-count {
    padding: 12px;
    background: #f0f9ff;
    border-radius: 6px;
    color: #1e40af;
    font-size: 14px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* 机构网格 */
.org-grid, .country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.org-card, .country-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.org-card:hover, .country-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.org-header, .country-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.org-header h4, .country-info h4 {
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
}

.org-type {
    padding: 4px 8px;
    background: #e2e8f0;
    color: #4a5568;
    border-radius: 4px;
    font-size: 12px;
}

.org-info, .country-info {
    margin-bottom: 16px;
}

.org-info p, .country-info p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #4a5568;
    display: flex;
    align-items: center;
}

.org-info i, .country-info i {
    margin-right: 8px;
    color: #718096;
    width: 16px;
}

.org-actions, .country-actions {
    display: flex;
    gap: 8px;
}

/* 国家标志 */
.country-flag {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
}

/* 地区树 */
.region-tree {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.tree-toolbar {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 12px;
}

.tree-container {
    padding: 20px;
}

.tree-node {
    margin-bottom: 8px;
}

.node-content {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.node-content:hover {
    background: #f8fafc;
}

.node-content i {
    margin-right: 8px;
    color: #718096;
}

.node-actions {
    margin-left: auto;
    display: flex;
    gap: 4px;
}

.node-children {
    margin-left: 24px;
    border-left: 2px solid #e2e8f0;
    padding-left: 16px;
}

/* AI功能 */
.ai-dashboard, .voice-dashboard {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.keyword-management {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.keyword-list {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.keyword-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.keyword-info {
    flex: 1;
}

.keyword-info h4 {
    margin-bottom: 4px;
    color: #2d3748;
    font-size: 14px;
    font-weight: 600;
}

.keyword-info p {
    color: #718096;
    font-size: 13px;
}

.keyword-reply {
    flex: 2;
}

.keyword-reply p {
    color: #4a5568;
    font-size: 14px;
}

.keyword-actions {
    display: flex;
    gap: 8px;
}

/* 语音功能 */
.voice-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-content h3 {
    margin-bottom: 8px;
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
}

.feature-content p {
    color: #718096;
    font-size: 14px;
    margin-bottom: 12px;
}

.feature-status {
    display: flex;
    align-items: center;
}

.call-records {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.call-records h3 {
    padding: 20px 24px 0;
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
}

/* 定位筛选 */
.location-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

/* 二维码功能 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.qr-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.qr-feature-card {
    text-align: center;
}

.qr-records {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.qr-records h3 {
    padding: 20px 24px 0;
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
}

/* 归国管理 */
.return-management-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
    margin-top: 24px;
}

.return-qr {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 24px;
}

.qr-section h3 {
    margin-bottom: 16px;
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
}

.qr-display {
    margin-bottom: 16px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    margin: 0 auto;
}

.qr-placeholder i {
    font-size: 48px;
    margin-bottom: 8px;
}

.return-records {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.return-records h3 {
    padding: 20px 24px 0;
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
}

/* 协议管理 */
.agreement-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

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

.agreement-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.agreement-status.active {
    background: #c6f6d5;
    color: #22543d;
}

.agreement-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

/* 日志筛选 */
.log-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    align-items: center;
}

.log-filters .form-control {
    min-width: 150px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .config-grid, .enterprise-stats, .help-stats, .emergency-levels, .ai-stats, .voice-stats, .location-stats, .return-stats, .log-stats {
        grid-template-columns: 1fr;
    }
    
    .org-grid, .country-grid {
        grid-template-columns: 1fr;
    }
    
    .return-management-content {
        grid-template-columns: 1fr;
    }
    
    .location-filters, .log-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-nav, .category-nav, .continent-tabs, .location-tabs, .log-tabs {
        flex-wrap: wrap;
    }
    
    .selection-filters {
        grid-template-columns: 1fr;
    }
}/* 高级交互
样式 */

/* 右键菜单 */
.context-menu {
    font-family: inherit;
}

.context-menu-item:hover {
    background-color: #f8fafc !important;
}

/* 工具提示 */
.custom-tooltip {
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* 通知面板 */
.notification-panel {
    font-family: inherit;
}

.notification-item:hover {
    background-color: #f8fafc !important;
}

/* 快捷操作 */
.quick-actions-btn:hover {
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

.quick-actions-menu {
    font-family: inherit;
}

.quick-action-item:hover {
    background-color: #f8fafc !important;
}

/* 搜索建议 */
.search-suggestions {
    font-family: inherit;
}

.suggestion-item:hover {
    background-color: #f8fafc !important;
}

/* 批量操作工具栏 */
.bulk-operations-toolbar {
    font-family: inherit;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* 桌面通知 */
.desktop-notification {
    font-family: inherit;
}

/* 迷你图表 */
.mini-chart {
    pointer-events: none;
}

/* 拖拽样式 */
.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
    z-index: 1000;
}

.drag-over {
    background-color: #f0f9ff;
    border: 2px dashed #667eea;
}

/* 加载状态 */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 表格行选择 */
.data-table tbody tr.selected {
    background-color: #f0f9ff;
    border-left: 3px solid #667eea;
}

.data-table tbody tr:hover {
    background-color: #f8fafc;
    cursor: pointer;
}

/* 表单验证错误 */
.form-input.error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-error-message {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 成功状态 */
.form-input.success {
    border-color: #38a169;
    box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.1);
}

/* 高级搜索 */
.advanced-search-panel {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

/* 数据可视化 */
.chart-container {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

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

.chart-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.chart-controls {
    display: flex;
    gap: 8px;
}

/* 实时更新指示器 */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: #c6f6d5;
    color: #22543d;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #38a169;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* 进度条 */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

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

/* 步骤指示器 */
.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.step.active .step-number {
    background: #667eea;
    color: white;
}

.step.completed .step-number {
    background: #38a169;
    color: white;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 16px;
}

.step.completed .step-connector {
    background: #38a169;
}

/* 标签 */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f1f5f9;
    color: #4a5568;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.tag.primary {
    background: #e6fffa;
    color: #234e52;
}

.tag.success {
    background: #c6f6d5;
    color: #22543d;
}

.tag.warning {
    background: #fef5e7;
    color: #744210;
}

.tag.danger {
    background: #fed7d7;
    color: #742a2a;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #718096;
}

.empty-state-icon {
    font-size: 48px;
    color: #e2e8f0;
    margin-bottom: 16px;
}

.empty-state-title {
    font-size: 18px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.empty-state-description {
    font-size: 14px;
    margin-bottom: 24px;
}

/* 骨架屏 */
.skeleton {
    background: #f1f5f9;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-text:last-child {
    margin-bottom: 0;
    width: 60%;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-button {
    height: 36px;
    width: 100px;
    border-radius: 6px;
}

/* 悬浮操作按钮 */
.floating-action-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-action-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

.floating-action-button:active {
    transform: scale(0.95);
}

/* 侧边抽屉 */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: white;
    z-index: 9999;
    transition: right 0.3s ease;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

.drawer.active {
    right: 0;
}

.drawer-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #718096;
    cursor: pointer;
    padding: 4px;
}

.drawer-body {
    padding: 24px;
    height: calc(100% - 80px);
    overflow-y: auto;
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

/* 重复的时间线样式已删除，使用统一的时间线样式 */

.timeline-description {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.5;
}

/* 响应式增强 */
@media (max-width: 1024px) {
    .quick-actions-btn {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .bulk-operations-toolbar {
        min-width: 300px;
        padding: 12px 16px;
    }
    
    .drawer {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 768px) {
    .notification-panel {
        width: calc(100% - 40px);
        right: 20px;
    }
    
    .context-menu {
        min-width: 120px;
    }
    
    .search-suggestions {
        font-size: 13px;
    }
    
    .desktop-notification {
        max-width: calc(100% - 40px);
        right: 20px;
    }
}

/* 打印样式 */
@media print {
    .sidebar,
    .header,
    .quick-actions-btn,
    .bulk-operations-toolbar,
    .floating-action-button {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .data-table {
        font-size: 12px;
    }
    
    .stat-card {
        break-inside: avoid;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #000;
    }
    
    .btn-secondary {
        background: #fff;
        border: 2px solid #000;
        color: #000;
    }
    
    .data-table th {
        background: #000;
        color: #fff;
    }
}

/* 减少动画模式 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}/* 模态框尺寸
变体 */
.modal-large .modal-content {
    max-width: 800px;
}

.modal-small .modal-content {
    max-width: 400px;
}

/* 详情页面样式 */
.detail-container {
    max-height: 60vh;
    overflow-y: auto;
}

.detail-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h4::before {
    content: '';
    width: 4px;
    height: 16px;
    background: #667eea;
    border-radius: 2px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-item label {
    font-size: 12px;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item span {
    font-size: 14px;
    color: #2d3748;
    font-weight: 500;
}

/* 确认删除样式 */
.confirm-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
}

.confirm-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fed7d7;
    color: #e53e3e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.confirm-text p {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #2d3748;
}

.confirm-warning {
    font-size: 14px !important;
    color: #718096 !important;
}

.btn-danger {
    background: #e53e3e;
    color: white;
    border: 1px solid #e53e3e;
}

.btn-danger:hover {
    background: #c53030;
    border-color: #c53030;
}

/* 导入步骤指示器 */
.import-steps {
    padding: 20px 0;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #667eea;
    color: white;
}

.step.completed .step-number {
    background: #38a169;
    color: white;
}

.step-title {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
}

.step.active .step-title {
    color: #667eea;
    font-weight: 600;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 16px;
    transition: all 0.3s ease;
}

.step.completed + .step-connector {
    background: #38a169;
}

/* 文件上传区域 */
.upload-area {
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #667eea;
    background: #f8fafc;
}

.upload-area.dragover {
    border-color: #667eea;
    background: #f0f9ff;
}

.upload-icon {
    font-size: 48px;
    color: #a0aec0;
    margin-bottom: 16px;
}

.upload-text p {
    margin: 0 0 8px 0;
    color: #4a5568;
}

.upload-hint {
    font-size: 12px !important;
    color: #718096 !important;
}

.template-download {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.template-download a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.template-download a:hover {
    text-decoration: underline;
}

/* 表格操作按钮 */
.table-actions {
    display: flex;
    gap: 4px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #718096;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.btn-icon:hover {
    background: #f7fafc;
    color: #4a5568;
}

.btn-icon.edit:hover {
    background: #e6fffa;
    color: #319795;
}

.btn-icon.delete:hover {
    background: #fed7d7;
    color: #e53e3e;
}

.btn-icon.view:hover {
    background: #e6fffa;
    color: #3182ce;
}

/* 表单增强 */
.form-group {
    position: relative;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-group.has-success input,
.form-group.has-success select,
.form-group.has-success textarea {
    border-color: #38a169;
    box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.1);
}

.form-error-message {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-success-message {
    color: #38a169;
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 加载状态 */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 数据预览表格 */
.preview-table {
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.preview-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.preview-table th,
.preview-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

.preview-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #4a5568;
    position: sticky;
    top: 0;
}

/* 导入结果 */
.import-result {
    text-align: center;
    padding: 40px 20px;
}

.import-result-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.import-result-icon.success {
    color: #38a169;
}

.import-result-icon.error {
    color: #e53e3e;
}

.import-result h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.import-result p {
    color: #718096;
    margin-bottom: 20px;
}

.import-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.import-stat {
    text-align: center;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.import-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
}

.import-stat-label {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
    
    .step-indicator {
        flex-direction: column;
        gap: 16px;
    }
    
    .step-connector {
        width: 2px;
        height: 30px;
        margin: 8px 0;
    }
    
    .import-stats {
        grid-template-columns: 1fr;
    }
}/*
 仪表盘增强样式 */

/* 实时状态指示器 */
.dashboard-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.last-update {
    font-size: 12px;
    color: #718096;
}

/* 统计卡片增强 */
.stat-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-detail {
    margin-top: 8px;
}

.stat-detail small {
    font-size: 11px;
    color: #a0aec0;
}

/* 地图增强 */
.map-container {
    position: relative;
    cursor: pointer;
}

.risk-count {
    font-size: 11px;
    color: #718096;
    margin-left: 4px;
}

.risk-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.risk-point {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    z-index: 10;
}

.risk-point.extreme {
    background: #e53e3e;
    box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
}

.risk-point.high {
    background: #ff8c00;
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7);
}

.risk-point.medium {
    background: #ffd700;
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
}

.risk-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.risk-point.extreme .risk-pulse {
    background: rgba(229, 62, 62, 0.3);
}

.risk-point.high .risk-pulse {
    background: rgba(255, 140, 0, 0.3);
}

.risk-point.medium .risk-pulse {
    background: rgba(255, 215, 0, 0.3);
}

/* 预警信息增强 */
.alert-item {
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.alert-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.alert-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.alert-item:hover .alert-actions {
    opacity: 1;
}

.alert-footer {
    padding: 16px 24px 0;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

/* 案件列表增强 */
.case-item {
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.case-item:hover {
    background: #f8fafc;
    transform: translateX(2px);
}

.case-id {
    font-family: monospace;
    font-size: 11px;
    color: #a0aec0;
    margin-top: 4px;
}

.case-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.case-item:hover .case-actions {
    opacity: 1;
}

.case-summary {
    display: flex;
    justify-content: space-around;
    padding: 16px 24px 0;
    border-top: 1px solid #f1f5f9;
    margin-top: 16px;
}

.summary-item {
    text-align: center;
}

.summary-label {
    font-size: 12px;
    color: #718096;
    display: block;
    margin-bottom: 4px;
}

.summary-value {
    font-size: 18px;
    font-weight: 700;
}

.summary-value.urgent {
    color: #e53e3e;
}

.summary-value.processing {
    color: #ff8c00;
}

.summary-value.completed {
    color: #38a169;
}

/* 任务列表增强 */
.task-item {
    cursor: pointer;
    transition: all 0.2s ease;
}

.task-item:hover {
    background: #f8fafc;
}

.task-item.completed {
    opacity: 0.7;
}

.task-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 11px;
    color: #718096;
    min-width: 30px;
}

.task-priority {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    min-width: 50px;
}

.task-priority.urgent {
    background: #fed7d7;
    color: #742a2a;
}

.task-priority.normal {
    background: #fef5e7;
    color: #744210;
}

.task-priority.completed {
    background: #c6f6d5;
    color: #22543d;
}

.task-summary {
    display: flex;
    justify-content: space-around;
    padding: 16px 24px 0;
    border-top: 1px solid #f1f5f9;
    margin-top: 16px;
}

.task-actions {
    padding: 16px 24px 0;
    text-align: center;
}

/* 卡片头部增强 */
.card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-actions .btn-icon {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.card-actions .btn-icon:hover {
    opacity: 1;
}

/* 实时数据动画 */
@keyframes dataUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
        color: #667eea;
    }
    100% {
        transform: scale(1);
    }
}

.stat-updating {
    animation: dataUpdate 0.5s ease-in-out;
}

/* 新增预警模态框样式 */
.alert-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.alert-level-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.level-option {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.level-option.extreme {
    border-color: #e53e3e;
    background: #fed7d7;
    color: #742a2a;
}

.level-option.high {
    border-color: #ff8c00;
    background: #fef5e7;
    color: #744210;
}

.level-option.medium {
    border-color: #ffd700;
    background: #fefcbf;
    color: #744210;
}

.level-option.low {
    border-color: #38a169;
    background: #c6f6d5;
    color: #22543d;
}

.level-option.selected {
    border-width: 3px;
    transform: scale(1.05);
}

/* 响应式优化 */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-summary,
    .task-summary {
        flex-direction: column;
        gap: 8px;
    }
    
    .summary-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .summary-label {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .dashboard-status {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .risk-legend {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .alert-actions,
    .case-actions {
        opacity: 1;
    }
}/* 
审批工作流样式 */
.workflow-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.dispatch-form {
    max-width: 800px;
}

.form-section {
    margin-bottom: 32px;
}

.form-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
}

.editor-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px;
    background: #f8fafc;
    border-radius: 8px 8px 0 0;
    border: 1px solid #e2e8f0;
    border-bottom: none;
}

.rich-editor {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    min-height: 120px;
}

.target-selection {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.selection-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.selection-filters .form-control {
    flex: 1;
}

.selected-count {
    font-size: 14px;
    color: #4a5568;
}

.selected-count strong {
    color: #667eea;
    font-weight: 600;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

/* 审批列表样式 */
.approval-list {
    max-width: 1000px;
}

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

.approval-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.approval-filters {
    display: flex;
    gap: 12px;
}

.approval-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.approval-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.2s;
}

.approval-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #667eea;
}

.approval-info {
    flex: 1;
}

.approval-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.approval-info p {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 4px;
}

.approval-content {
    background: #f8fafc;
    padding: 12px;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.approval-content strong {
    color: #2d3748;
}

.approval-level {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 60px;
}

.approval-level.urgent {
    background: #fed7d7;
    color: #c53030;
}

.approval-level.important {
    background: #feebc8;
    color: #dd6b20;
}

.approval-level.normal {
    background: #e6fffa;
    color: #319795;
}

.approval-level.approved {
    background: #c6f6d5;
    color: #38a169;
}

.approval-level.rejected {
    background: #fed7d7;
    color: #e53e3e;
}

.approval-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

/* 评价管理样式 */
.evaluation-header {
    text-align: center;
    margin-bottom: 32px;
}

.evaluation-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.evaluation-header p {
    color: #718096;
    font-size: 14px;
}

.evaluation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.evaluation-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.evaluation-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.evaluation-case {
    flex: 1;
}

.evaluation-case h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.evaluation-case p {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 4px;
}

.evaluation-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars i {
    color: #ffd700;
    font-size: 16px;
}

.rating-stars .far {
    color: #e2e8f0;
}

.rating-score {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

.evaluation-comment {
    flex: 1;
    background: #f8fafc;
    padding: 12px;
    border-radius: 6px;
    margin: 12px 0;
}

.evaluation-comment p {
    font-size: 14px;
    color: #4a5568;
    font-style: italic;
    margin: 0;
}

.evaluation-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 100px;
}

/* 应急任务管理样式补充 */
.emergency-task-overview {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.task-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.priority-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.priority-badge.high {
    background: #fed7d7;
    color: #c53030;
}

.priority-badge.medium {
    background: #feebc8;
    color: #dd6b20;
}

.priority-badge.low {
    background: #e6fffa;
    color: #319795;
}

/* 案件ID和状态样式 */
.case-id {
    font-size: 12px;
    color: #718096;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 12px;
}

.case-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.case-status {
    margin-top: 8px;
}/* 性能
优化和用户体验增强样式 */

/* 全局搜索 */
.header-search {
    position: relative;
    margin-right: 20px;
}

.global-search {
    width: 300px;
    padding: 8px 40px 8px 16px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.global-search::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.global-search:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    width: 350px;
}

.header-search i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
}

/* 头部工具按钮 */
.header-tools {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.header-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* 用户头像和下拉菜单 */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.user-info {
    position: relative;
    cursor: pointer;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 8px;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #2d3748;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.user-dropdown a:hover {
    background: #f8fafc;
}

.user-dropdown a i {
    margin-right: 8px;
    width: 16px;
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

/* 快捷键显示 */
.shortcut {
    font-size: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
    opacity: 0.7;
}

.nav-item:hover .shortcut {
    opacity: 1;
}

/* 加载状态 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    color: #4a5568;
    font-size: 14px;
}

/* 错误模态框 */
.error-modal .modal-content {
    border-left: 4px solid #e53e3e;
}

.error-header {
    background: #fed7d7;
    color: #c53030;
}

.error-message {
    background: #fef5e7;
    border: 1px solid #f6ad55;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 20px;
    color: #744210;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* 快捷键帮助 */
.shortcut-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.shortcut-category h4 {
    color: #2d3748;
    margin-bottom: 12px;
    font-size: 16px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 4px;
}

.shortcut-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.shortcut-item kbd {
    background: #2d3748;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-family: monospace;
}

.shortcut-item span {
    color: #4a5568;
    font-size: 14px;
}

/* 离线提示 */
.offline-notice {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fed7d7;
    color: #c53030;
    padding: 12px 20px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 1000;
    font-size: 14px;
}

.offline-notice button {
    background: #c53030;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.offline-notice button:hover {
    background: #9c2626;
}

/* 暗色主题支持 */
[data-theme="dark"] {
    --bg-primary: #1a202c;
    --bg-secondary: #2d3748;
    --text-primary: #f7fafc;
    --text-secondary: #a0aec0;
    --border-color: #4a5568;
}

[data-theme="dark"] body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .content-panel,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .data-table {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .sidebar {
    background: var(--bg-secondary);
}

[data-theme="dark"] .nav-item {
    color: var(--text-secondary);
}

[data-theme="dark"] .nav-item.active {
    color: var(--text-primary);
    background: rgba(102, 126, 234, 0.2);
}

/* 无障碍增强 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 焦点指示器 */
.nav-item:focus,
.btn:focus,
.form-control:focus,
.tab-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border-color: #000;
    }
    
    .btn-secondary {
        background: #666;
        border-color: #666;
    }
    
    .text-muted {
        color: #333 !important;
    }
}

/* 减少动画模式支持 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 打印样式 */
@media print {
    .header,
    .sidebar,
    .modal,
    .loading-overlay,
    .offline-notice {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
        padding-top: 0 !important;
    }
    
    .content-panel {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* 响应式优化 */
@media (max-width: 768px) {
    .header-search {
        display: none;
    }
    
    .global-search {
        width: 200px;
    }
    
    .user-info span {
        display: none;
    }
    
    .shortcut {
        display: none;
    }
    
    .shortcut-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-tools {
        display: none;
    }
    
    .header {
        padding: 0 12px;
    }
    
    .logo span {
        display: none;
    }
}

/* 性能优化 */
.nav-item,
.btn,
.modal {
    will-change: transform;
}

.data-table {
    contain: layout style paint;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #2d3748;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #4a5568;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #718096;
}/* 任务分配者头像样式
 */
.assignee-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

/* 任务分配者容器 */
.task-assignee {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== 涉外安全信息管理模块样式优化 ===== */

/* 安全信息管理主容器 */
#security-info {
    background: #f8fafc;
    min-height: calc(100vh - 64px);
}

/* 安全信息标签页样式 */
.security-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 24px;
}

.security-tabs .tab-nav {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 0;
}

.security-tabs .tab-btn {
    flex: 1;
    padding: 18px 24px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0;
}

.security-tabs .tab-btn:hover {
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
}

.security-tabs .tab-btn.active {
    background: white;
    color: #667eea;
    font-weight: 600;
    box-shadow: 0 -2px 8px rgba(102, 126, 234, 0.1);
}

.security-tabs .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 3px 3px 0 0;
}

/* 安全信息文章网格 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.article-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #e2e8f0;
}

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

.security-level {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.security-level.high {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.security-level.medium {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
    border: 1px solid #fbbf24;
}

.security-level.low {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
    border: 1px solid #86efac;
}

.article-date {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.article-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.article-actions .btn {
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
}

/* 安全周报样式 */
.weekly-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.weekly-item {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.weekly-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #e2e8f0;
}

.weekly-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.weekly-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.weekly-date {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.weekly-summary {
    margin-bottom: 20px;
}

.weekly-summary p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.weekly-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.weekly-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 信息发布渠道样式 */
.publish-header {
    text-align: center;
    margin-bottom: 32px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.publish-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.publish-header p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}

.publish-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.channel-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.channel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #e2e8f0;
}

.channel-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.channel-icon i {
    font-size: 28px;
    color: white;
}

.channel-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.channel-info p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.channel-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.channel-stats span {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.channel-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.channel-actions .btn {
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
}

/* 发布历史样式 */
.publish-history {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
}

.publish-history h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.history-item {
    padding: 20px;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.history-item:hover {
    border-color: #e2e8f0;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.history-info {
    margin-bottom: 12px;
}

.history-info h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.history-info p {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 6px;
}

.history-time {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

.history-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.stat-badge {
    padding: 4px 10px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #64748b;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.history-actions {
    display: flex;
    gap: 8px;
}

.history-actions .btn {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
}

/* 状态徽章优化 */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
    border: 1px solid #86efac;
}

.status-badge.completed {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #4f46e5;
    border: 1px solid #a5b4fc;
}

/* 工具栏优化 */
.security-tabs .toolbar {
    padding: 20px 24px;
    background: #fafbfc;
    border-bottom: 1px solid #f1f5f9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .publish-channels {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .weekly-stats {
        gap: 20px;
    }
    
    .weekly-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .channel-actions,
    .article-actions,
    .weekly-actions,
    .history-actions {
        flex-direction: column;
    }
    
    .channel-actions .btn,
    .article-actions .btn,
    .weekly-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .security-tabs .tab-nav {
        flex-direction: column;
    }
    
    .security-tabs .tab-btn {
        flex: none;
        text-align: left;
    }
    
    .article-card,
    .weekly-item,
    .channel-card,
    .publish-history {
        padding: 20px;
    }
    
    .weekly-stats {
        flex-direction: column;
        gap: 16px;
        text-align: left;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }
    
    .stat-number {
        font-size: 24px;
        margin-bottom: 0;
    }
}

/* 动画效果 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card,
.weekly-item,
.channel-card {
    animation: slideInUp 0.6s ease-out;
}

.article-card:nth-child(2) { animation-delay: 0.1s; }
.article-card:nth-child(3) { animation-delay: 0.2s; }
.article-card:nth-child(4) { animation-delay: 0.3s; }

/* 加载状态 */
.loading-skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    #security-info {
        background: #0f172a;
    }
    
    .security-tabs,
    .article-card,
    .weekly-item,
    .channel-card,
    .publish-history,
    .publish-header {
        background: #1e293b;
        border-color: #334155;
    }
    
    .security-tabs .tab-nav {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
        border-color: #334155;
    }
    
    .security-tabs .toolbar {
        background: #1e293b;
        border-color: #334155;
    }
    
    .article-card h3,
    .weekly-header h3,
    .channel-info h4,
    .publish-history h4,
    .publish-header h3,
    .history-info h5 {
        color: #f1f5f9;
    }
    
    .article-card p,
    .weekly-summary p,
    .channel-info p,
    .publish-header p,
    .history-info p {
        color: #94a3b8;
    }
    
    .history-item {
        background: #0f172a;
        border-color: #334155;
    }
    
    .history-item:hover {
        background: #1e293b;
    }
}

/* 
一张图统计看板样式 */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
}

/* 地图标点脉冲动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.risk-point {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.risk-point:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* 全屏地图布局样式 */
.fullscreen-map-wrapper {
    position: relative;
    width: 100%;
    height: calc(100vh - 200px);
    min-height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    border-radius: 8px;
}

/* 浮动统计卡片 */
.floating-stats-container {
    position: absolute;
    top: 20px;
    left: 20px;
    display: grid;
    grid-template-columns: repeat(2, 260px);
    gap: 15px;
    z-index: 100;
}

.stat-card-floating {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.stat-card-floating:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.stat-card-floating .stat-icon-float {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
}

.stat-card-floating .stat-value-float {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-card-floating .stat-label-float {
    font-size: 13px;
    color: #666;
}

/* 右侧控制面板 */
.map-control-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 260px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 100;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.control-section {
    margin-bottom: 20px;
}

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

.control-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.layer-control-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
}

.layer-control-item input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.layer-control-item label {
    font-size: 13px;
    color: #555;
    cursor: pointer;
    flex: 1;
}

.filter-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 10px;
    background: white;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
}

/* 风险等级图例 */
.map-risk-legend {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 100;
}

.legend-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-item-float {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.legend-item-float:last-child {
    margin-bottom: 0;
}

.legend-dot-float {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 10px;
}

.legend-label-float {
    font-size: 13px;
    color: #555;
    flex: 1;
}

.legend-count-float {
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;
}

/* 地图标注点 */
.map-marker-point {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    animation: marker-pulse 2s infinite;
    z-index: 50;
}

.map-marker-point::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: marker-ripple 2s infinite;
}

.map-marker-label {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    pointer-events: none;
    z-index: 51;
}

@keyframes marker-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
}

@keyframes marker-ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* 底部信息栏 */
.map-bottom-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 310px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 100;
    max-width: calc(100% - 620px);
}

.info-bar-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scrolling-info-text {
    font-size: 13px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
}

.scrolling-info-text span {
    display: inline-block;
    animation: scroll-text-left 30s linear infinite;
}

@keyframes scroll-text-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 地图容器 */
.map-display-area {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-placeholder-fullscreen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
}

.map-placeholder-fullscreen i {
    font-size: 80px;
    opacity: 0.8;
    margin-bottom: 20px;
    display: block;
}

.map-placeholder-fullscreen p {
    font-size: 18px;
    margin: 0;
}

.map-placeholder-fullscreen small {
    display: block;
    margin-top: 10px;
    opacity: 0.9;
}
