:root {
    --primary-color: #3a86ff;
    --primary-light: #e6f0ff;
    --secondary-color: #4361ee;
    --success-color: #38b000;
    --warning-color: #ffbe0b;
    --danger-color: #ff006e;
    --info-color: #00b4d8;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --sidebar-width: 250px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    background-color: #f0f5ff;
    color: var(--gray-800);
    line-height: 1.6;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--box-shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.system-time {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

nav ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

nav ul li a.active {
    background: rgba(255, 255, 255, 0.25);
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 主要内容区域 */
main {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

/* 卡片样式 */
section {
    background: white;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

section:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-3px);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    background: linear-gradient(to right, #f8f9ff, #f0f2f5);
}

.section-header h2 {
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 600;
}

/* 统计卡片 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    opacity: 0.7;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 增强版统计卡片 */
.stat-card.enhanced {
    flex-direction: column;
    padding: 0;
    overflow: visible;
}

.stat-card.enhanced .stat-icon {
    position: absolute;
    top: -20px;
    left: 20px;
    z-index: 2;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    font-size: 1.2rem;
}

.stat-card.enhanced .stat-info {
    width: 100%;
    padding: 1.5rem;
    padding-top: 2rem;
}

.stat-card.enhanced .stat-info h3 {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--gray-700);
    padding-left: 0.5rem;
    border-left: 3px solid var(--primary-color);
}

.stat-value-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.primary-value {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.primary-value span:first-child {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-800);
}

.value-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

.stat-breakdown {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.breakdown-item.success {
    background: rgba(56, 176, 0, 0.1);
    color: var(--success-color);
}

.breakdown-item.warning {
    background: rgba(255, 190, 11, 0.1);
    color: var(--warning-color);
}

.breakdown-item.danger {
    background: rgba(255, 0, 110, 0.1);
    color: var(--danger-color);
}

.mini-chart {
    margin-top: 0.5rem;
}

.mini-chart-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    display: flex;
    overflow: hidden;
}

.mini-segment {
    height: 100%;
    transition: width 0.5s ease;
}

.mini-segment.success {
    background: var(--success-color);
}

.mini-segment.warning {
    background: var(--warning-color);
}

.mini-segment.danger {
    background: var(--danger-color);
}

.mini-chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.alert-types {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.alert-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.75rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
}

.alert-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.alert-badge.low {
    background: rgba(255, 0, 110, 0.1);
    color: var(--danger-color);
}

.alert-badge.system {
    background: rgba(0, 180, 216, 0.1);
    color: var(--info-color);
}

.system-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.system-metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
}

.system-metric i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.stat-trend {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(248, 249, 255, 0.7);
    border-top: 1px solid var(--gray-200);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    font-size: 0.85rem;
}

.trend-label {
    color: var(--gray-600);
}

.trend-value {
    font-weight: 600;
}

.trend-value.positive {
    color: var(--success-color);
}

.trend-value.negative {
    color: var(--danger-color);
}

.trend-value.neutral {
    color: var(--warning-color);
}

/* 原始图标样式保留 */
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.stat-icon.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.stat-icon.bg-success {
    background: linear-gradient(135deg, var(--success-color), #57cc99);
}

.stat-icon.bg-warning {
    background: linear-gradient(135deg, var(--warning-color), #fb8500);
}

.stat-icon.bg-danger {
    background: linear-gradient(135deg, var(--danger-color), #d90429);
}

.stat-icon.bg-info {
    background: linear-gradient(135deg, var(--info-color), #90e0ef);
}

.stat-icon.bg-secondary {
    background: linear-gradient(135deg, var(--gray-600), var(--gray-800));
}

.stat-info h3 {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-800);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 存储容器 */
.storages-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.storage-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.storage-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, transparent, rgba(67, 97, 238, 0.05));
    border-radius: 0 0 var(--border-radius) 0;
    z-index: 0;
}

.storage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.storage-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.storage-card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
}

.storage-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.storage-status-badge.normal {
    background: rgba(56, 176, 0, 0.2);
    color: var(--success-color);
}

.storage-status-badge.warning {
    background: rgba(255, 190, 11, 0.2);
    color: var(--warning-color);
}

.storage-status-badge.danger {
    background: rgba(255, 0, 110, 0.2);
    color: var(--danger-color);
}

.storage-visual {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.storage-level-indicator {
    position: relative;
}

.level-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    text-align: center;
}

.storage-progress {
    height: 12px;
    background-color: var(--gray-200);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease-in-out;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-bar.normal {
    background: linear-gradient(90deg, var(--success-color), #57cc99);
}

.progress-bar.warning {
    background: linear-gradient(90deg, var(--warning-color), #fb8500);
}

.progress-bar.danger {
    background: linear-gradient(90deg, var(--danger-color), #d90429);
}

.capacity-info {
    text-align: right;
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

.storage-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    background: rgba(248, 249, 255, 0.7);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 100px;
}

.metric i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.metric span {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.storage-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
}

.update-info {
    font-size: 0.8rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.view-details {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
}

.storage-card:hover .view-details {
    transform: translateX(3px);
}

/* 存储详情 */
.storage-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-item .label {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.info-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: var(--border-radius);
}

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

.label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.value {
    font-size: 1.1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    font-weight: 600;
    color: var(--gray-800);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.value:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.storage-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: var(--gray-100);
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-500);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.status-indicator.normal {
    background: var(--success-color);
    box-shadow: 0 0 5px rgba(56, 176, 0, 0.5);
}

.status-indicator.warning {
    background: var(--warning-color);
    box-shadow: 0 0 5px rgba(255, 190, 11, 0.5);
}

.status-indicator.danger {
    background: var(--danger-color);
    box-shadow: 0 0 5px rgba(255, 0, 110, 0.5);
}

/* 图表容器 */
.chart-container {
    padding: 1.5rem;
    height: 450px;
    position: relative;
    background: linear-gradient(to bottom, rgba(240, 245, 255, 0.3), rgba(255, 255, 255, 0.8));
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* 表格样式 */
.table-container {
    overflow-x: auto;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

#history-table {
    width: 100%;
    border-collapse: collapse;
}

#history-table th,
#history-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

#history-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

#history-table th i {
    margin-right: 0.5rem;
}

#history-table tbody tr:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

#history-table tbody tr:nth-child(even) {
    background-color: #f8f9ff;
}

/* 分页控件样式 */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid var(--gray-200);
    background: linear-gradient(to bottom, #fff, #f8f9ff);
}

.pagination-btn {
    padding: 0.6rem 1.1rem;
    margin: 0 0.25rem;
    background-color: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(67, 97, 238, 0.2);
}

.pagination-btn:disabled {
    background-color: var(--gray-200);
    cursor: not-allowed;
    color: var(--gray-500);
}

.pagination-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(67, 97, 238, 0.2);
}

.pagination-info {
    margin-left: 1rem;
    font-size: 0.9rem;
    color: var(--gray-600);
    white-space: nowrap;
}

/* 控件样式 */
.table-controls,
.chart-controls,
.filter-controls {
    display: flex;
    gap: 1rem;
}

button,
select {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(67, 97, 238, 0.2);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(67, 97, 238, 0.3);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(67, 97, 238, 0.2);
}

select {
    background: white;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(67, 97, 238, 0.1);
}

select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-900));
    color: white;
    margin-top: 2rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        height: auto;
        padding: 1rem;
    }
    
    .header-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .storages-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .table-controls,
    .chart-controls,
    .filter-controls {
        width: 100%;
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
    
    .storages-container {
        grid-template-columns: 1fr;
    }
    
    .storage-metrics {
        flex-direction: column;
    }
    
    .metric {
        flex: 1 1 100%;
    }
    
    .chart-container {
        height: 350px;
        padding: 1rem;
    }
    
    #history-table th,
    #history-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .pagination-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination-info {
        margin-left: 0;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .storage-info {
        grid-template-columns: 1fr;
    }
    
    .storage-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .storage-card-header h3 {
        max-width: 100%;
    }
    
    /* 增强版统计卡片的移动端适配 */
    .stat-card.enhanced .stat-icon {
        top: -15px;
        left: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-breakdown {
        flex-wrap: wrap;
    }
    
    .breakdown-item {
        flex: 1 1 calc(50% - 0.375rem);
        min-width: 80px;
        justify-content: center;
    }
    
    .stat-trend {
        padding: 0.75rem 1rem;
    }
    
    .alert-types,
    .system-metrics {
        margin-top: 0.75rem;
    }
}

@media (max-width: 576px) {
    main {
        padding: 0 1rem;
    }
    
    section {
        margin-bottom: 1rem;
    }
    
    .section-header {
        padding: 1rem;
    }
    
    .stats-container,
    .storages-container,
    .storage-info,
    .chart-container {
        padding: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

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

.stat-card:hover .stat-icon {
    animation: pulse 1s infinite;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}