/* 首页基础样式 */
:root {
    --primary: #4361ee;
    --primary-light: #4895ef;
    --secondary: #3f37c9;
    --accent: #f72585;
    --dark: #2d3748;
    --light: #f8f9fa;
    --gray: #718096;
    --gray-light: #e2e8f0;
    --success: #4cc9f0;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
}


/* 导航栏样式 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* 响应式设计 - 移动端 */
@media (max-width: 1020px) {
    .navbar {
        padding: 0px 0px;
    }
}

.navbar-container {
    max-width: 1530px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/*.nav-logo-icon {*/
/*    width: 40px;*/
/*    height: 40px;*/
/*    background: linear-gradient(135deg, var(--primary), var(--secondary));*/
/*    border-radius: 10px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    color: white;*/
/*    font-size: 18px;*/
/*    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);*/
/*}*/

.nav-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    /*gap: 25px;*/
}

.nav-link {
    color: var(--gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
}

/* 首页容器 */
.container {
    max-width: 1530px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* 头部样式 */
header {
    text-align: center;
    /*margin-bottom: 50px;*/
    padding: 40px 20px 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.3);
}

.logo-icon {
    font-size: 36px;
    color: white;
}

h1 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.slogan {
    font-size: 18px;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* 搜索框样式 */
.search-container {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-box {
    width: 100%;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    background: white;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    color: var(--dark);
}

.search-box:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2), var(--card-shadow);
}

.search-box::placeholder {
    color: var(--gray);
}

.search-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 18px;
}

/* 分类标签样式 */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 22px;
    background: white;
    border: none;
    border-radius: 30px;
    color: var(--gray);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tab-btn:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.3);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.3);
    transform: translateY(-2px);
}

/* 功能卡片网格 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.tool-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.tool-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.tool-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    flex: 1;
}

.tool-action {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /*margin-top: auto;*/
    gap: 18px;
    border-top: 1px solid #f0f2f5;
}

.enter-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.enter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

/* 保持工具图标的背景色差异化 */
.tool-card:nth-child(4n+2) .tool-icon {
    background: linear-gradient(135deg, #4cc9f0, #4895ef);
}

.tool-card:nth-child(4n+3) .tool-icon {
    background: linear-gradient(135deg, #f72585, #b5179e);
}

.tool-card:nth-child(4n+4) .tool-icon {
    background: linear-gradient(135deg, #7209b7, #560bad);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.page-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.page-btn:hover {
    background: var(--primary-light);
    color: white;
}

.page-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

footer {
    text-align: center;
    padding: 30px 0;
    color: var(--gray);
    font-size: 14px;
    border-top: 1px solid var(--gray-light);
}

.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
}

/* ========== 工具页专用样式 ========== */

/* 工具页容器 */
.tool-page-container {
    max-width: 1530px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 25px;
    padding: 10px;
}

.tool-page-main-content {
    display: flex;
    flex-direction: column;
}

/* 工具头部样式 */
.tool-page-header {
    text-align: center;
    /*margin-bottom: 30px;*/
    /*padding: 20px;*/
    grid-column: 1 / -1;
}

.tool-page-title {
    font-size: 32px;
    color: #2d3748;
    margin-bottom: 10px;
    font-weight: 700;
}

/* 参数设置区域样式 */
.params-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.section-hint {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.params-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.param-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.param-label {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.param-input {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.param-input:focus {
    outline: none;
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.param-input::placeholder {
    color: #9ca3af;
}

.param-hint {
    font-size: 12px;
    color: #6b7280;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .params-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .params-section {
        padding: 15px;
    }
}
/* 主内容区域 */
.tool-main-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

/* 上传区域样式 */
.upload-box {
    position: relative;
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 50px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.upload-box:hover {
    border-color: #4361ee;
    background: #f0f4ff;
}

.upload-box p {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.upload-box .upload-hint {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

/* 文件列表样式 */
.file-list {
    margin: 10px auto;
    font-size: 16px;
    color: #333;
    background: #f8f8f8;
    border: 1px solid #f0f0f0;
    padding: 10px;
    border-radius: 8px;
    display: none;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    margin-bottom: 5px;
    border: 1px solid #eaeaea;
}

.file-name {
    font-weight: 500;
}

.file-size {
    color: #666;
    font-size: 14px;
}

/* 按钮样式 */
.submit-btn {
    background: linear-gradient(135deg, #4361ee, #3f37c9);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
}

.submit-btn:disabled {
    background: #718096;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 进度显示区域 */
.progress-area {
    display: none;
    margin: 20px auto;
}

.progress-card {
    width: 100%;
    /*border: 1px solid #CCC;*/
    padding: 20px;
    text-align: left;
    font-size: 16px;
    line-height: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /*margin: 20px auto;*/
    /*transition: transform 0.2s ease;*/
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.status-message {
    font-size: 16px;
    color: #333;
}

.progress-time {
    color: #666;
    font-weight: 600;
}

.progress-bar-container {
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #165DFF;
    border-radius: 5px;
    transition: width 0.3s;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.progress-status {
    font-size: 14px;
    color: #666;
}

.progress-percentage {
    font-weight: 600;
    color: #165DFF;
}

/* 结果区域 */
.result-area {
    display: none;
    margin: 30px 0;
    text-align: center;
}

.result-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.result-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3748;
}

.result-description {
    color: #666;
    margin-bottom: 25px;
}

.download-btn {
    background: linear-gradient(135deg, #4cc9f0, #4361ee);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 201, 240, 0.4);
}

/* 工具说明样式 */
.instructions {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
}

.instructions-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d3748;
}

.instructions-content {
    color: #666;
    line-height: 1.7;
}

/* 侧边栏样式 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.sidebar-header {
    background: linear-gradient(135deg, #4361ee, #3f37c9);
    color: white;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 16px;
}

.sidebar-content {
    padding: 16px;
}

/* 推荐工具样式 */
.recommended-tool {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8faff;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.recommended-tool:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
}

.recommended-tool:last-child {
    margin-bottom: 0;
}

.recommended-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #4cc9f0, #4361ee);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.recommended-info {
    flex: 1;
}

.recommended-name {
    font-weight: 600;
    margin-bottom: 4px;
    color: #2d3748;
}

.recommended-description {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* 热门工具网格样式 */
.tools-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.tool-item-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 8px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.tool-item-compact:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
}

.tool-icon-compact {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: linear-gradient(135deg, #4361ee, #3f37c9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.tool-name-compact {
    font-size: 12px;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.2;
}

/* 广告样式 */
.ad-banner {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #4cc9f0, #4361ee);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 15px;
    margin-bottom: 10px;
}

.ad-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.ad-subtitle {
    font-size: 12px;
    opacity: 0.9;
}

.ad-button {
    display: inline-block;
    background: white;
    color: #4361ee;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    margin-top: 8px;
    transition: all 0.2s ease;
}

.ad-button:hover {
    background: #f8faff;
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .tool-page-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none !important;
        grid-row: 2;
        /*display: grid;*/
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .mobile-menu-btn {
        display: block;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .category-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .tool-page-header {
        padding: 10px;
    }

    .tool-page-title {
        font-size: 26px;
    }

    .tool-main-content {
        padding: 20px;
    }

    .upload-box {
        padding: 30px;
    }
}
.param-select{
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s
ease;
    background: white;
}


/* 主要结果卡片样式 */
.main-result-card {
    background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
    border-radius: 16px;
    padding: 24px;
    color: white;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 24px rgba(22, 119, 255, 0.3);
}

.result-icon {
    font-size: 48px;
    margin-right: 20px;
}

.main-result-content {
    flex: 1;
}

.main-result-label {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.main-result-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.result-formula {
    font-size: 14px;
    opacity: 0.8;
}

/* 结果网格样式 */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.result-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.result-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.result-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.result-card-icon {
    font-size: 20px;
    margin-right: 8px;
}

.result-card-title {
    font-weight: 600;
    color: #1f2937;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.result-item-label {
    color: #6b7280;
    font-size: 14px;
}

.result-item-value {
    font-weight: 600;
    color: #1f2937;
}

/* 汇总卡片样式 */
.summary-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #10b981;
}

.summary-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.summary-icon {
    font-size: 20px;
    margin-right: 8px;
}

.summary-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 18px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: #6b7280;
}

.summary-value {
    font-weight: 600;
    color: #1f2937;
}

.total-tax .summary-value {
    color: #ef4444;
    font-size: 18px;
}

.net-income .summary-value {
    color: #10b981;
    font-size: 18px;
}

/* 税率表格样式 */
.tax-rate-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.tax-rate-table th,
.tax-rate-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #e5e7eb;
}

.tax-rate-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.tax-rate-table tr:nth-child(even) {
    background: #fafafa;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-result-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .result-icon {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .main-result-value {
        font-size: 28px;
    }
}
/*------------------------------------------------*/
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}
.stat-item {
    padding: 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e8f4ff;
}
.stat-label {
    font-weight: 500;
    color: #666;
    font-size: 14px;
}
.stat-value {
    font-weight: 600;
    color: #165DFF;
    font-size: 16px;
    margin: 4px 0;
}
.table-01 {
    margin: 15px 0;
    border: 1px solid #ddd;
}
.table-01 th {
    background: #f8f9fa;
    font-weight: 600;
}


/* 导航*/


    .navbar-container {
        max-width: 1530px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .nav-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }


    /* 导航链接样式 - 使用您提供的CSS */
    .nav-links {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        height: 100%;
        gap: 0;
    }
    
    .nav-links li {
        /*position: relative;*/
        height: 100%; 
    }
    
    .navbar-item {
        display: flex;
        align-items: center;
        padding: 0 10px;
        height: 100%;
        color: #333;
        text-decoration: none;
        font-size: 16px;
        transition: all 0.3s ease;
        cursor: pointer;
        white-space: nowrap;
    }
    
    .navbar-item:hover {
        background-color: #f5f5f5;
        color: #278FF0;
    }
    
    /* 下拉菜单样式 */
    .pulldown_list {
        position: absolute;
        left: 0;
        top: 100%;
        background: #FFF;
        display: flex;
        width: max-content;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 4px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1001;
    }
    
    /* 下拉菜单项样式 */
    .list_item {
        padding: 0 15px;
    }
    
    .list_item h5 {
        color: #278FF0;
        font-weight: bold;
        border-bottom: 2px solid #aaccf8;
        padding: 5px 0 8px;
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .list_item a {
        display: block;
        font-size: 14px;
        color: #333;
        padding: 8px 0;
        text-decoration: none;
        transition: all 0.2s ease;
    }
    
    .list_item a:hover {
        color: #278FF0;
        padding-left: 5px;
    }
    
    /* 下拉菜单激活状态 - PC端 */
    .Nav_list_item:hover .pulldown_list {
        opacity: 1;
        visibility: visible;
        transform: translateY(5px);
    }
    
    .mobile-search-btn {
        display: none;
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: #718096;
    }

    /* 移动端菜单按钮 */
    .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #333;
        padding: 10px;
    }
    
    /* 响应式设计 - 移动端 */
    @media (max-width: 1020px) {
        .mobile-menu-btn {
            display: block;
        }
        
        .nav-links {
            position: fixed;
            top: 70px;
            left: 0;
            width: 100%;
            background: #fff;
            flex-direction: column;
            height: auto;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .nav-links.active {
            max-height: calc(100vh - 70px);
            overflow-y: auto;
        }
        
        .nav-links li {
            width: 100%;
            height: auto;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .navbar-item {
            justify-content: flex-start;
            padding: 15px 20px;
            height: auto;
            width: 100%;
            box-sizing: border-box;
        }
        
        /* 移动端下拉菜单 - 默认隐藏 */
        .pulldown_list {
            position: static;
            width: 100%;
            flex-direction: column;
            padding: 0;
            box-shadow: none;
            opacity: 1;
            visibility: visible;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .pulldown_list::before {
            display: none;
        }
        
        /* 当Nav_list_item有active类时，显示下拉菜单 */
        .Nav_list_item.active .pulldown_list {
            max-height: none !important;
            overflow: visible;
        }
        
        .list_item {
            width: 100%;
            padding: 0;
            margin-bottom: 0;
        }
        
        .list_item h5 {
            margin: 0 20px;
            padding: 15px 0 10px;
        }
        
        .list_item a {
            padding: 10px 30px;
        }

        /* 移动端隐藏标题文字 */
        .nav-logo h2 {
            display: none;
        }
        
        /* 移动端调整LOGO大小 */
        .nav-logo-icon {
            /*width: 35px;*/
            height: 23px;
        }

        .mobile-search-btn {
            display: block;
        }

        .nav-logo {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .navbar-container {
            justify-content: space-between;
        }
    }
    
.tool-link {
    text-decoration: none !important;
    color: inherit;
}

.tool-link:hover {
    text-decoration: none !important;
}

/* 表格容器 **********************************************- 支持独立滚动 */
.scrollable-table {
    width: 100%;
    overflow-x: auto;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch; /* 移动端平滑滚动 */
    /* 防止影响页面布局 */
    max-width: 100%;
}

.bra-table {
    width: auto; /* 改为auto让表格根据内容自适应 */
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
    /* 表格自身可以超出，但容器会控制滚动 */
}

.bra-table th {
    background: #f8f9fa;
    color: #2d3748;
    font-weight: 600;
    padding: 12px 8px;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    font-size: 13px;
    white-space: nowrap;
}

.bra-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    white-space: nowrap; /* 防止单元格内容换行 */
}

.bra-table tr:hover {
    background-color: #f7fafc;
}

.bra-table tr:last-child td {
    border-bottom: none;
}

/* 移动端优化 - 修复页面滚动问题 */
@media (max-width: 768px) {
    .scrollable-table {
        margin: 8px 0;
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        /* 确保容器不会撑开页面 */
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .bra-table {
        font-size: 13px;
        width: auto; /* 表格可以比容器宽 */
        min-width: 100%; /* 但至少和容器一样宽 */
    }
    
    .bra-table th,
    .bra-table td {
        padding: 8px 6px;
        min-width: 70px; /* 设置合适的最小宽度 */
    }
    
    .bra-table th:first-child,
    .bra-table td:first-child {
        min-width: 90px;
        position: sticky;
        left: 0;
        background: #f8f9fa;
        z-index: 1;
    }
    
    .bra-table th:first-child {
        background: #e2e8f0;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .bra-table {
        font-size: 12px;
    }
    
    .bra-table th,
    .bra-table td {
        padding: 6px 4px;
        min-width: 60px;
    }
    
    .bra-table th:first-child,
    .bra-table td:first-child {
        min-width: 80px;
    }
}

/* 表格在工具说明区域的特有样式 */
.instructions .bra-table {
    margin: 10px 0;
}

.instructions .bra-table th {
    background: #edf2f7;
    color: #2d3748;
}

.instructions .bra-table tr:nth-child(even) {
    background-color: #fafbfc;
}

/* 确保页面主体不会因为表格而横向滚动 */
.tool-page-main-content {
    overflow-x: hidden;
    max-width: 100%;
}

.tool-main-content, .instructions {
    overflow-x: hidden;
    max-width: 100%;
}