/* 自定义样式 */
.bg-primary {
    background-color: #1e40af;
}
.bg-secondary {
    background-color: #3b82f6;
}
.bg-tertiary {
    background-color: #93c5fd;
}
.text-primary {
    color: #1e40af;
}
.text-secondary {
    color: #3b82f6;
}
.border-primary {
    border-color: #1e40af;
}
.shadow-blue {
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.5);
}
.transition-all {
    transition: all 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.03);
}
.module-card {
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.5);
}
.fixed-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}
.btn-primary {
    background-color: #1e40af;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.5);
}
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}
/* 响应式调整 */
@media (max-width: 768px) {
    .chart-container {
        height: 250px;
    }
}
/* 加载动画 */
.loading {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #93c5fd;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}