.cs-hr-law-updates {
    margin: 32px 0;
    font-size: 15px;
    line-height: 1.6;
}

.cs-hr-law-updates *,
.cs-hr-law-updates *::before,
.cs-hr-law-updates *::after {
    box-sizing: border-box;
}

/* Filters */

.cs-hr-law-updates-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: end;
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.cs-hr-law-updates-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cs-hr-law-updates-filter-field label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.cs-hr-law-updates-filter-field input,
.cs-hr-law-updates-filter-field select {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
}

.cs-hr-law-updates-filter-field input:focus,
.cs-hr-law-updates-filter-field select:focus {
    outline: 2px solid transparent;
    border-color: #6b7280;
}

.cs-hr-law-updates-keyword-field {
    grid-column: span 2;
}

.cs-hr-law-updates-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cs-hr-law-updates-search-button,
.cs-hr-law-updates-reset-button {
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #111827;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.cs-hr-law-updates-search-button {
    background: #111827;
    color: #ffffff;
}

.cs-hr-law-updates-reset-button {
    background: #ffffff;
    color: #111827;
}

.cs-hr-law-updates-search-button:hover,
.cs-hr-law-updates-reset-button:hover {
    opacity: 0.88;
}

/* Loading */

.cs-hr-law-updates-loading {
    margin: 12px 0;
    font-size: 14px;
    color: #4b5563;
}

.cs-hr-law-updates-results-container.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

/* Table */

.cs-hr-law-updates-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
}

.cs-hr-law-updates-table {
    width: 100%;
    min-width: 1360px;
    border-collapse: collapse;
    background: #ffffff;
}

.cs-hr-law-updates-table th,
.cs-hr-law-updates-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

.cs-hr-law-updates-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f3f4f6;
    color: #111827;
    font-weight: 700;
    white-space: nowrap;
}

.cs-hr-law-updates-table tbody tr:last-child td {
    border-bottom: none;
}

.cs-hr-law-updates-table tbody tr:hover {
    background: #f9fafb;
}

.cs-hr-law-updates-table td {
    color: #1f2937;
}

.cs-hr-law-updates-table td:nth-child(1),
.cs-hr-law-updates-table td:nth-child(2),
.cs-hr-law-updates-table td:nth-child(3),
.cs-hr-law-updates-table td:nth-child(4),
.cs-hr-law-updates-table td:nth-child(5),
.cs-hr-law-updates-table td:nth-child(8),
.cs-hr-law-updates-table td:nth-child(9),
.cs-hr-law-updates-table td:nth-child(10),
.cs-hr-law-updates-table td:nth-child(11),
.cs-hr-law-updates-table td:nth-child(12) {
    white-space: nowrap;
}

.cs-hr-law-updates-table td:nth-child(8) {
    min-width: 320px;
}

.cs-hr-law-updates-table a {
    color: #111827;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cs-hr-law-updates-table a:hover {
    text-decoration-thickness: 2px;
}

.cs-hr-law-updates-no-results {
    text-align: center;
    color: #6b7280;
    padding: 24px;
}

/* Pagination */

.cs-hr-law-updates-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 20px;
}

.cs-hr-law-updates-page-link,
.cs-hr-law-updates-page-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
}

.cs-hr-law-updates-page-link {
    background: #ffffff;
    color: #111827;
}

.cs-hr-law-updates-page-link:hover {
    background: #f3f4f6;
}

.cs-hr-law-updates-page-current {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
    font-weight: 700;
}

/* Responsive */

@media (max-width: 900px) {
    .cs-hr-law-updates-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cs-hr-law-updates-keyword-field {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .cs-hr-law-updates {
        margin: 24px 0;
        font-size: 14px;
    }

    .cs-hr-law-updates-filters {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .cs-hr-law-updates-keyword-field {
        grid-column: span 1;
    }

    .cs-hr-law-updates-filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cs-hr-law-updates-search-button,
    .cs-hr-law-updates-reset-button {
        width: 100%;
    }

    .cs-hr-law-updates-table th,
    .cs-hr-law-updates-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

.cs-hr-law-updates-filter-field.is-disabled {
    opacity: 0.55;
}

.cs-hr-law-updates-filter-field select:disabled {
    cursor: not-allowed;
    background: #f3f4f6;
    color: #6b7280;
}

/* Filter note */

.cs-hr-law-updates-filter-note {
    grid-column: 1 / -1;
    margin-top: -4px;
    padding: 10px 12px;
    border-left: 3px solid #d1d5db;
    background: #ffffff;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.5;
}

/* Result count */

.cs-hr-law-updates-result-count {
    margin: 0 0 10px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}


.cs-hr-law-updates-table td:nth-child(6) {
    min-width: 220px;
}