/* Portal 4 shared DataTables theme.
   Loaded once through the advanced dynamic global head, after the portal base CSS.
   Applies to DataTables 2 / legacy wrappers, including tables in moved dialogs.
   AppliedVacanciesTable is an explicit opt-in for its non-DataTables display mode.
   Plain content tables, filter tables and vacancy details dialogs are excluded.
   Page CSS retains layout, column and action-specific overrides.
   Vendor sorting, responsive visibility and selected-row mechanics are preserved. */

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) {
--bs-table-bg: #fff;
    --bs-table-color: var(--portal-ink, #142c46);
    --bs-table-striped-bg: #f5f8fc;
    --bs-table-striped-color: var(--portal-ink, #142c46);
    --bs-table-hover-bg: var(--portal-tint, #eaf2fd);
    --bs-table-hover-color: var(--portal-ink, #142c46);
    --dt-row-selected: 29, 95, 180;
    --dt-row-selected-text: 255, 255, 255;
    --dt-row-selected-link: 255, 255, 255;
    width: 100%;
    margin: 16px 0;
    border: 1px solid var(--portal-border, #dbe5f1);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    background: #fff;
    color: var(--portal-ink, #142c46);
    font-size: var(--portal-text-md, .95rem);
    line-height: 1.6;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) > caption {
padding: 8px 0 12px;
    color: var(--portal-muted, #52657a);
    font-size: var(--portal-text-sm, .875rem);
    font-weight: 400;
    line-height: 1.5;
    caption-side: top;
    text-align: left;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) > thead > tr > th {
padding: 16px;
    border-bottom: 2px solid var(--portal-border, #dbe5f1);
    background: var(--portal-tint, #eaf2fd);
    color: var(--portal-ink, #142c46);
    font-weight: 700;
    vertical-align: middle;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) > thead > tr > :is(.dt-orderable-asc, .dt-orderable-desc, .sorting, .sorting_asc, .sorting_desc) {
padding-right: 30px;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) > tbody > tr > :is(td, th) {
padding: 16px;
    border-bottom-color: var(--portal-border, #dbe5f1);
    vertical-align: middle;
    overflow-wrap: anywhere;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) :where(a:not(.btn):not(.button):not(.page-link)) {
color: var(--portal-primary, #1d5fb4);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) :where(a:not(.btn):not(.button):hover) {
color: var(--portal-primary-hover, #174b8d);
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) > tbody > tr.selected a:not(.btn):not(.button) {
color: #fff;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) :is(.dt-empty, .dataTables_empty) {
padding: 32px 20px;
    background: var(--portal-surface, #f4f7fc);
    color: var(--portal-muted, #52657a);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    white-space: normal;
    text-align: center;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) {
margin-bottom: 28px;
    color: var(--portal-muted, #52657a);
    font-size: var(--portal-text-md, .925rem);
    line-height: 1.6;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) :is(.dt-search input, .dt-length select, .dataTables_filter input, .dataTables_length select) {
box-sizing: border-box;
    max-width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 2px solid var(--portal-input-border, #0b0c0c);
    border-radius: 7px;
    background-color: #fff;
    color: var(--portal-ink, #142c46);
    font-family: inherit;
    font-size: inherit;
    line-height: 1.5;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) :is(.dt-length select, .dataTables_length select) {
padding-right: 32px;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) :is(.dt-search label, .dt-length label, .dataTables_filter label, .dataTables_length label) {
margin-inline: 8px;
    color: var(--portal-muted, #52657a);
    font-size: inherit;
    font-weight: 600;
    line-height: 1.6;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) .dt-layout-row {
row-gap: 12px;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) :is(.dt-info, .dataTables_info) {
color: var(--portal-muted, #52657a);
    font-size: var(--portal-text-sm, .875rem);
    line-height: 1.6;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) .pagination {
flex-wrap: wrap;
    gap: 4px;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) :is(button.dt-paging-button, .dataTables_paginate .paginate_button:not(.page-item), .page-link) {
min-width: 44px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 7px;
    color: var(--portal-primary, #1d5fb4);
    font-size: inherit;
    line-height: 1.5;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) :is(button.dt-paging-button.current, .dataTables_paginate .paginate_button:not(.page-item).current, .page-item.active > .page-link) {
border-color: var(--portal-primary, #1d5fb4);
    background: var(--portal-primary, #1d5fb4);
    color: #fff !important;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) :is(button.dt-paging-button:not(.disabled):not(.current), .dataTables_paginate .paginate_button:not(.page-item):not(.disabled):not(.current), .page-item:not(.disabled):not(.active) > .page-link):hover {
border-color: var(--portal-border, #dbe5f1);
    background: var(--portal-tint, #eaf2fd);
    color: var(--portal-primary-hover, #174b8d);
}

:where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) :is(button.dt-paging-button.disabled, .dataTables_paginate .paginate_button:not(.page-item).disabled, .page-item.disabled > .page-link) {
color: var(--portal-muted, #52657a) !important;
    background: var(--portal-surface, #f4f7fc);
    cursor: default;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) :is(.dt-processing, .dataTables_processing) {
border: 1px solid var(--portal-border, #dbe5f1);
    border-radius: 10px;
    background: #fff;
    color: var(--portal-ink, #142c46);
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) .btn {
display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin-block: 3px;
    padding: 10px 14px;
    border-radius: 7px;
    font-size: var(--portal-text-control, .95rem);
    line-height: 1.5;
    white-space: normal;
    text-decoration: none;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) .btn-primary {
border: 1px solid var(--portal-primary, #1d5fb4);
    background: var(--portal-primary, #1d5fb4);
    color: #fff;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) .btn-primary:hover {
border-color: var(--portal-primary-hover, #174b8d);
    background: var(--portal-primary-hover, #174b8d);
    color: #fff;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable).collapsed > tbody > tr > td.dtr-control {
padding-left: 32px;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) > tbody > tr.child > td {
padding: 16px 20px;
    background: #f5f8fc;
    white-space: normal;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) ul.dtr-details {
width: 100%;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) ul.dtr-details > li {
padding: 10px 0;
    border-bottom-color: var(--portal-border, #dbe5f1);
    overflow-wrap: anywhere;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) .dtr-title {
min-width: 110px;
    color: var(--portal-ink, #142c46);
    font-weight: 700;
}

:where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) :is(a, button, input, select, th[tabindex], td.dtr-control):focus-visible,
:where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) :is(a, button, input, select, th[tabindex], td.dtr-control):focus-visible {
color: var(--focus-text-color, #0b0c0c) !important;
    background-color: var(--focus-color, #ffdd00) !important;
    outline: 3px solid var(--focus-text-color, #0b0c0c);
    outline-offset: 3px;
    box-shadow: none;
}

@media (max-width: 767.98px) {
    :where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) > thead > tr > th { padding: 12px; }
    :where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) > thead > tr > :is(.dt-orderable-asc, .dt-orderable-desc, .sorting, .sorting_asc, .sorting_desc) { padding-right: 28px; }
    :where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable) > tbody > tr > :is(td, th) { padding: 12px; }
    :where(body):has(:is(#aspnetForm, #form1)) :where(table.dataTable, #AppliedVacanciesTable).collapsed > tbody > tr > td.dtr-control { padding-left: 32px; }
    :where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) :is(.dt-search, .dataTables_filter) { margin-top: 12px; text-align: left; }
    :where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) :is(.dt-search input, .dataTables_filter input) { width: 100%; margin: 6px 0 0; }
    :where(body):has(:is(#aspnetForm, #form1)) :where(.dt-container, .dataTables_wrapper) :is(.dt-info, .dataTables_info) { margin-bottom: 12px; }
}
