* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.6;
    padding: 15px;
    font-size: 16px;
}
.container {
    max-width: 1000px;
    margin: 0 auto 80px;
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}
.header {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-top-row {
    display: flex;
    align-items: center;
    gap: 70px;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: #0071e3;
    border-bottom-color: #0071e3;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: #f5f5f7;
    border-radius: 20px;
    padding: 5px 15px;
    gap: 10px;
    transition: all 0.2s;
}

.search-container:focus-within {
    background-color: white;
    box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.2);
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #1d1d1f;
    max-width: 360px;
}

.search-btn {
    background-color: #0071e3;
    color: white;
    border: none;
    border-radius: 15px;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.search-btn:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

h1 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1d1d1f;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.breadcrumb {
    margin-bottom: 15px;
    font-size: 14px;
    color: #6e6e73;
}

.breadcrumb a {
    color: #0071e3;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: #c7c7cc;
}

.title-wrap {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.result-tip {
    font-size: 14px;
    color: #6e6e73;
    background: transparent;
    padding: 0;
    border-radius: 0;
    white-space: nowrap;
    display:none;
}

.table-wrapper {
    border: 1px solid #e1edfa;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
}

.standards-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background-color: white;
    border: none;
    border-radius: 0;
    overflow: visible;
    margin-bottom: 0;
}

.standards-table th,
.standards-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    border-left: none;
    border-right: none;
    border-top: none;
}

.standards-table th {
    background-color: #f5f5f7;
    font-weight: 700;
    font-size: 14px;
    color: #6e6e73;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.standards-table td {
    font-size: 14px;
    color: #1d1d1f;
}

.standards-table td:nth-child(2) {
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.clickable-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.clickable-row:hover {
    background-color: rgba(0, 113, 227, 0.05) !important;
}
.standards-table td a {
    color: #0071e3;
    text-decoration: none;
    font-weight: 700;
}
.standards-table td a:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
}

.pagination a {
    background-color: white;
    color: #1d1d1f;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    padding: 0;
}

.pagination a:hover {
    background-color: #f5f5f7;
    border-color: #d0d0d0;
}

.pagination .active {
    background-color: #0071e3;
    color: white;
    border-color: #0071e3;
    pointer-events: none;
}

.pagination .active:hover {
    background-color: #0056b3;
}

.pagination .ellipsis {
    border: none;
    background: transparent;
    cursor: default;
    width: auto;
    height: auto;
    line-height: normal;
}

.pagination .ellipsis:hover {
    background: transparent;
}

@media (min-width: 769px) {
    .standards-table th:nth-child(1),
    .standards-table td:nth-child(1) {
        width: 20% !important;
        min-width: 120px;
    }
    .standards-table th:nth-child(2),
    .standards-table td:nth-child(2) {
        width: 40% !important;
        min-width: 200px;
    }
    .standards-table th:nth-child(3),
    .standards-table td:nth-child(3) {
        width: 10% !important;
        text-align: center;
    }
    .standards-table th:nth-child(4),
    .standards-table td:nth-child(4) {
        width: 15% !important;
        text-align: center;
    }
    .standards-table th:nth-child(5),
    .standards-table td:nth-child(5) {
        width: 15% !important;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .table-wrapper {
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        overflow: hidden;
    }

    .standards-table th:nth-child(n+3),
    .standards-table td:nth-child(n+3) {
        display: none;
    }

    .standards-table {
        overflow-x: hidden;
        display: table;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
        border: none;
        border-radius: 0;
    }

    .standards-table th,
    .standards-table td {
        padding: 12px 8px;
        font-size: 13px;
        box-sizing: border-box;
    }

    .standards-table th:nth-child(1),
    .standards-table td:nth-child(1) {
        width: 38% !important;
        min-width: 0 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .standards-table th:nth-child(2),
    .standards-table td:nth-child(2) {
        width: 62% !important;
        min-width: 0 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pagination a {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 13px;
    }
}

.footer {
    background-color: white;
    border-top: 1px solid #e0e0e0;
    padding: 15px 20px;
    margin-top: 50px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

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

.footer p {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 22px;
    list-style: none;
    flex-wrap: wrap;
}

.footer-links a {
    color: #6e6e73;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 20px;
        margin-bottom: 70px;
    }

    h1 {
        font-size: 24px;
    }

    .nav-container {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        padding: 10px 0;
    }

    .nav-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .nav-links {
        flex-direction: row;
        gap: 15px;
        width: 100%;
        overflow-x: auto;
        padding: 5px 0;
    }

    .nav-links a {
        padding: 8px 0;
        border-bottom: none;
        white-space: nowrap;
    }

    .nav-links a:hover {
        color: #0071e3;
    }

    .header {
        padding: 10px 20px;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .search-container {
        width: auto;
        max-width: 200px;
        justify-content: space-between;
    }

    .search-input {
        width: calc(100% - 59px);
    }

    .footer-content{
        flex-direction: column;
        justify-content:center;
    }
    .footer-links{
        display: none;
    }
    .footer-content p{
        text-align:center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }

    .container {
        padding: 15px;
        border-radius: 8px;
    }

    .pagination a {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 12px;
    }

    .table-wrapper {
        border-radius: 8px;
    }
}

.collapse-container {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #e1edfa;
    transition: border-color 0.2s ease;
}

.collapse-container:hover {
    border-color: #c1d9f0;
}

.collapse-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fbff;
    padding: 16px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.collapse-header:hover {
    background-color: #f0f7ff;
}

.collapse-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    letter-spacing: 0.2px;
}

.collapse-title:hover {
    color: #0071e3;
}

.collapse-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
    color: #0071e3;
    transition: transform 0.2s ease, scale 0.2s ease;
}

.collapse-header:hover .collapse-icon {
    scale: 1.05;
}

.collapse-icon.rotate {
    transform: rotate(180deg);
}

.collapse-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
    padding: 0;
}

.collapse-content.show {
    max-height: 2000px;
    padding-bottom: 0;
}

.filter-section {
    background-color: #f5f5f7;
    padding: 15px 20px;
    border-radius: 0;
}

.filter-group {
    margin-bottom: 0;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    color: #1d1d1f;
    text-decoration: none;
    font-size: 13px;
    border-radius: 16px;
    border: 1px solid #e5e5e7;
    background: #ffffff;
    transition: all 0.22s ease;
    will-change: transform, box-shadow;
}

.filter-name {
    font-weight: 400;
}

.filter-count {
    font-size: 11px;
    color: #86868b;
    margin-left: 6px;
    font-weight: 400;
}

.filter-link:hover {
    border-color: #d2d2d7;
    background-color: #f5f5f7;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.filter-link:hover .filter-count {
    color: #6e6e73;
}

.filter-link.active {
    border-color: #0071e3;
    background-color: #0071e3;
    color: #ffffff;
}
.filter-link.active .filter-count {
    color: rgba(255, 255, 255, 0.78);
}

.filter-link:active {
    transform: translateY(0px);
    box-shadow: none;
}