﻿#BillList {
    width: 100%;
    max-width: 100%;
    border: 0 !important;
    background: transparent !important;
}

#BillList .k-grid-header {
    background: var(--bg-soft, #FAFAF7) !important;
}

#BillList .k-grid-header th {
    padding: 14px 16px;
    border-color: var(--line, #E5E7EB) !important;
    background: var(--bg-soft, #FAFAF7) !important;
    color: var(--ink, #0F1115) !important;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
}

#BillList td {
    min-width: 0;
    padding: 17px 16px;
    border-color: var(--line, #E5E7EB) !important;
    color: var(--ink-soft, #3A3F47);
    font-size: 14px;
    line-height: 1.45;
    vertical-align: middle;
}

#BillList tbody tr:hover td {
    background: var(--red-soft, #FEF2F3) !important;
}

@media (max-width: 1180px) {
    #BillList .k-grid-header-wrap,
    #BillList .k-grid-content {
        min-width: 720px;
    }
}


@media (max-width: 760px) {

    #BillList col:nth-child(2),
    #BillList col:nth-child(4),
    #BillList th:nth-child(2),
    #BillList th:nth-child(4),
    #BillList td:nth-child(2),
    #BillList td:nth-child(4) {
        display: none;
    }

    #BillList .k-grid-header-wrap,
    #BillList .k-grid-content {
        min-width: 0;
    }

    #BillList table {
        width: 100% !important;
        table-layout: fixed;
    }

    #BillList th:first-child,
    #BillList td:first-child {
        width: auto !important;
    }

    #BillList th:nth-child(3),
    #BillList td:nth-child(3) {
        width: 118px !important;
    }

    #BillList .k-grid-header th {
        padding: 11px 12px;
        font-size: 10px;
    }

    #BillList td {
        padding: 14px 12px;
        font-size: 13px;
    }
}

@media (max-width: 430px) {
    #BillList th:nth-child(3),
    #BillList td:nth-child(3) {
        width: 102px !important;
    }

    #BillList .k-grid-header th {
        padding: 10px 8px;
    }

    #BillList td {
        padding: 12px 8px;
    }
}

.bill-link {
    display: block;
    min-width: 0;
    color: var(--ink, #0F1115);
    font-family: var(--display, Georgia, serif);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.bill-link:hover {
    color: var(--red, #d83333);
    text-decoration: none;
}

.bill-list-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}

.bill-list-results-head {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 20px 28px;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 24px 28px;
    border-bottom: 1px solid var(--line, #E5E7EB);
}

@media (max-width: 1180px) {
    .bill-list-results-head {
        grid-template-columns: 1fr;
        align-items: start;
    }
}


#AlphabeticBar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    width: 100%;
    min-width: 0;
    max-width: none;
}

#AlphabeticBar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 999px;
    color: var(--red, #d83333);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

#AlphabeticBar a:hover {
    background: var(--red-soft, #FEF2F3);
}

#AlphabeticBar a.not-available {
    color: #C7CCD4;
    cursor: default;
    pointer-events: none;
}

#AlphabeticBar a.bold-font {
    background: var(--red-soft, #FEF2F3);
    color: var(--red, #d83333);
}
