:root {
    --sflii-theme-color: #0d6efd;
}
body {
    font-family: "MS Gothic", "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
    background-color: #f5f7fa;
    color: #333;
}
p {
    margin: 0;
}




.container {
    max-width: 1000px;
}




/* 通用页眉样式 */
.common-header {
    background-color: #ffffff;
}




/* 通用导航样式 */
.common-navigation {}

.common-navigation .container {
    border-width: 2px;
    border-style: solid;
    border-radius: 12px;
    padding: 0.5em 0em;
}

.common-nav {
    padding: 0.5rem 1rem;
}

.common-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover 只保留动画，让颜色交给 bootstrap */
.common-nav .nav-link:hover {
    transform: translateY(-1px);
    color: #f8f9fa !important; /* 鼠标悬停时，文字变为亮色 */
    background-color: rgba(255, 255, 255, 0.1) !important; /* 背景变为透明浅色 */
}

.common-nav .nav-link.active {
    background-color: #0d6efd !important; /* 激活状态背景色 */
}

.common-nav .nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

@media (max-width: 768px) {
    .common-nav {
        padding: 0.5rem;
    }

    .common-nav .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        margin: 0.1rem;
    }

    .common-nav-container {
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
}




/* 通用页脚样式 */
.common-footer {
    font-size: smaller;
}




/* 通用页面元素 */
.common-section-title {
    font-weight: bold;
    margin-bottom: 1em;
}

.common-section-content {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.common-subsection-title {
    font-size: bigger;
    font-weight: bold;
    margin: 2rem 0 1rem;
    border-bottom: 2px solid var(--sflii-theme-color);
    padding-bottom: 0.5rem;
}

.common-table {
    width: 100%;
    border-collapse: collapse;
}

.common-table th,
.common-table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: center;
}

.common-table th {
    background-color: var(--bs-gray-300);
    font-weight: bold;
    white-space: nowrap;
}
