@font-face {
    font-family: 'robotoblack_italic';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-blackitalic-webfont.woff2') format('woff2'),
         url('/templates/lagom2/assets/fonts/roboto/roboto-blackitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotobold';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-bold-webfont.woff2') format('woff2'),
         url('/templates/lagom2/assets/fonts/roboto/roboto-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotobold_italic';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-bolditalic-webfont.woff2') format('woff2'),
         url('/templates/lagom2/assets/fonts/roboto/roboto-bolditalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotoitalic';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-italic-webfont.woff2') format('woff2'),
         url('/templates/lagom2/assets/fonts/roboto/roboto-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotoblack';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-black-webfont.woff2') format('woff2'),
         url('/templates/lagom2/assets/fonts/roboto/roboto-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotolight';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-light-webfont.woff2') format('woff2'),
         url('/templates/lagom2/assets/fonts/roboto/roboto-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotolight_italic';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-lightitalic-webfont.woff2') format('woff2'),
         url('/templates/lagom2/assets/fonts/roboto/roboto-lightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotomedium';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-medium-webfont.woff2') format('woff2'),
         url('/templates/lagom2/assets/fonts/roboto/roboto-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotomedium_italic';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-mediumitalic-webfont.woff2') format('woff2'),
         url('/templates/lagom2/assets/fonts/roboto/roboto-mediumitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotoregular';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-regular-webfont.woff2') format('woff2'),
         url('/templates/lagom2/assets/fonts/roboto/roboto-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotothin';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-thin-webfont.woff2') format('woff2'),
         url('/templates/lagom2/assets/fonts/roboto/roboto-thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotothin_italic';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-thinitalic-webfont.woff2') format('woff2'),
         url('/templates/lagom2/assets/fonts/roboto/roboto-thinitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* Table/action overrides to ensure consistent look across pages */
.table.table-bordered th,
.table.table-bordered td,
.table.dataTable thead th,
.table.dataTable tbody td {
    border-left: 0 !important;
    border-right: 0 !important;
}

.table-actions-group .btn:first-child,
.table-actions-group .btn:first-child:disabled,
.table-actions-group .btn:first-child.disabled {
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
}

.table-actions-group .btn:last-child,
.table-actions-group .btn:last-child:disabled,
.table-actions-group .btn:last-child.disabled {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.table-actions-group .btn:not(:first-child),
.table-actions-group .btn-group > .btn,
.table-actions-group .btn-group > .btn.dropdown-toggle {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Moved from vars/custom.css (tables/panels/datatable styling) */
.panel-heading {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-heading h2,
.panel-heading h3,
.panel-heading h4 {
    margin: 0;
    color: #eef4fb;
}

.panel-body {
    padding: 16px 20px 20px;
}

.panel-footer {
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.table {
    width: 100%;
    color: #dbe4f0;
    background: transparent;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    font-weight: 600;
    color: #b8c2d3;
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table tbody td {
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #eef4fb;
}

.table-bordered {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.table-bordered th,
.table-bordered td {
    border-right: 0;
}

.table-bordered th,
.table-bordered td,
.table > thead > tr > th,
.table > tbody > tr > td {
    border-left: 0 !important;
}

.table-bordered th,
.table-bordered td,
.table.dataTable thead th,
.table.dataTable tbody td {
    border-right: 0 !important;
    border-left: 0 !important;
}

.table-bordered th:last-child,
.table-bordered td:last-child {
    border-right: 0;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: transparent;
}

/* Unified table + toolbar styling */
.status-grid {
    margin-bottom: 24px;
}

.status-grid .info-tile {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(12, 18, 28, 0.2);
}

#table-filters {
    display: inline-block;
}

.has-error .domain.help-block {
    color: #819ba8 !important;
}

.table-toolbar-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
}

.table-toolbar__search,
.table-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.table-toolbar__actions {
    margin-left: auto;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.table-toolbar__search {
    flex: 1 1 auto;
    min-width: 0;
}

.table-toolbar .dataTables_filter,
.table-toolbar .dataTables_length {
    margin: 0;
}

.table-toolbar .dataTables_filter label,
.table-toolbar .dataTables_length label {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(238, 244, 251, 0.75);
    font-weight: 500;
}

.table-toolbar .dataTables_filter label {
    position: relative;
}

.table-toolbar .dataTables_filter label:before {
    content: "\f002";
    font-family: FontAwesome;
    font-size: 14px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(238, 244, 251, 0.6);
    pointer-events: none;
}

.container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}

.table-toolbar .dataTables_filter input,
.table-toolbar .dataTables_length select {
    height: 38px;
    border-radius: 6px;
}

.table-toolbar .dataTables_filter input {
    padding-left: 34px;
    min-width: 200px;
}

.table-toolbar .btn {
    border-radius: 6px;
}

.table-panel.panel {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.table-panel .panel-heading {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table-panel .panel-heading h2 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
}

.table-panel .panel-ctrls {
    display: none;
}

.table-panel .panel-body.panel-no-padding {
    padding: 0;
}

.table-panel .dataTables_wrapper {
    padding: 0;
}

.table-panel .dataTables_wrapper .row {
    margin-left: 0;
    margin-right: 0;
}

.table-panel .dataTables_wrapper .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.table-panel .table {
    margin-bottom: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
}

.table-panel .table thead tr {
    background: rgba(255, 255, 255, 0.02);
}

.table-panel .table thead th {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(238, 244, 251, 0.85);
}

.table-panel .table thead,
.table-panel .table thead tr,
.table-panel .table thead th {
    border-top: 0 !important;
}

.table-panel .table > thead > tr > th,
.table-panel .table > tbody > tr > td {
    border-color: rgba(255, 255, 255, 0.06);
}

.table-panel .table tbody tr {
    background: rgba(255, 255, 255, 0.02);
}

.table-panel .table tbody tr:hover {
    background: rgba(255, 255, 255, 0.06);
}

.status-success {
    background-color: rgba(145, 199, 150, 0.85);
}

.status-default {
    background-color: rgba(144, 164, 174, 0.85);
}

.status-warning {
    background-color: rgba(227, 193, 142, 0.85);
}

.status-primary {
    background-color: rgba(131, 174, 211, 0.85);
}

.status-danger {
    background-color: rgba(214, 143, 143, 0.85);
}

.status-dark {
    background-color: rgba(90, 90, 90, 0.9);
}

.status-grace {
    background-color: rgba(90, 90, 90, 0.45);
}

.status-failed {
    background-color: rgba(196, 20, 17, 0.9);
}

.status-light {
    background-color: rgba(248, 249, 250, 0.9);
    color: #343a40;
}

.status-light-purple {
    background-color: rgba(204, 204, 255, 0.9);
}

.table-panel .dataTables_paginate {
    padding: 8px 0 0;
}

.table-panel .dataTables_paginate .pagination {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 6px;
}

.table-panel .dataTables_paginate .pagination > li > a,
.table-panel .dataTables_paginate .pagination > li > span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(238, 244, 251, 0.85);
}

.table-panel .dataTables_paginate .pagination > .active > a,
.table-panel .dataTables_paginate .pagination > .active > span {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.table-panel .dataTables_paginate .pagination > li > a:hover,
.table-panel .dataTables_paginate .pagination > li > span:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.table-actions-group {
    margin: 0;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.table-actions-group .btn,
.table-actions-group .btn-group {
    margin: 0;
}

.table-actions-group .btn,
.table-actions-group .btn-group .btn {
    border-radius: 0;
}

.table-actions-group .btn-group > .btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.table-actions-group .btn + .btn,
.table-actions-group .btn + .btn-group,
.table-actions-group .btn-group + .btn,
.table-actions-group .btn-group + .btn-group {
    margin-left: -1px;
}

.table-actions-group > .btn:first-child,
.table-actions-group > .btn-group:first-child > .btn:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.table-actions-group > .btn:last-child,
.table-actions-group > .btn-group:last-child > .btn:last-child,
.table-actions-group > .btn-group:last-child > .btn:first-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.table-actions-group .btn-group > .btn:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.table-actions-group .btn:first-child,
.table-actions-group .btn:first-child:disabled,
.table-actions-group .btn:first-child.disabled {
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
}

.table-actions-group .btn:last-child,
.table-actions-group .btn:last-child:disabled,
.table-actions-group .btn:last-child.disabled {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.table-actions-group--accent .btn,
.table-actions-group--accent .btn-group .btn,
.table-actions-group--accent .btn.btn-default,
.table-actions-group--accent .btn.btn-default-alt {
    background: #d54a4a;
    border-color: #c94545;
    color: #fff;
}

.table-actions-group--accent .btn:hover,
.table-actions-group--accent .btn:focus,
.table-actions-group--accent .btn-group .btn:hover,
.table-actions-group--accent .btn-group .btn:focus,
.table-actions-group--accent .btn.btn-default:hover,
.table-actions-group--accent .btn.btn-default:focus,
.table-actions-group--accent .btn.btn-default-alt:hover,
.table-actions-group--accent .btn.btn-default-alt:focus {
    background: #c54343;
    border-color: #b13d3d;
    color: #fff;
}

.table-actions-group .dropdown-menu {
    margin-top: 6px;
}

.table-status-cell {
    padding: 0 !important;
    width: 14px;
    position: relative;
    overflow: hidden;
}

.table-status-cell .status-success,
.table-status-cell .status-default,
.table-status-cell .status-warning,
.table-status-cell .status-primary,
.table-status-cell .status-danger,
.table-status-cell .status-dark,
.table-status-cell .status-grace,
.table-status-cell .status-failed,
.table-status-cell .status-light,
.table-status-cell .status-light-purple {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    margin: 0;
}

.table-panel .badge.status-success,
.table-panel .badge.status-default,
.table-panel .badge.status-warning,
.table-panel .badge.status-primary,
.table-panel .badge.status-danger,
.table-panel .badge.status-dark,
.table-panel .badge.status-grace,
.table-panel .badge.status-failed,
.table-panel .badge.status-light,
.table-panel .badge.status-light-purple {
    display: inline-flex;
    align-items: center;
    height: auto;
    min-height: 0;
    width: auto;
    padding: 2px 8px;
    border-radius: 999px;
}

.table-panel .badge.status-success { background-color: rgba(145, 199, 150, 0.9); color: #fff; }
.table-panel .badge.status-default { background-color: rgba(144, 164, 174, 0.9); color: #fff; }
.table-panel .badge.status-warning { background-color: rgba(227, 193, 142, 0.9); color: #3a2c14; }
.table-panel .badge.status-primary { background-color: rgba(131, 174, 211, 0.9); color: #fff; }
.table-panel .badge.status-danger { background-color: rgba(214, 143, 143, 0.9); color: #fff; }
.table-panel .badge.status-dark { background-color: rgba(90, 90, 90, 0.9); color: #fff; }
.table-panel .badge.status-grace { background-color: rgba(90, 90, 90, 0.55); color: #fff; }
.table-panel .badge.status-failed { background-color: rgba(196, 20, 17, 0.9); color: #fff; }
.table-panel .badge.status-light { background-color: rgba(248, 249, 250, 0.9); color: #343a40; }
.table-panel .badge.status-light-purple { background-color: rgba(204, 204, 255, 0.9); color: #2a2f5a; }

.table-striped > tbody > tr {
  background-color: transparent !important;
}

.table-striped > tbody > tr:hover {
  background-color: rgba(255, 255, 255, 0.06) !important;
}

@media (max-width: 767px) {
    .table-toolbar-card {
        padding: 12px 16px;
    }
    .table-toolbar .dataTables_filter input {
        min-width: 160px;
        width: 100%;
    }
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    background: rgba(255, 255, 255, 0.08);
    color: #eef4fb;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 6px 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #dbe4f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 4px 10px;
    margin: 0 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.dataTables_wrapper .dataTables_info {
    color: #c7d1e0;
}
