body {
    background-color: #f8f9fa;
}

.jumbotron {
    background-color: #e9f7fe;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 8px;
}

.card-header {
    background-color: #0d6efd;
    color: white;
    border-radius: 8px 8px 0 0 !important;
}

.table th {
    background-color: #0d6efd;
    color: white;
}

.btn {
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
}

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

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* 左右布局样式 */
.sidebar {
    background: #6c757d !important;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    width: 280px;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
}

.main-content {
    margin-left: 280px;
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* 侧边栏样式 */
nav.sidebar {
    background: #6c757d !important;
}

.sidebar .nav-item .nav-link {
    padding: 12px 20px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.sidebar .nav-item .nav-link:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-left-color: rgba(255, 255, 255, 0.7);
}

.sidebar .nav-item .nav-link.active {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
    border-left-color: #fff;
}

/* 子菜单样式 */
.sidebar .submenu {
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    margin-left: 20px;
    margin-top: 5px;
}

.sidebar .submenu .nav-link {
    padding: 8px 20px !important;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8) !important;
    border-left: 2px solid transparent;
    text-decoration: none;
}

.sidebar .submenu .nav-link:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-left-color: rgba(255, 255, 255, 0.5);
}

.sidebar .submenu .nav-link.active {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-left-color: rgba(255, 255, 255, 0.9);
}

/* 顶部导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: #333 !important;
    font-weight: 600;
}

/* 面包屑导航样式 */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
}

/* 响应式设计 */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 1050;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    /* 移动端遮罩 */
    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: none;
    }
    
    .sidebar-backdrop.show {
        display: block;
    }
}

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

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}