.card {
    transition: all 0.3s ease;
}

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

/* 导航栏渐变背景和圆角 */
.navbar {
    background: linear-gradient(135deg, #0749d885 0%, #061bc0eb 100%) !important;
    border-radius: 8px !important;
    margin: 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.299);
}

/* 仪表板卡片样式 */
.border-left-primary {
    border-left: 0.25rem solid #4e73df !important;
}

.border-left-success {
    border-left: 0.25rem solid #1cc88a !important;
}

.border-left-info {
    border-left: 0.25rem solid #36b9cc !important;
}

.border-left-warning {
    border-left: 0.25rem solid #f6c23e !important;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

.text-gray-300 {
    color: #dddfeb !important;
}

.text-xs {
    font-size: 0.7rem !important;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.shadow {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

/* 图表容器样式 */
.chart-bar {
    position: relative;
    height: 10rem;
}

.chart-pie {
    position: relative;
    height: 15rem;
}

/* 徽章样式 */
.badge-success {
    background-color: #1cc88a;
    color: white;
}

.badge-warning {
    background-color: #f6c23e;
    color: white;
}

.badge-secondary {
    background-color: #858796;
    color: white;
}

/* 统计卡片数字样式 */
.display-6 {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.2;
}

/* 移动端菜单样式 */
@media (max-width: 767.98px) {
    .sidebar {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        overflow-y: auto;
        transition: transform 0.3s ease-in-out;
    }
    
    .sidebar:not(.show) {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .sidebar.collapsing {
        transition: transform 0.3s ease-in-out;
    }
    
    .main-content {
        margin-left: 0 !important;
    }

    /* 移动端卡片调整 */
    .card .display-4 {
        font-size: 2rem;
    }
    
    .card .display-6 {
        font-size: 1.25rem;
    }
}

/* 响应式表格 */
.table-responsive {
    overflow-x: auto;
}

/* 列表组样式 */
.list-group-item {
    border: 1px solid #e3e6f0;
    margin-bottom: 0.5rem;
    border-radius: 0.35rem;
}

.list-group-item:hover {
    background-color: #f8f9fc;
}
