/* Isolated scope — overrides Elementor/Astra theme styles inside this block only */
.saebhc-sheets-datatable-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
}

.saebhc-sheets-datatable-scope {
    isolation: isolate;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
    overflow-y: visible;
    padding: 1rem;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    background: #ffffff !important;
    color: #1d2327 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    -webkit-font-smoothing: antialiased;
}

.saebhc-sheets-datatable-scope *,
.saebhc-sheets-datatable-scope *::before,
.saebhc-sheets-datatable-scope *::after {
    box-sizing: border-box;
}

/* Controls: search, length, info, pagination labels */
.saebhc-sheets-datatable-scope .dataTables_wrapper,
.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_length,
.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_filter,
.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_info,
.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_paginate,
.saebhc-sheets-datatable-scope .dataTables_wrapper label,
.saebhc-sheets-datatable-scope .dataTables_wrapper span,
.saebhc-sheets-datatable-scope .dataTables_wrapper div {
    color: #1d2327 !important;
    text-shadow: none !important;
}

.saebhc-sheets-datatable-scope .dataTables_wrapper {
    width: 100%;
    clear: both;
    max-width: 100%;
    overflow-x: visible;
    overflow-y: visible;
}

.saebhc-sheets-datatable-scope .saebhc-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.saebhc-sheets-datatable-scope .saebhc-dt-top,
.saebhc-sheets-datatable-scope .saebhc-dt-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    width: 100%;
    margin: 0.75rem 0;
    color: #1d2327 !important;
}

.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_length,
.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_filter {
    float: none !important;
    display: block;
    margin: 0;
}

.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_length label,
.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_filter label {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400 !important;
    margin: 0 !important;
    color: #1d2327 !important;
}

.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_filter input,
.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_length select {
    display: inline-block !important;
    width: auto !important;
    min-width: 4rem;
    min-height: 32px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0.35rem 0.6rem !important;
    border: 1px solid #8c8f94 !important;
    border-radius: 3px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #1d2327 !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: static !important;
    clip: auto !important;
    -webkit-appearance: menulist !important;
    appearance: auto !important;
}

.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_info {
    float: none !important;
    display: block;
    margin: 0;
    padding: 0;
    color: #1d2327 !important;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable {
    display: table !important;
    width: auto !important;
    min-width: 100%;
    max-width: none !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
    background: #fff !important;
    border: 1px solid #c3c4c7 !important;
    empty-cells: show;
    visibility: visible !important;
    opacity: 1 !important;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable thead {
    display: table-header-group !important;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable tbody {
    display: table-row-group !important;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable tfoot {
    display: table-footer-group !important;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable tr {
    display: table-row !important;
    background: transparent !important;
    visibility: visible !important;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable thead th,
.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable tbody td,
.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable tfoot th,
.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable tfoot td {
    display: table-cell !important;
    vertical-align: top;
    text-align: left;
    padding: 8px 10px !important;
    border-top: 1px solid #dcdcde !important;
    border-right: 1px solid #dcdcde !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    background: #fff !important;
    color: #1d2327 !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    word-break: break-word;
    overflow: visible !important;
    text-overflow: clip !important;
    max-height: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable thead th {
    border-top: 0 !important;
    background: #f6f7f7 !important;
    font-weight: 600 !important;
    color: #1d2327 !important;
    white-space: nowrap !important;
    word-break: normal !important;
}

/* Column min-widths — keep headers on one line; table scrolls horizontally when needed */
.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-agency {
    min-width: 7.5rem;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-opportunity {
    min-width: 14rem;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-status {
    min-width: 6.5rem;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-award-amount {
    min-width: 8.5rem;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-close-date,
.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-posted-date {
    min-width: 7.5rem;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable tbody tr:nth-child(even) td {
    background: #fbfbfb !important;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable tbody tr:hover td {
    background: #f0f6fc !important;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-status,
.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-close-date,
.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-posted-date {
    white-space: nowrap !important;
    word-break: normal !important;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable td a,
.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable th a {
    color: #aa2930 !important;
    text-decoration: none !important;
    background: transparent !important;
    font-weight: inherit !important;
    box-shadow: none !important;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable td a:hover,
.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable th a:hover {
    color: #aa2930 !important;
    text-decoration: underline !important;
}

.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_paginate {
    float: none !important;
    display: block;
    margin: 0;
    text-align: right;
    color: #1d2327 !important;
}

.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_paginate .paginate_button {
    display: inline-block !important;
    min-width: 0;
    margin: 0 0 0 2px !important;
    padding: 0.35rem 0.65rem !important;
    border: 1px solid transparent !important;
    border-radius: 3px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #2271b1 !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    text-decoration: none !important;
}

.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #2271b1 !important;
    background-color: #2271b1 !important;
    border-color: #2271b1 !important;
    color: #ffffff !important;
}

.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #f0f6fc !important;
    background-color: #f0f6fc !important;
    border-color: #c3c4c7 !important;
    color: #135e96 !important;
}

.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.saebhc-sheets-datatable-scope .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: #a7aaad !important;
    background: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
    cursor: default !important;
    opacity: 1 !important;
}

.saebhc-sheets-datatable-error {
    padding: 1rem;
    border: 1px solid #d63638;
    background: #fcf0f1;
    color: #1d2327;
}

.saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-sheet-order {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

@media (max-width: 767px) {
    .saebhc-sheets-datatable-scope {
        font-size: 13px !important;
        padding: 0.75rem;
    }

    .saebhc-sheets-datatable-scope .saebhc-table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .saebhc-sheets-datatable-scope table.saebhc-sheets-datatable {
        width: max-content !important;
        min-width: 100%;
    }

    .saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-agency {
        min-width: 6.5rem;
    }

    .saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-opportunity {
        min-width: 12rem;
    }

    .saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-status {
        min-width: 6rem;
    }

    .saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-award-amount {
        min-width: 7.5rem;
    }

    .saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-close-date,
    .saebhc-sheets-datatable-scope table.saebhc-sheets-datatable .saebhc-col-posted-date {
        min-width: 6.75rem;
    }

    .saebhc-sheets-datatable-scope .saebhc-dt-top,
    .saebhc-sheets-datatable-scope .saebhc-dt-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .saebhc-sheets-datatable-scope table.saebhc-sheets-datatable thead th,
    .saebhc-sheets-datatable-scope table.saebhc-sheets-datatable tbody td {
        padding: 6px 8px !important;
    }
}
