.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0 0;
}

header {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    padding: 25px 0;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 2.5rem;
    color: #5c6bc0;
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

.logo p {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 5px;
}

.nav-menu {
    display: flex;
    gap: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 8px;
}

.nav-btn {
    background: none;
    color: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-btn.active, .nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.stats {
    display: flex;
    gap: 30px;
    text-align: center;
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #bbdefb;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

.search-section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #5c6bc0;
    box-shadow: 0 0 0 3px rgba(92, 107, 192, 0.2);
}

.search-btn {
    background-color: #5c6bc0;
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #3f51b5;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background-color: #f5f5f5;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.filter-btn.active {
    background-color: #5c6bc0;
    color: white;
}

.filter-btn:hover:not(.active) {
    background-color: #e0e0e0;
}

.data-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .data-section {
        grid-template-columns: 1fr;
    }
}

.table-container {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.table-header {
    background-color: #5c6bc0;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.table-count {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

thead {
    background-color: #f8f9fa;
}

th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    white-space: nowrap;
}

td {
    padding: 16px 15px;
    border-bottom: 1px solid #e9ecef;
}
.td-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

tr:hover {
    background-color: #f8f9fa;
}

/* 标准类型色块 */
.type-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.type-international {
    background-color: #1a237e; /* 国际标准 - 深蓝色 */
}

.type-national {
    background-color: #2e7d32; /* 国家标准 - 绿色 */
}

.type-group {
    background-color: #ef6c00; /* 团体标准 - 橙色 */
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-in-progress {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-published {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.chart-container {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.chart-container h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

.chart-box {
    height: 300px;
    position: relative;
}

.info-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .info-section {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: #5c6bc0;
}

.organization-list {
    list-style-type: none;
}

.organization-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
}

.organization-list li:last-child {
    border-bottom: none;
}

.org-count {
    background-color: #e3f2fd;
    color: #1565c0;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.inner-page {
    padding-bottom: 0;
}
.inner-footer {
    text-align: right;
    padding: 20px;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #e0e0e0;
    margin-top: 30px;
}
.footer {
    margin-top: 0;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #777;
}

.no-results i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 15px;
}

.page-content {
    display: none;
}

.page-content.active {
    display: block;
}

.standards-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.summary-item {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.summary-item h4 {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.summary-value {
    font-size: 2rem;
    font-weight: 700;
    color: #5c6bc0;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 10px;
}

.pagination-btn {
    background-color: #f5f5f5;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #e0e0e0;
}

.pagination-btn.active {
    background-color: #5c6bc0;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 0.9rem;
    color: #666;
    margin: 0 15px;
}

.legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-international {
    background-color: #1a237e;
}

.legend-national {
    background-color: #2e7d32;
}

.legend-group {
    background-color: #ef6c00;
}

/* 图表图例样式 */
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.chart-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.chart-legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

/* 手机端适配 */
@media (max-width: 768px) {
    /* 覆盖全局固定宽度 */
    .inner-page, .inner-page .page-title, .page-content { width: 100% !important; max-width: 100% !important; }
    html, body { min-width: 0 !important; }
    /* 隐藏顶部导航和底部 */
    .scy-main, .footer { display: none !important; }
    .inner-page { padding: 0 !important; margin-top: 0 !important; }
    .container { padding: 10px !important; max-width: 100% !important; }

    /* 搜索区域 */
    .search-section { padding: 15px; }
    .search-box { flex-direction: column; gap: 10px; }
    .search-box input { padding: 12px 15px; font-size: 14px; }
    .search-btn { padding: 12px; width: 100%; }
    .filter-options { gap: 8px; }
    .filter-btn { padding: 8px 14px; font-size: 0.8rem; }

    /* 统计摘要 */
    .standards-summary { gap: 10px; }
    .summary-item { min-width: 0; padding: 12px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .summary-value { font-size: 1.5rem; }

    /* 数据区域单列 */
    .data-section { grid-template-columns: 1fr !important; gap: 15px; }

    /* 表格 */
    .table-header { padding: 15px; flex-direction: column; gap: 10px; align-items: flex-start; }
    .table-header h2 { font-size: 1.2rem; }
    table { font-size: 0.8rem; min-width: 700px; }
    th, td { padding: 10px 8px; }
    .td-ellipsis { white-space: normal !important; word-break: break-all; }

    /* 图表 */
    .chart-container { padding: 15px; }
    .chart-container h2 { font-size: 1.2rem; }
    .chart-box { height: 250px; }

    /* 信息卡片单列 */
    .info-section { grid-template-columns: 1fr !important; gap: 15px; }
    .info-card { padding: 15px; }
    .info-card h3 { font-size: 1.1rem; }

    /* 分页 */
    .pagination { flex-wrap: wrap; gap: 5px; padding: 15px; }
    .pagination-btn { padding: 6px 12px; font-size: 0.8rem; }

    /* 归口单位列表 */
    .organization-list li { align-items: flex-start; }
    .org-count { white-space: nowrap; }
    /* 图例 */
    .legend { gap: 10px; }
    .chart-legend { gap: 10px; }
}
