/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a192f;
    color: #e0e6ed;
    line-height: 1.6;
    background-image: url('../10002.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* 主容器 */
.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(15, 36, 64, 0.6);
    color: #00d4ff;
    padding: 0 20px;
    height: 60px;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
}

.navbar-left .logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.navbar-left .logo i {
    margin-right: 10px;
    color: #00d4ff;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes progressAnimation {
    from { width: 0; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notifications {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: #00d4ff;
    transition: all 0.3s ease;
}

.notifications:hover {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.notifications .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #00d4ff;
    color: #0a192f;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #00d4ff;
    position: relative;
    cursor: pointer;
}

.user-info i {
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(15, 36, 64, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    min-width: 120px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.user-info:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 10px 15px;
    color: #a8b2d1;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.user-dropdown a:hover {
    background-color: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

/* 主内容区 */
.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* 侧边栏 */
.sidebar {
    width: 250px;
    background-color: rgba(15, 36, 64, 0.6);
    color: #00d4ff;
    overflow-y: auto;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 8px 0 32px rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
}

.sidebar-nav ul {
    list-style: none;
}

.nav-item {
    margin: 5px 0;
}

.nav-item a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #a8b2d1;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.05));
}

.nav-item a:hover {
    background-color: rgba(0, 212, 255, 0.1);
    border-left-color: #00d4ff;
    color: #00d4ff;
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.nav-item.active a {
    background-color: rgba(0, 212, 255, 0.15);
    border-left-color: #00d4ff;
    color: #00d4ff;
    font-weight: bold;
    box-shadow: inset 0 0 15px rgba(0, 212, 255, 0.2);
}

.nav-item a i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    color: #00d4ff;
    font-size: 1.1rem;
    display: inline-block;
    opacity: 1;
    transition: all 0.3s ease;
}

.nav-item a:hover i {
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
    transform: scale(1.1);
}

/* 确保所有Font Awesome图标都能正确显示 */
.fas {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: inline-block;
}

.dropdown-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
    color: #a8b2d1;
}

.nav-item.active .dropdown-icon {
    transform: rotate(180deg);
    color: #00d4ff;
}

.sub-menu {
    background-color: rgba(0, 212, 255, 0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-left: 1px solid rgba(0, 212, 255, 0.2);
}

.nav-item:hover .sub-menu {
    max-height: 200px;
}

.sub-menu li a {
    padding-left: 50px;
    font-size: 0.9rem;
    background: transparent;
}

/* 内容区域 */
.content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: rgba(10, 25, 47, 0.3);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    position: relative;
}

/* 玻璃质感通用效果 */
.glass-effect {
    position: relative;
    overflow: hidden;
}

.glass-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
}

/* 页面通用样式 */
.page {
    display: none;
}

.page.active {
    display: block;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

.page-header h1 {
    font-size: 1.5rem;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    background-color: rgba(15, 36, 64, 0.6);
    color: #00d4ff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.btn::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;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border-color: #00d4ff;
}

.btn-primary:hover {
    background-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.btn-info {
    background-color: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.4);
}

.btn-info:hover {
    background-color: rgba(0, 212, 255, 0.25);
}

.btn-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.4);
}

.btn-warning:hover {
    background-color: rgba(255, 193, 7, 0.2);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
}

.btn-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.4);
}

.btn-danger:hover {
    background-color: rgba(220, 53, 69, 0.2);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.4);
}

.btn-sm {
    padding: 4px 8px;
    font-size: 0.8rem;
}

.mb-2 {
    margin-bottom: 10px;
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background-color: rgba(15, 36, 64, 0.5);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
    border-color: #00d4ff;
}

.stat-card .stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 15px;
    font-size: 1.5rem;
    background-color: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.stat-icon.drone {
    background-color: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.stat-icon.task {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.stat-icon.success {
    background-color: rgba(39, 174, 96, 0.2);
    color: #27ae60;
}

.stat-icon.warning {
    background-color: rgba(230, 126, 34, 0.2);
    color: #e67e22;
}

.stat-info h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.stat-info p {
    color: #a8b2d1;
    font-size: 0.9rem;
}

/* 地图和无人机状态 */
.map-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-bottom: 20px;
}

.map-container,
.drone-status {
    background-color: rgba(15, 36, 64, 0.5);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.map-container::before,
.drone-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
}

.map-container h2,
.drone-status h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #00d4ff;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.map-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 212, 255, 0.05);
    border-radius: 4px;
    color: #00d4ff;
    border: 1px dashed rgba(0, 212, 255, 0.3);
}

/* 地图容器样式 */
#realtime-map {
    height: 300px;
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    overflow: hidden;
    position: relative;
    background-color: #0a192f;
}

#realtime-map .leaflet-container {
    background-color: #0a192f;
    position: relative;
}

#realtime-map .leaflet-container::after {
    content: "地图功能正在加载中...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00d4ff;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    z-index: 1000;
}

/* Leaflet地图控件样式调整 */
.leaflet-control-container .leaflet-control-zoom {
    border: 1px solid rgba(0, 212, 255, 0.5);
    background-color: rgba(15, 36, 64, 0.8);
}

.leaflet-control-container .leaflet-control-zoom a {
    background-color: rgba(15, 36, 64, 0.8);
    color: #00d4ff;
    border-bottom: 1px solid rgba(0, 212, 255, 0.5);
}

.leaflet-control-container .leaflet-control-zoom a:hover {
    background-color: rgba(0, 212, 255, 0.2);
}

.leaflet-popup-content-wrapper {
    background-color: rgba(15, 36, 64, 0.9);
    color: #e0e6ed;
    border: 1px solid rgba(0, 212, 255, 0.5);
}

.leaflet-popup-tip {
    background-color: rgba(15, 36, 64, 0.9);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

.drone-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drone-item {
    padding: 15px;
    background-color: rgba(0, 212, 255, 0.05);
    border-radius: 4px;
    border-left: 4px solid #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.drone-item:hover {
    background-color: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.drone-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: #00d4ff;
}

.drone-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.drone-status-badge.online {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.drone-status-badge.offline {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.4);
}

.drone-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.8rem;
    color: #a8b2d1;
}

/* 图表区域 */
.charts-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.chart-container {
    background-color: rgba(15, 36, 64, 0.5);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
}

.chart-container h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #00d4ff;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.chart-container.full-width {
    grid-column: 1 / -1;
}

/* 筛选栏 */
.filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-select,
.search-input {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: rgba(15, 36, 64, 0.6);
    color: #e0e6ed;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.filter-select:focus,
.search-input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.filter-select {
    min-width: 150px;
}

.search-input {
    flex: 1;
    min-width: 200px;
}

/* 无人机卡片网格 */
.drones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.drone-card {
    background-color: rgba(15, 36, 64, 0.4);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
}

.drone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
}

.drone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
    border-color: #00d4ff;
}

.drone-card-header {
    padding: 15px;
    background-color: rgba(0, 212, 255, 0.05);
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drone-card-header h3 {
    font-size: 1.1rem;
    color: #00d4ff;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid transparent;
}

.status-badge.online {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.4);
}

.status-badge.offline {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.4);
}

.status-badge.completed {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.4);
}

.status-badge.running {
    background-color: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.4);
}

.status-badge.pending {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.4);
}

.status-badge.active {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.4);
}

.drone-card-body {
    padding: 15px;
}

.drone-info p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #a8b2d1;
}

.drone-info i {
    margin-right: 8px;
    color: #00d4ff;
}

.drone-card-footer {
    padding: 15px;
    background-color: rgba(0, 212, 255, 0.05);
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    display: flex;
    gap: 10px;
}

/* 标签页 */
.tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #a8b2d1;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.tab-btn.active {
    color: #00d4ff;
    border-bottom-color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 设施卡片网格 */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.facility-card {
    background-color: rgba(15, 36, 64, 0.4);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
    border-color: #00d4ff;
}

.facility-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #00d4ff;
}

.facility-card p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #a8b2d1;
}

.facility-card i {
    margin-right: 8px;
    color: #00d4ff;
}

/* 表格样式 */
.tasks-table-container,
.users-table-container {
    background-color: rgba(15, 36, 64, 0.4);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
}

.tasks-table-container::before,
.users-table-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
}

.tasks-table,
.users-table {
    width: 100%;
    border-collapse: collapse;
}

.tasks-table th,
.tasks-table td,
.users-table th,
.users-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    color: #e0e6ed;
}

.tasks-table th,
.users-table th {
    background-color: rgba(0, 212, 255, 0.05);
    font-weight: 600;
    color: #00d4ff;
    font-size: 0.9rem;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.tasks-table tbody tr,
.users-table tbody tr {
    transition: all 0.3s ease;
    background-color: rgba(0, 212, 255, 0.02);
}

.tasks-table tbody tr:hover,
.users-table tbody tr:hover {
    background-color: rgba(0, 212, 255, 0.1);
    box-shadow: inset 0 0 15px rgba(0, 212, 255, 0.1);
}

/* 角色卡片 */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.role-card {
    background-color: rgba(15, 36, 64, 0.4);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
    border-color: #00d4ff;
}

.role-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #00d4ff;
}

.role-card p {
    margin-bottom: 15px;
    color: #a8b2d1;
    font-size: 0.9rem;
}

/* 表单样式 */
.settings-form {
    background-color: rgba(15, 36, 64, 0.4);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.settings-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #00d4ff;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: rgba(15, 36, 64, 0.4);
    color: #e0e6ed;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1);
}

.form-group input[type="text"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    background-color: rgba(0, 212, 255, 0.1);
}

.form-group input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #00d4ff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar {
        width: 60px;
    }
    
    .nav-item a span,
    .sub-menu {
        display: none;
    }
    
    .map-section {
        grid-template-columns: 1fr;
    }
    
    .charts-section {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select,
    .search-input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 10px;
    }
    
    .navbar-left .logo span {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .content {
        padding: 10px;
    }
}