/* 全局样式重置 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
}

/* 导航栏样式 */
.navbar-brand {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1.5rem;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    padding: 0.75rem 1.25rem;
    color: #323233c3 !important;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    margin: 0 4px;
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
}

.nav-link {
    font-size: 1.25rem;
    color: inherit;
}

.navbar-nav .nav-link:hover {
    color: #141414ad !important;
    background-color: rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.navbar-nav .nav-link.active {
    color: #303031d2 !important;
    background-color: rgba(59, 130, 246, 0.1);
    font-weight: 600;
}

/* 左侧导航菜单样式 */
.list-group-item {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    padding: 1.25rem 1.5rem;
    font-weight: 500;
    color: #374151;
}


.list-group-item.active {
    background-color: #3b82f6;
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* 排序链接样式 */
.sort-link {
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #6b7280;
}

.sort-link:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.sort-link.active {
    font-weight: 600;
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.1);
}

/* 页脚样式 */
footer {
    position: static;
    width: 100%;
    background-color: #ffffff;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
}

footer .container {
    max-width: 1200px;
}

footer .text-muted {
    color: #94a3b8 !important;
    font-size: 0.875rem;
}

/* 主体内容容器样式 */
.container.main-content {
    min-height: calc(100vh - 200px);
    padding-bottom: 60px;
    max-width: 1200px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container.main-content {
        padding: 0 1rem;
    }
    
    .list-group-item {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
}

/* 卡片阴影效果 */
.card {
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* 按钮样式 */
.btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

/* 文本颜色 */
.text-primary {
    color: #3b82f6 !important;
}

.text-secondary {
    color: #6b7280 !important;
}

.text-muted {
    color: #94a3b8 !important;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    color: #1e293b;
    font-weight: 600;
    line-height: 1.2;
}

/* 链接样式 */
a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #2563eb;
    text-decoration: underline;
}