/* Legislation Wrap */
.legislation-wrap {
    margin: 20px 0;
}

/* Filter Bar */
.legislation-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: #f5f5f5;
    border-radius: 6px;
}

.legislation-filters__label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1b2e4b;
}

.legislation-filter {
    padding: 10px 36px 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.85rem;
    background: #fff;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.legislation-filter:focus {
    outline: none;
    border-color: #00a89d;
}

.legislation-filters__reset {
    padding: 10px 20px;
    background: #00a89d;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.legislation-filters__reset:hover {
    background: #008f86;
}

/* Table */
.legislation-table-wrap {
    overflow-x: auto;
}

.legislation-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    line-height: 1.5;
}

.legislation-table thead tr {
    background-color: #1b2e4b;
    color: #ffffff;
}

.legislation-table thead th {
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    vertical-align: middle;
    border: 1px solid #1b2e4b;
}

.legislation-table tbody td {
    padding: 12px 14px;
    vertical-align: top;
    border: 1px solid #ddd;
}

.legislation-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.legislation-table__title {
    font-weight: 700;
}

.legislation-table__description ul {
    margin: 8px 0;
    padding-left: 20px;
}

.legislation-table__description li {
    margin-bottom: 6px;
}

.legislation-table__info a {
    display: block;
    margin-bottom: 6px;
    color: #00a89d;
    text-decoration: underline;
}

.legislation-table__info a:hover {
    color: #008f86;
}

/* Responsive */
@media (max-width: 768px) {
    .legislation-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .legislation-filter {
        width: 100%;
    }

    .legislation-table {
        font-size: 0.8rem;
    }

    .legislation-table thead th,
    .legislation-table tbody td {
        padding: 10px 10px;
    }
}

/* Heading */
.legislation-heading {
    margin-bottom: 20px;
}

.legislation-heading__title {
    margin: 0 0 8px;
    color: #1b2e4b;
    font-weight: 700;
}

.legislation-heading__subtitle {
    margin: 0;
    font-size: 1rem;
    font-style: italic;
    color: #555;
}

/* Bill number link in title cell */
.legislation-table__title a {
    color: #00a89d;
    text-decoration: underline;
}

.legislation-table__title a:hover {
    color: #008f86;
}
