.tenant-horizontal-nav{position:relative;z-index:1030;background:var(--tenant-surface);border-bottom:1px solid var(--tenant-border);box-shadow:0 2px 8px rgba(30,41,59,.03)}
.tenant-legacy-horizontal-shell .menu-horizontal{z-index:1035}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-inner{padding-left:5rem;padding-right:5rem}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-item{z-index:1040}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-sub{z-index:1060;background:#fff!important;opacity:1!important;box-shadow:0 12px 30px rgba(30,41,59,.14);border:1px solid #e7ebf0}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-sub .menu-link{background:#fff!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .menu-horizontal .menu-sub{background:#182230!important;border-color:#344255;box-shadow:0 14px 32px rgba(0,0,0,.3)}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .menu-horizontal .menu-sub .menu-link{background:#182230!important;color:#dce6f5}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .menu-horizontal .menu-sub .menu-link:hover{background:#24364d!important}
.tenant-horizontal-shell .tenant-mobile-toggle{display:none}
.tenant-horizontal-inner{display:flex;align-items:center;gap:.25rem;min-height:58px;padding:.45rem 1.6rem;overflow-x:auto}
.tenant-horizontal-inner>.tenant-nav-group{position:relative;margin:0;flex:0 0 auto}
.tenant-horizontal-inner>.tenant-menu-header{display:none}
.tenant-horizontal-inner .tenant-nav-link{min-height:38px;padding:.5rem .8rem;white-space:nowrap}
.tenant-horizontal-inner .tenant-submenu{position:absolute;top:calc(100% + .35rem);left:0;min-width:210px;padding:.45rem;background:var(--tenant-surface);border:1px solid var(--tenant-border);border-radius:10px;box-shadow:0 12px 28px rgba(30,41,59,.13);z-index:1045}
.tenant-horizontal-inner .tenant-nav-group.is-open>.tenant-submenu{display:block}
.tenant-horizontal-inner .tenant-submenu .tenant-nav-group{margin:.1rem 0}
.tenant-horizontal-inner .tenant-submenu .tenant-nav-link{width:100%}
.tenant-horizontal-actions{display:flex;align-items:center;gap:1rem;margin-left:auto;padding-left:1rem;border-left:1px solid var(--tenant-border);flex:0 0 auto}
.tenant-horizontal-actions .tenant-sidebar-status{margin:0;white-space:nowrap}
.tenant-horizontal-actions .tenant-logout{padding:.45rem 0;white-space:nowrap}
html[data-tenant-theme=dark] .tenant-horizontal-nav{box-shadow:0 2px 10px rgba(0,0,0,.16)}
@media(max-width:991.98px){.tenant-horizontal-inner{padding:.4rem .75rem}.tenant-horizontal-actions{margin-left:.5rem;padding-left:.75rem}.tenant-horizontal-inner .tenant-submenu{position:fixed;left:.75rem;right:.75rem;top:136px}}
@media(max-width:1199.98px){.tenant-legacy-horizontal-shell .menu-horizontal .menu-inner{padding-left:1rem;padding-right:1rem}}

/* Premium tenant application skin: visual only, legacy behavior preserved. */
.tenant-app-page{background:#f5f7fb;color:#253858}
.tenant-legacy-horizontal-shell{min-height:100vh;background:#f5f7fb}
.tenant-legacy-horizontal-shell .layout-navbar{position:sticky!important;top:0;z-index:1100!important;min-height:76px;background:#fff!important;border-bottom:1px solid #e8edf4;box-shadow:0 3px 16px rgba(30,55,90,.05);overflow:visible!important}
.tenant-legacy-horizontal-shell #layout-navbar .dropdown-user{position:relative;z-index:1050!important}
.tenant-legacy-horizontal-shell #layout-navbar .dropdown-user .dropdown-menu{z-index:1060!important}
.tenant-legacy-horizontal-shell #layout-navbar .dropdown-user .dropdown-menu .dropdown-item{
  text-transform:none!important;
}
.tenant-legacy-horizontal-shell .navbar-brand{padding-left:1rem}
.tenant-legacy-horizontal-shell .navbar-brand .app-brand-link{gap:.15rem!important}
.tenant-legacy-horizontal-shell .navbar-brand .app-brand-link>span:first-child{display:flex;width:auto;max-width:170px;height:40px;overflow:visible;flex:0 1 auto;align-items:center}
.tenant-legacy-horizontal-shell .navbar-brand .tenant-navbar-logo-wrap{position:relative;display:flex;width:auto;height:40px;overflow:visible!important;flex:0 1 auto;align-items:center;padding:0;box-sizing:border-box}
.tenant-legacy-horizontal-shell .navbar-brand img{display:block;height:38px!important;width:auto!important;max-width:170px!important;object-fit:contain;object-position:left center}
.tenant-legacy-horizontal-shell .tenant-navbar-version{align-self:flex-start;margin-left:.05rem;margin-top:.28rem;color:#98a2b3;font-size:.75rem;font-weight:500;line-height:1;white-space:nowrap;letter-spacing:.01em}
.tenant-legacy-horizontal-shell #layout-navbar .text-primary{color:#5f6b7a!important}
.tenant-legacy-horizontal-shell #layout-navbar #themeModeIcon{color:#206bc4!important}
.tenant-legacy-horizontal-shell #layout-navbar #themeModeIcon{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.tenant-legacy-horizontal-shell #layout-navbar #themeModeToggle.form-check-input,.tenant-legacy-horizontal-shell #layout-navbar #themeModeToggle.form-check-input:checked{background-color:#206bc4!important;border-color:#206bc4!important}
.tenant-legacy-horizontal-shell .navbar-nav-right{min-height:76px}
.tenant-legacy-horizontal-shell .menu-horizontal{background:#fff!important;border-bottom:1px solid #e8edf4;box-shadow:0 4px 14px rgba(30,55,90,.035)}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-inner{min-height:58px;align-items:center}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-inner>.menu-item{margin-inline:.12rem}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-link{border-radius:9px;color:#667085;font-weight:500;transition:background .16s ease,color .16s ease,transform .16s ease}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-link:hover{background:#f0f6ff!important;color:#206bc4!important;transform:translateY(-1px)}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-item.active>.menu-link{background:#eaf2ff!important;color:#206bc4!important;font-weight:700}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-item.active>.menu-link{border-radius:0!important}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-toggle::after{color:#98a2b3}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-item.open>.menu-link{background:#f0f6ff;color:#206bc4}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-sub{border-radius:12px!important;padding:.5rem!important;min-width:230px;max-height:min(520px,calc(100vh - 150px));overflow-y:auto}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-sub .menu-link{border-radius:8px;padding:.62rem .75rem}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-sub-divider{height:1px;margin:.35rem .55rem;background:#e8edf4;opacity:1}
.tenant-legacy-horizontal-shell .menu-horizontal{border-top:1px solid #eef1f5}
.tenant-legacy-horizontal-shell .menu-horizontal{
  position:sticky;
  top:76px;
  min-height:58px;
  z-index:1030
}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-inner{
  min-height:58px;
  height:58px
}

/* Mobile header: keep the brand and controls inside the viewport. */
@media(max-width:767.98px){
  .tenant-legacy-horizontal-shell{overflow-x:hidden}
  .tenant-legacy-horizontal-shell .layout-navbar{
    position:sticky!important;
    top:0!important;
    z-index:1100!important;
    min-height:64px!important;
    height:64px!important;
    padding:0 .75rem!important;
    display:flex!important;
    flex-wrap:nowrap!important;
  }
  .tenant-legacy-horizontal-shell .navbar-brand{
    order:1;
    display:flex!important;
    min-width:0;
    max-width:calc(100% - 150px);
    padding-left:0!important;
    margin-right:.35rem!important;
  }
  .tenant-legacy-horizontal-shell .navbar-brand .app-brand-link{
    gap:.1rem!important;
    min-width:0;
  }
  .tenant-legacy-horizontal-shell .navbar-brand .app-brand-link>span:first-child{
    max-width:95px;
    height:32px;
  }
  .tenant-legacy-horizontal-shell .navbar-brand .tenant-navbar-logo-wrap{
    width:auto;
    flex-basis:auto;
    height:32px;
    padding:0;
  }
  .tenant-legacy-horizontal-shell .navbar-brand img{
    height:30px!important;
    width:auto!important;
    max-width:128px!important;
  }
  .tenant-legacy-horizontal-shell .tenant-navbar-version{
    margin-left:.05rem;
    margin-top:.18rem;
    font-size:.58rem;
  }
  .tenant-legacy-horizontal-shell .layout-menu-toggle{
    order:0;
    margin-right:.35rem!important;
    flex:0 0 auto!important;
  }
  .tenant-legacy-horizontal-shell .layout-menu-toggle .nav-link{
    margin-right:0!important;
    padding:.35rem!important;
  }
  .tenant-legacy-horizontal-shell .layout-menu-toggle{
    display:flex!important;
    align-items:center;
  }
  .tenant-legacy-horizontal-shell .navbar-nav-right{
    order:2;
    min-width:0;
    flex:1 1 auto;
  }
  .tenant-legacy-horizontal-shell .navbar-nav-right>.navbar-nav{
    gap:.35rem;
    min-width:0;
  }
  .tenant-legacy-horizontal-shell #layout-navbar .nav-item.me-3{
    margin-right:.15rem!important;
  }
  .tenant-legacy-horizontal-shell #layout-navbar .text-primary.me-3{
    display:none!important;
  }
  .tenant-legacy-horizontal-shell #layout-navbar .avatar{
    width:30px!important;
    height:30px!important;
  }
  .tenant-legacy-horizontal-shell #layout-navbar .navbar-dropdown{
    margin-left:0!important;
  }
  .tenant-legacy-horizontal-shell #layout-navbar .dropdown-user .dropdown-menu{
    position:fixed!important;
    top:calc(64px + .55rem)!important;
    right:.75rem!important;
    left:auto!important;
    width:max-content!important;
    min-width:190px!important;
    max-width:calc(100vw - 1.5rem)!important;
    margin:0!important;
    transform:none!important;
    z-index:2000!important;
  }
  .tenant-legacy-horizontal-shell .tenant-content{
    padding-top:.85rem!important;
    padding-right:.75rem!important;
    padding-left:.75rem!important;
  }

  .tenant-legacy-horizontal-shell #layout-menu.menu-horizontal{
    position:fixed!important;
    display:block!important;
    top:64px!important;
    bottom:0!important;
    left:0!important;
    right:auto!important;
    width:min(82vw, 292px)!important;
    height:auto!important;
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    scrollbar-width:none;
    background:#fff!important;
    border:0!important;
    border-right:1px solid #e7edf5!important;
    border-radius:0 16px 16px 0!important;
    box-shadow:12px 0 32px rgba(30,55,90,.16)!important;
    transform:translateX(-105%)!important;
    visibility:hidden!important;
    opacity:0!important;
    transition:transform .24s cubic-bezier(.22,.61,.36,1), opacity .18s ease, visibility .24s ease!important;
    z-index:1090!important;
  }
  .tenant-legacy-horizontal-shell #layout-menu.menu-horizontal.is-mobile-open{
    transform:translateX(0)!important;
    visibility:visible!important;
    opacity:1!important;
    padding:.7rem .65rem 1rem!important;
  }
  .tenant-legacy-horizontal-shell #layout-menu.menu-horizontal::-webkit-scrollbar{
    display:none;
    width:0;
  }
  .tenant-mobile-menu-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.75rem;
    min-height:48px;
    margin:0 .15rem .5rem;
    padding:.15rem .2rem .65rem;
    border-bottom:1px solid #edf1f6;
  }
  .tenant-mobile-menu-header strong{
    color:#243b5a;
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
  }
  .tenant-mobile-menu-close{
    display:grid;
    width:32px;
    height:32px;
    padding:0;
    place-items:center;
    border:1px solid #e1e8f1;
    border-radius:9px;
    background:#f7f9fc;
    color:#667085;
    cursor:pointer;
    transition:background .16s ease,color .16s ease,border-color .16s ease;
  }
  .tenant-mobile-menu-close:hover,
  .tenant-mobile-menu-close:focus-visible{
    border-color:#206bc4;
    background:#eaf2ff;
    color:#206bc4;
    outline:0;
  }
  .tenant-mobile-menu-backdrop{
    position:fixed;
    top:64px;
    right:0;
    bottom:0;
    left:0;
    z-index:1080;
    background:rgba(15, 23, 42, .28);
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
  }
  .tenant-mobile-menu-backdrop.is-visible{
    opacity:1;
    pointer-events:auto;
  }
  .tenant-legacy-horizontal-shell #layout-menu.menu-horizontal .menu-inner{
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    flex:0 0 auto!important;
    overflow:visible!important;
    min-height:0!important;
    padding:0!important;
  }
  .tenant-legacy-horizontal-shell #layout-menu.menu-horizontal.is-mobile-open .menu-inner{
    display:flex!important;
  }
  .tenant-legacy-horizontal-shell #layout-menu.menu-horizontal .menu-item{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    margin:0!important;
  }
  .tenant-legacy-horizontal-shell #layout-menu.menu-horizontal .menu-link{
    width:100%!important;
    min-height:44px!important;
    justify-content:flex-start;
    padding:.7rem .75rem!important;
    border-radius:9px!important;
  }
  .tenant-legacy-horizontal-shell #layout-menu.menu-horizontal .menu-item.active>.menu-link,
  .tenant-legacy-horizontal-shell #layout-menu.menu-horizontal .menu-item.open>.menu-link{
    background:#eaf2ff!important;
    color:#206bc4!important;
    box-shadow:0 3px 10px rgba(32,107,196,.08)!important;
  }
  .tenant-legacy-horizontal-shell #layout-menu.menu-horizontal .menu-sub .menu-link{
    min-height:40px!important;
    padding-left:1.15rem!important;
    font-size:.82rem;
  }
  .tenant-legacy-horizontal-shell #layout-menu.menu-horizontal .menu-sub{
    position:static!important;
    display:none!important;
    width:100%!important;
    max-height:none!important;
    overflow:visible!important;
    scrollbar-width:none;
    padding:.2rem .35rem .35rem!important;
    border:0!important;
    box-shadow:none!important;
  }
  .tenant-legacy-horizontal-shell #layout-menu.menu-horizontal.is-mobile-open .menu-sub{
    display:block!important;
  }
  .tenant-legacy-horizontal-shell #layout-menu.menu-horizontal .menu-item.open>.menu-sub{
    display:block!important;
  }
  .tenant-legacy-horizontal-shell #layout-menu.menu-horizontal .menu-sub::-webkit-scrollbar{
    display:none;
    width:0;
  }
}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-link>.ti{
  display:inline-block!important;
  flex:0 0 1.25rem;
  width:1.25rem;
  min-width:1.25rem;
  visibility:visible!important;
  opacity:1!important
}
html{
  scrollbar-gutter:stable
}
.tenant-mobile-menu-header{display:none}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-link,
.tenant-legacy-horizontal-shell .menu-horizontal .menu-link:hover,
.tenant-legacy-horizontal-shell .menu-horizontal .menu-item.active>.menu-link,
.tenant-legacy-horizontal-shell .menu-horizontal .menu-item.open>.menu-link{
  transform:none!important;
  transition:background-color .16s ease,color .16s ease,box-shadow .16s ease!important
}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-item.active>.menu-link,
.tenant-legacy-horizontal-shell .menu-horizontal .menu-item.open>.menu-link{
  min-height:38px
}
.tenant-legacy-horizontal-shell .tenant-content{padding-top:1.75rem;padding-bottom:2.5rem}
.tenant-legacy-horizontal-shell #dashboardContent{max-width:1440px;margin:0 auto}
.tenant-legacy-horizontal-shell #dashboardContent .card{border:1px solid #e8edf4;border-radius:16px;box-shadow:0 8px 24px rgba(30,55,90,.06)}
.tenant-legacy-horizontal-shell #dashboardContent .dashboard-metric-card:hover{box-shadow:0 12px 28px rgba(30,55,90,.1);transform:translateY(-2px);transition:box-shadow .18s ease,transform .18s ease}
.tenant-legacy-horizontal-shell #dashboardContent .dashboard-table-card{overflow:hidden}
.tenant-legacy-horizontal-shell .content-footer{background:#fff;border-top:1px solid #e8edf4;color:#667085}
.tenant-legacy-horizontal-shell .content-footer a{color:#206bc4}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell,html[data-tenant-theme=dark] .tenant-app-page{background:#111827;color:#e5e7eb}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .layout-navbar,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .menu-horizontal,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .content-footer{background:#182230!important;border-color:#344255}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .menu-horizontal .menu-link{color:#b7c4d6}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .menu-horizontal .menu-link:hover,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .menu-horizontal .menu-item.active>.menu-link{background:#24364d!important;color:#a9c9ff!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell #dashboardContent .card{border-color:#344255;box-shadow:0 8px 24px rgba(0,0,0,.18)}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .content-footer{color:#aab6c6}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .tenant-navbar-version{color:#9aaabd}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .menu-horizontal .menu-sub-divider{background:#344255}

/* Legacy table presentation retained inside the Tabler tenant shell. */
.tenant-legacy-horizontal-shell .pageTitle{color:#737489;font-size:1.25rem;font-weight:500;letter-spacing:.01em}
.tenant-legacy-horizontal-shell .btn-primary{background:#206bc4;border-color:#206bc4;box-shadow:0 2px 5px rgba(32,107,196,.16)}
.tenant-legacy-horizontal-shell .btn-primary:hover{background:#1859a8;border-color:#1859a8;box-shadow:0 4px 10px rgba(32,107,196,.22)}
.tenant-legacy-horizontal-shell .btn-primary,
.tenant-legacy-horizontal-shell .btn-primary:hover,
.tenant-legacy-horizontal-shell .btn-primary:focus,
.tenant-legacy-horizontal-shell .btn-primary:active,
.tenant-legacy-horizontal-shell .btn-primary.active,
.tenant-legacy-horizontal-shell .btn-primary .ti,
.tenant-legacy-horizontal-shell .btn-primary i,
.tenant-legacy-horizontal-shell .btn-primary span,
.tenant-legacy-horizontal-shell .btn.bg-primary,
.tenant-legacy-horizontal-shell .btn.bg-primary:hover,
.tenant-legacy-horizontal-shell .btn.bg-primary:focus,
.tenant-legacy-horizontal-shell .btn.bg-primary:active{
  color:#fff!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper{color:#737489}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_length,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_filter{margin-bottom:1rem}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_length select,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_filter input{border:1px solid #d9dee7;border-radius:5px;background:#fff;color:#667085;min-height:30px}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_filter input{margin-left:.55rem;padding:.35rem .65rem}
.tenant-legacy-horizontal-shell table.dataTable{border:1px solid #d8dde6;border-collapse:collapse!important;color:#737489}
.tenant-legacy-horizontal-shell table.dataTable thead th{background:#f8f9fb;color:#686a7c;border-bottom:1px solid #d8dde6!important;font-size:.72rem;font-weight:600;letter-spacing:.045em;text-transform:uppercase}
.tenant-legacy-horizontal-shell table.dataTable tbody td{border:1px solid #d8dde6;padding:.72rem .65rem}
.tenant-legacy-horizontal-shell table.dataTable.table-striped>tbody>tr:nth-of-type(odd)>*{background:#e9ebef;color:#737489}
.tenant-legacy-horizontal-shell table.dataTable.table-striped>tbody>tr:nth-of-type(even)>*{background:#f8f9fb;color:#737489}
.tenant-legacy-horizontal-shell table.dataTable.table-hover>tbody>tr:hover>*{background:#e3efff;color:#435971}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button{border-radius:5px!important;color:#667085!important;border:1px solid transparent!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{background:#206bc4!important;border-color:#206bc4!important;color:#fff!important}
.tenant-legacy-horizontal-shell .dt-buttons .btn,.tenant-legacy-horizontal-shell .dt-buttons .dt-button{border-radius:5px;padding:.35rem .65rem;font-size:.78rem}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .pageTitle,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper{color:#aeb7c8}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_length select,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_filter input{background:#182230;border-color:#40516a;color:#dce6f5}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell table.dataTable{border-color:#40516a;color:#dce6f5}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell table.dataTable thead th{background:#202d3d;color:#c9d5e4;border-color:#40516a!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell table.dataTable tbody td{border-color:#40516a}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell table.dataTable.table-striped>tbody>tr:nth-of-type(odd)>*{background:#202a39;color:#dce6f5}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell table.dataTable.table-striped>tbody>tr:nth-of-type(even)>*{background:#182230;color:#dce6f5}
html[data-tenant-theme=light] .tenant-legacy-horizontal-shell #dashboardContent .bg-label-primary{background:#eaf2ff!important;color:#206bc4!important}
html[data-tenant-theme=light] .tenant-legacy-horizontal-shell #dashboardContent .bg-label-success{background:#e2f7ec!important;color:#159957!important}
html[data-tenant-theme=light] .tenant-legacy-horizontal-shell #dashboardContent .bg-label-warning{background:#fff1d6!important;color:#b36b00!important}
html[data-tenant-theme=light] .tenant-legacy-horizontal-shell #dashboardContent .bg-label-secondary{background:#edf0f3!important;color:#667085!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell #dashboardContent .bg-label-primary{background:#24364d!important;color:#a9c9ff!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell #dashboardContent .bg-label-success{background:#153d32!important;color:#86efac!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell #dashboardContent .bg-label-warning{background:#4b3b1e!important;color:#facc75!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell #dashboardContent .bg-label-secondary{background:#344255!important;color:#dce6f5!important}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-item.active>.menu-link,.tenant-legacy-horizontal-shell .menu-horizontal .menu-item.open>.menu-link{border-radius:9px!important;background:#eef5ff!important;box-shadow:0 3px 9px rgba(32,107,196,.16)}
.tenant-legacy-horizontal-shell .tenant-content{padding-top:2.75rem}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .menu-horizontal .menu-item.active>.menu-link,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .menu-horizontal .menu-item.open>.menu-link{background:#24364d!important;box-shadow:0 3px 10px rgba(0,0,0,.2)}

/* Flat UI: remove rounded corners from interface surfaces. */
.tenant-legacy-horizontal-shell .card,
.tenant-legacy-horizontal-shell .btn,
.tenant-legacy-horizontal-shell .form-control,
.tenant-legacy-horizontal-shell .form-select,
.tenant-legacy-horizontal-shell .input-group-text,
.tenant-legacy-horizontal-shell .dropdown-menu,
.tenant-legacy-horizontal-shell .modal-content,
.tenant-legacy-horizontal-shell .alert,
.tenant-legacy-horizontal-shell .table,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
.tenant-legacy-horizontal-shell .menu-horizontal .menu-link,
.tenant-legacy-horizontal-shell .menu-horizontal .menu-sub,
.tenant-legacy-horizontal-shell .menu-horizontal .menu-sub .menu-link,
.tenant-legacy-horizontal-shell .badge,
.tenant-legacy-horizontal-shell .rounded,
.tenant-legacy-horizontal-shell .rounded-top,
.tenant-legacy-horizontal-shell .rounded-end,
.tenant-legacy-horizontal-shell .rounded-bottom,
.tenant-legacy-horizontal-shell .rounded-start{border-radius:0!important}
.tenant-legacy-horizontal-shell .badge{border-radius:999px!important}
.tenant-legacy-horizontal-shell .menu-horizontal .menu-item.active>.menu-link,.tenant-legacy-horizontal-shell .menu-horizontal .menu-item.open>.menu-link{border-radius:0!important;box-shadow:0 3px 4px rgba(32,107,196,.22);transform:translateY(-1px)}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .menu-horizontal .menu-item.active>.menu-link,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .menu-horizontal .menu-item.open>.menu-link{box-shadow:0 3px 5px rgba(0,0,0,.38)}

/* Type/DataTable legacy view alignment. */
.tenant-legacy-horizontal-shell #mycontainer{max-width:none}
.tenant-legacy-horizontal-shell #mycontainer .pageTitle{margin-top:.2rem;margin-bottom:1.7rem;font-size:1.25rem;color:#6f7082}
.tenant-legacy-horizontal-shell #mycontainer .dataTables_wrapper{font-size:.86rem}
.tenant-legacy-horizontal-shell #mycontainer .dataTables_wrapper .dataTables_length select{min-width:74px;height:30px;padding:.25rem .55rem}
.tenant-legacy-horizontal-shell #mycontainer .dataTables_wrapper .dataTables_length select{appearance:auto;-webkit-appearance:auto;width:76px;padding-right:1.4rem;cursor:pointer}
.tenant-legacy-horizontal-shell #mycontainer .dataTables_wrapper .dataTables_filter input{width:170px;height:32px}
.tenant-legacy-horizontal-shell #mycontainer table.dataTable thead th{text-align:center;padding:.8rem .65rem;color:#66697b}
.tenant-legacy-horizontal-shell #mycontainer table.dataTable tbody td{height:57px;padding:.7rem .65rem;color:#6d7080}
.tenant-legacy-horizontal-shell #mycontainer table.dataTable.table-striped>tbody>tr:nth-of-type(odd)>*{background:#dfe1e6;color:#6d7080}
.tenant-legacy-horizontal-shell #mycontainer table.dataTable.table-striped>tbody>tr:nth-of-type(even)>*{background:#f8f9fb;color:#6d7080}
.tenant-legacy-horizontal-shell #mycontainer table.dataTable tbody tr.dt-table-row-selected>*{background:#cbd9ea!important;color:#4e6580}
.tenant-legacy-horizontal-shell #mycontainer #tblType thead th:nth-child(1),.tenant-legacy-horizontal-shell #mycontainer #tblType tbody td:nth-child(1){width:10%}
.tenant-legacy-horizontal-shell #mycontainer #tblType thead th:nth-child(2),.tenant-legacy-horizontal-shell #mycontainer #tblType tbody td:nth-child(2){width:22%}
.tenant-legacy-horizontal-shell #mycontainer #tblType thead th:nth-child(3),.tenant-legacy-horizontal-shell #mycontainer #tblType tbody td:nth-child(3){width:48%}
.tenant-legacy-horizontal-shell #mycontainer #tblType thead th:nth-child(6),.tenant-legacy-horizontal-shell #mycontainer #tblType tbody td:nth-child(6){width:20%}
.tenant-legacy-horizontal-shell select.form-select,.tenant-legacy-horizontal-shell select.form-control,.tenant-legacy-horizontal-shell select:not([multiple]):not([size]){appearance:auto;-webkit-appearance:auto;background-image:none!important;cursor:pointer;padding-right:2rem}
.tenant-legacy-horizontal-shell select.form-select option,.tenant-legacy-horizontal-shell select.form-control option{background:#fff;color:#344054}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell select.form-select option,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell select.form-control option{background:#182230;color:#e5e7eb}
.tenant-legacy-horizontal-shell #mycontainer .btn-dot{background:transparent;border:0;color:#6d7080;padding:.15rem .5rem;box-shadow:none}
.tenant-legacy-horizontal-shell #mycontainer .btn-dot:hover{background:#e7edf5;color:#206bc4}
.tenant-legacy-horizontal-shell #mycontainer .dropdown-menu{min-width:160px;padding:.45rem 0;border:1px solid #e0e4eb;box-shadow:0 8px 18px rgba(30,41,59,.15)}
.tenant-legacy-horizontal-shell #mycontainer .dropdown-item{padding:.55rem 1rem;color:#5f6b7a}
.tenant-legacy-horizontal-shell #mycontainer .dropdown-item:hover{background:#eef5ff;color:#206bc4}

/* Premium DataTable surface. */
.tenant-legacy-horizontal-shell .dataTables_wrapper{padding:1.15rem 1.2rem 1rem;background:#fff;border:1px solid #e1e6ee;box-shadow:0 5px 16px rgba(30,55,90,.055)}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_length,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_filter{display:flex;align-items:center;min-height:34px;color:#697386;font-size:.8rem;font-weight:500}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_filter{justify-content:flex-end}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_filter label{display:flex;align-items:center;gap:.35rem}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_filter,
.tenant-legacy-horizontal-shell .dataTables_wrapper .toolbox{display:flex!important;align-items:center;min-height:34px;margin-bottom:1rem!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_filter{float:right!important;width:auto!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .toolbox{float:left!important;width:auto!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper>table{clear:both!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_filter input{margin-left:.3rem!important;border-color:#d6dde7;box-shadow:0 1px 2px rgba(30,55,90,.04);transition:border-color .15s ease,box-shadow .15s ease}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_filter input:focus{border-color:#78a9e8;box-shadow:0 0 0 3px rgba(32,107,196,.12);outline:0}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_length select:focus{border-color:#78a9e8;box-shadow:0 0 0 3px rgba(32,107,196,.12);outline:0}
.tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable{margin-top:1rem!important;margin-bottom:1rem!important;box-shadow:0 1px 0 #d8dee8}
.tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable thead th{height:48px;vertical-align:middle;font-size:.7rem;letter-spacing:.06em}
.tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable tbody td{font-size:.84rem;vertical-align:middle}
.tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable tbody tr{transition:background-color .12s ease}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_info{padding-top:.7rem;color:#7a8494;font-size:.76rem}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate{padding-top:.4rem}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button{min-width:30px;height:30px;padding:.35rem .55rem!important;margin-left:.15rem;color:#697386!important;font-size:.76rem;line-height:1.2}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover{background:#eef5ff!important;border-color:#c9dcf5!important;color:#206bc4!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled{opacity:.45}
.tenant-legacy-horizontal-shell .modal-content{border-radius:12px!important;overflow:hidden}
.tenant-legacy-horizontal-shell .modal{z-index:1200!important}
.tenant-legacy-horizontal-shell .modal-backdrop{z-index:1190!important}
.tenant-legacy-horizontal-shell .modal-header{
  display:flex!important;
  align-items:center!important;
  min-height:60px!important;
  padding:1rem 1.5rem!important;
  background:#fff!important;
  color:#344054!important;
  border-bottom:1px solid #e5eaf1!important;
}
.tenant-legacy-horizontal-shell .modal-header .modal-title{
  display:block!important;
  margin:0!important;
  color:#344054!important;
  font-size:1rem!important;
  font-weight:700!important;
  line-height:1.4!important;
}
.tenant-legacy-horizontal-shell .modal-header .btn-close{
  display:block!important;
  flex:0 0 auto;
  margin-left:auto!important;
  opacity:.7;
}
/* Keep the horizontal shell fixed when Bootstrap locks the page behind a modal. */
body.modal-open{overflow-y:scroll!important;padding-right:0!important}
body.modal-open .modal{padding-right:0!important}
body.modal-open .tenant-legacy-horizontal-shell{padding-right:0!important}
body.swal2-shown{overflow-y:scroll!important;padding-right:0!important}
body.swal2-shown .tenant-legacy-horizontal-shell{padding-right:0!important}
.swal2-container{padding-right:0!important}
.tenant-legacy-horizontal-shell .progress-fisik-modal-dialog{width:calc(100% - 2rem);max-width:720px}
.tenant-legacy-horizontal-shell .progress-fisik-modal .modal-header{min-height:60px;padding:1.05rem 1.5rem;border-bottom:1px solid #e5e9f0;background:#fff}
.tenant-legacy-horizontal-shell .progress-fisik-modal .modal-title{font-size:1rem;font-weight:700;color:#26364d}
.tenant-legacy-horizontal-shell .progress-fisik-modal .modal-body{min-height:242px;padding:4rem 3rem 3.5rem!important;background:#fff}
.tenant-legacy-horizontal-shell .progress-fisik-modal .modal-body .form-label{display:block;margin-bottom:.45rem;color:#667085;font-size:.8rem;font-weight:500}
.tenant-legacy-horizontal-shell .progress-fisik-modal .modal-body .form-select{height:38px}
.tenant-legacy-horizontal-shell .progress-fisik-modal .modal-body .float-end{margin-top:1.5rem!important;margin-bottom:0!important}
.tenant-legacy-horizontal-shell .progress-fisik-modal .modal-body .btn{min-width:76px}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .progress-fisik-modal .modal-header,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .progress-fisik-modal .modal-body{background:#182230;border-color:#344255}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .progress-fisik-modal .modal-title{color:#e5e7eb}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .progress-fisik-modal .modal-body .form-label{color:#aeb9ca}

/* Final DataTables pagination normalization. */
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate{
  display:none!important;
  align-items:center!important;
  gap:4px!important;
  white-space:nowrap
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:focus{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d9e2ee!important;
  border-radius:6px!important;
  background:#fff!important;
  background-image:none!important;
  color:#667085!important;
  font-size:.78rem!important;
  line-height:1!important;
  box-shadow:0 1px 2px rgba(30,55,90,.04)!important;
  transform:none!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current):not(.active):not(.disabled){
  background:#eaf2ff!important;
  border-color:#b9d3f2!important;
  color:#206bc4!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{
  background:#206bc4!important;
  border-color:#206bc4!important;
  color:#fff!important;
  box-shadow:0 2px 5px rgba(32,107,196,.2)!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{
  background:#f5f6f8!important;
  border-color:#edf0f4!important;
  color:#b5bdc9!important;
  opacity:1!important;
  box-shadow:none!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next{
  position:relative!important;
  overflow:hidden!important;
  color:transparent!important;
  font-size:0!important;
  text-indent:-9999px!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next::before{
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#667085!important;
  font-size:1.15rem!important;
  font-weight:500!important;
  line-height:1!important;
  text-indent:0!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before{content:'‹'!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next::before{content:'›'!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:focus{
  background:#1f2c3b!important;
  border-color:#40516a!important;
  color:#c4d0df!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{
  background:#206bc4!important;
  border-color:#206bc4!important;
  color:#fff!important
}

/* Final pagination normalization. */
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate{display:flex!important;align-items:center!important;gap:4px!important;white-space:nowrap}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:focus{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;min-width:34px!important;height:34px!important;margin:0!important;padding:0!important;border:1px solid #d9e2ee!important;border-radius:6px!important;background:#fff!important;background-image:none!important;color:#667085!important;font-size:.78rem!important;line-height:1!important;box-shadow:0 1px 2px rgba(30,55,90,.04)!important;transform:none!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current):not(.active):not(.disabled){background:#eaf2ff!important;border-color:#b9d3f2!important;color:#206bc4!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{background:#206bc4!important;border-color:#206bc4!important;color:#fff!important;box-shadow:0 2px 5px rgba(32,107,196,.2)!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{background:#f5f6f8!important;border-color:#edf0f4!important;color:#b5bdc9!important;opacity:1!important;box-shadow:none!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next{position:relative!important;overflow:hidden!important;color:transparent!important;font-size:0!important;text-indent:-9999px!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next::before{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#667085!important;font-size:1.15rem!important;font-weight:500!important;line-height:1!important;text-indent:0!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before{content:'‹'!important}.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next::before{content:'›'!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:focus{background:#1f2c3b!important;border-color:#40516a!important;color:#c4d0df!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{background:#206bc4!important;border-color:#206bc4!important;color:#fff!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{background:#24303e!important;border-color:#344255!important;color:#7f8da1!important}

/* Final spinner override: keep legacy page rules from changing the tenant loader. */
.tenant-app-page .spinner-border,
.tenant-auth-page .spinner-border,
.tenant-legacy-horizontal-shell #loading-image .spinner-border,
.tenant-legacy-horizontal-shell #tableLoading .spinner-border,
#tenantPageLoadingOverlay .dashboard-spinner{
  border-style:solid!important;
  border-color:#dce8f6!important;
  border-right-color:#0b4f93!important;
  border-radius:50%!important;
  animation:tenant-spinner-rotate .8s linear infinite!important;
}
.tenant-app-page .spinner-border:not(.spinner-border-sm),
.tenant-auth-page .spinner-border:not(.spinner-border-sm),
.tenant-legacy-horizontal-shell #loading-image .spinner-border:not(.spinner-border-sm),
.tenant-legacy-horizontal-shell #tableLoading .spinner-border:not(.spinner-border-sm),
#tenantPageLoadingOverlay .dashboard-spinner{
  width:2.5rem!important;height:2.5rem!important;border-width:.28rem!important;
}
.tenant-app-page .spinner-border.spinner-border-sm,
.tenant-auth-page .spinner-border.spinner-border-sm{
  width:1.05rem!important;height:1.05rem!important;border-width:.18rem!important;
}
body.tenant-app-page .dataTables_wrapper div.dataTables_processing::before{
  border-color:#dce8f6!important;
  border-right-color:#0b4f93!important;
  animation:tenant-spinner-rotate .8s linear infinite!important;
}
html[data-tenant-theme=dark] .tenant-app-page .spinner-border,
html[data-tenant-theme=dark] .tenant-auth-page .spinner-border,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell #loading-image .spinner-border,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell #tableLoading .spinner-border,
html[data-tenant-theme=dark] #tenantPageLoadingOverlay .dashboard-spinner,
html[data-tenant-theme=dark] body.tenant-app-page .dataTables_wrapper div.dataTables_processing::before{
  border-color:#40516a!important;
  border-right-color:#8fc0ff!important;
}

/* Global modal table striping: never allow Bootstrap to restore white rows. */
html[data-tenant-theme=dark] .modal .table-striped > tbody > tr:nth-of-type(odd) > *,
html[data-tenant-theme=dark] .modal .table-striped > tbody > tr:nth-of-type(even) > *,
html[data-tenant-theme=dark] .modal .table-hover > tbody > tr:hover > *{
  color:#dce2f1!important;
  background:#2f3349!important;
  border-color:#4b5068!important;
}
html[data-tenant-theme=dark] .modal .table-striped > tbody > tr > td:first-child{
  color:#aeb7cc!important;
  background:#292d42!important;
}

/* Global tenant dark-theme normalization for shared page components. */
html[data-tenant-theme=dark] body.tenant-app-page .card,
html[data-tenant-theme=dark] body.tenant-app-page .card-header,
html[data-tenant-theme=dark] body.tenant-app-page .card-body,
html[data-tenant-theme=dark] body.tenant-app-page .table-responsive,
html[data-tenant-theme=dark] body.tenant-app-page .dataTables_wrapper{
  color:#e5e7eb!important;
  background:#182230!important;
  border-color:#344255!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .form-control,
html[data-tenant-theme=dark] body.tenant-app-page .form-select,
html[data-tenant-theme=dark] body.tenant-app-page textarea,
html[data-tenant-theme=dark] body.tenant-app-page .input-group-text{
  color:#e5e7eb!important;
  background:#202d3d!important;
  border-color:#40516a!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .form-control::placeholder,
html[data-tenant-theme=dark] body.tenant-app-page textarea::placeholder{
  color:#7f8da1!important;
  opacity:1!important;
}
html[data-tenant-theme=dark] body.tenant-app-page label,
html[data-tenant-theme=dark] body.tenant-app-page .form-label,
html[data-tenant-theme=dark] body.tenant-app-page .pageTitle,
html[data-tenant-theme=dark] body.tenant-app-page .text-muted,
html[data-tenant-theme=dark] body.tenant-app-page small{
  color:#aeb9ca!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .dropdown-menu,
html[data-tenant-theme=dark] body.tenant-app-page .list-group-item{
  color:#dce6f5!important;
  background:#182230!important;
  border-color:#344255!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .dropdown-item{
  color:#dce6f5!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .dropdown-item:hover,
html[data-tenant-theme=dark] body.tenant-app-page .dropdown-item:focus{
  color:#fff!important;
  background:#24364d!important;
}

/* Final dark-mode pass for every info/detail modal, including modals whose
   table is placed directly under .modal-content without a .modal-body. */
html[data-tenant-theme=dark] .modal .modal-content,
html[data-tenant-theme=dark] .modal .modal-header,
html[data-tenant-theme=dark] .modal .modal-footer{
  color:#e5e9f4!important;
  background:#2f3349!important;
  border-color:#4b5068!important;
}
html[data-tenant-theme=dark] .modal .modal-body,
html[data-tenant-theme=dark] .modal > .table-responsive,
html[data-tenant-theme=dark] .modal .table-responsive{
  color:#dce2f1!important;
  background:#292d42!important;
}
html[data-tenant-theme=dark] .modal .tableModal,
html[data-tenant-theme=dark] .modal .table-modal,
html[data-tenant-theme=dark] .modal .property-detail-table,
html[data-tenant-theme=dark] .modal .type-detail-table,
html[data-tenant-theme=dark] .modal .tableModal tbody,
html[data-tenant-theme=dark] .modal .table-modal tbody,
html[data-tenant-theme=dark] .modal .property-detail-table tbody,
html[data-tenant-theme=dark] .modal .type-detail-table tbody{
  color:#dce2f1!important;
  background:#2f3349!important;
  border-color:#4b5068!important;
}
html[data-tenant-theme=dark] .modal .tableModal td,
html[data-tenant-theme=dark] .modal .table-modal td,
html[data-tenant-theme=dark] .modal .property-detail-table td,
html[data-tenant-theme=dark] .modal .type-detail-table td{
  color:#dce2f1!important;
  background:#2f3349!important;
  border-color:#4b5068!important;
}
html[data-tenant-theme=dark] .modal .tableModal td:first-child,
html[data-tenant-theme=dark] .modal .table-modal td:first-child,
html[data-tenant-theme=dark] .modal .property-detail-table td:first-child,
html[data-tenant-theme=dark] .modal .type-detail-table td:first-child{
  color:#aeb7cc!important;
  background:#292d42!important;
}
html[data-tenant-theme=dark] .modal .tableModal td:last-child,
html[data-tenant-theme=dark] .modal .tableModal td:last-child span,
html[data-tenant-theme=dark] .modal .table-modal td:last-child,
html[data-tenant-theme=dark] .modal .table-modal td:last-child span,
html[data-tenant-theme=dark] .modal .property-detail-table td:last-child,
html[data-tenant-theme=dark] .modal .property-detail-table td:last-child span,
html[data-tenant-theme=dark] .modal .type-detail-table td:last-child,
html[data-tenant-theme=dark] .modal .type-detail-table td:last-child span{
  color:#f0f3fa!important;
}

/* Dark theme for legacy horizontal modals. Some pages use the data attribute
   without adding the legacy dark-style class, so keep modal controls readable
   under both theme implementations. */
html[data-tenant-theme=dark] body.tenant-app-page .modal .modal-content,
html[data-tenant-theme=dark] body.tenant-app-page .modal .modal-header,
html[data-tenant-theme=dark] body.tenant-app-page .modal .modal-footer{
  color:#e5e9f4!important;
  background:#2f3349!important;
  border-color:#4b5068!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .modal .modal-body{
  color:#dce2f1!important;
  background:#292d42!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .modal .modal-title,
html[data-tenant-theme=dark] body.tenant-app-page .modal label,
html[data-tenant-theme=dark] body.tenant-app-page .modal .form-label,
html[data-tenant-theme=dark] body.tenant-app-page .modal p,
html[data-tenant-theme=dark] body.tenant-app-page .modal small,
html[data-tenant-theme=dark] body.tenant-app-page .modal .text-muted{
  color:#e5e9f4!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .modal .btn-close{
  filter:invert(1) grayscale(1) brightness(1.8)!important;
  opacity:.85;
}
html[data-tenant-theme=dark] body.tenant-app-page .modal .form-control,
html[data-tenant-theme=dark] body.tenant-app-page .modal .form-select,
html[data-tenant-theme=dark] body.tenant-app-page .modal textarea,
html[data-tenant-theme=dark] body.tenant-app-page .modal .input-group-text{
  color:#e5e9f4!important;
  background-color:#34394f!important;
  border-color:#59617a!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .modal .form-control::placeholder,
html[data-tenant-theme=dark] body.tenant-app-page .modal textarea::placeholder{
  color:#aeb7cc!important;
  opacity:1!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .modal .form-control:focus,
html[data-tenant-theme=dark] body.tenant-app-page .modal .form-select:focus,
html[data-tenant-theme=dark] body.tenant-app-page .modal textarea:focus{
  color:#fff!important;
  background-color:#3a4058!important;
  border-color:#8fc0ff!important;
  box-shadow:0 0 0 .2rem rgba(139,150,255,.18)!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .modal table,
html[data-tenant-theme=dark] body.tenant-app-page .modal table thead th,
html[data-tenant-theme=dark] body.tenant-app-page .modal table tbody td{
  color:#dce2f1!important;
  background:#2f3349!important;
  border-color:#4b5068!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .modal table thead th{
  color:#aeb7cc!important;
  background:#292d42!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .modal .dropdown-menu,
html[data-tenant-theme=dark] body.tenant-app-page .modal .select2-dropdown{
  color:#e5e9f4!important;
  background:#2f3349!important;
  border-color:#59617a!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .modal .dropdown-item,
html[data-tenant-theme=dark] body.tenant-app-page .modal .select2-results__option{
  color:#dce2f1!important;
}
html[data-tenant-theme=dark] body.tenant-app-page .modal .dropdown-item:hover,
html[data-tenant-theme=dark] body.tenant-app-page .modal .select2-results__option--highlighted{
  color:#fff!important;
  background:#3a4058!important;
}

/* Mobile DataTables: keep every table inside its card and make wide data swipeable. */
@media(max-width:767.98px){
  html,body.tenant-app-page,
  body.tenant-app-page .tenant-legacy-horizontal-shell{
    max-width:100%;
    overflow-x:hidden!important;
  }

  body.tenant-app-page .dataTables_wrapper{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-bottom:1.25rem!important;
    overflow:visible!important;
  }

  /* Existing table-responsive wrappers and DataTables scroll containers share
     one consistent mobile interaction: horizontal swipe, no page overflow. */
  body.tenant-app-page .dataTables_wrapper .table-responsive,
  body.tenant-app-page .dataTables_wrapper .dataTables_scroll,
  body.tenant-app-page .dataTables_wrapper .dataTables_scrollHead,
  body.tenant-app-page .dataTables_wrapper .dataTables_scrollBody,
  body.tenant-app-page .dataTables_wrapper > .table-responsive,
  body.tenant-app-page .dataTables_wrapper > .dataTables_scroll{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:visible!important;
    overflow-y:hidden!important;
  }
  body.tenant-app-page .tenant-datatable-host{
    margin-top:1rem!important;
    overflow-x:visible!important;
    overflow-y:visible!important;
  }
  body.tenant-app-page .table-responsive:has(.dataTables_wrapper){
    overflow-x:visible!important;
    overflow-y:visible!important;
  }

  body.tenant-app-page .dataTables_wrapper .tenant-datatable-scroll{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-top:.85rem!important;
    margin-left:0!important;
    margin-right:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    border-radius:10px;
    scrollbar-color:#b8c9dc transparent;
  }

  body.tenant-app-page .dataTables_wrapper .tenant-datatable-scroll > table.dataTable{
    width:max-content!important;
    min-width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    table-layout:auto!important;
  }

  body.tenant-app-page .dataTables_wrapper table.dataTable thead th,
  body.tenant-app-page .dataTables_wrapper table.dataTable tbody td{
    white-space:nowrap;
  }

  /* Keep long text usable without forcing the whole page wider. */
  body.tenant-app-page .dataTables_wrapper table.dataTable tbody td .text-wrap,
  body.tenant-app-page .dataTables_wrapper table.dataTable tbody td.text-wrap{
    white-space:normal!important;
    min-width:8rem;
  }

  /* DataTables controls become a compact vertical stack on narrow screens. */
  body.tenant-app-page .dataTables_wrapper > .row,
  body.tenant-app-page .dataTables_wrapper .row.dt-row{
    --bs-gutter-x:.5rem;
    --bs-gutter-y:.5rem;
  }
  body.tenant-app-page .dataTables_wrapper .dataTables_length,
  body.tenant-app-page .dataTables_wrapper .dataTables_filter,
  body.tenant-app-page .dataTables_wrapper .dataTables_info,
  body.tenant-app-page .dataTables_wrapper .dataTables_paginate{
    float:none!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    text-align:left!important;
  }
  /* Safety net for legacy pages whose outer host still participates in
     horizontal scrolling: keep DataTables controls visually fixed. */
  body.tenant-app-page .dataTables_wrapper .dataTables_length,
  body.tenant-app-page .dataTables_wrapper .dataTables_filter{
    position:sticky!important;
    left:0!important;
    z-index:4!important;
    background:#fff!important;
  }
  html[data-tenant-theme=dark] body.tenant-app-page .dataTables_wrapper .dataTables_length,
  html[data-tenant-theme=dark] body.tenant-app-page .dataTables_wrapper .dataTables_filter{
    background:#182230!important;
  }
  body.tenant-app-page .dataTables_wrapper .dataTables_filter label{
    display:flex!important;
    align-items:center;
    gap:.4rem;
    width:100%;
    margin:0!important;
  }
  body.tenant-app-page .dataTables_wrapper > .top,
  body.tenant-app-page .dataTables_wrapper > .bottom,
  body.tenant-app-page .dataTables_wrapper > .top > .row,
  body.tenant-app-page .dataTables_wrapper > .bottom > .row{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    overflow:visible!important;
  }
  body.tenant-app-page .dataTables_wrapper > .top > .row > [class*="col-"],
  body.tenant-app-page .dataTables_wrapper > .bottom > .row > [class*="col-"],
  body.tenant-app-page .dataTables_wrapper > .top > .row > .col,
  body.tenant-app-page .dataTables_wrapper > .bottom > .row > .col{
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body.tenant-app-page .dataTables_wrapper .dataTables_filter{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    justify-content:flex-start!important;
  }
  body.tenant-app-page .dataTables_wrapper .dataTables_length,
  body.tenant-app-page .dataTables_wrapper .dataTables_filter{
    width:100%!important;
    min-width:100%!important;
    margin-bottom:.7rem!important;
  }
  body.tenant-app-page .dataTables_wrapper .dataTables_length label{
    display:flex!important;
    align-items:center;
    gap:.45rem;
    width:100%!important;
  }
  body.tenant-app-page .dataTables_wrapper .dataTables_length select{
    flex:1 1 auto;
    width:100%!important;
    min-width:0!important;
  }
  body.tenant-app-page .dataTables_wrapper .dataTables_filter input{
    flex:1 1 auto;
    min-width:0;
    width:auto!important;
    max-width:none!important;
    margin-left:0!important;
  }
  body.tenant-app-page .dataTables_wrapper .dataTables_length select{
    max-width:100%;
  }
  body.tenant-app-page .dataTables_wrapper .dataTables_info{
    padding-top:.55rem!important;
    white-space:normal!important;
  }
  body.tenant-app-page .dataTables_wrapper .dataTables_paginate{
    display:flex!important;
    justify-content:flex-start!important;
    flex-wrap:wrap;
    gap:.25rem!important;
    padding-top:.55rem!important;
    white-space:normal!important;
  }
  body.tenant-app-page .dataTables_wrapper .dataTables_paginate .paginate_button{
    flex:0 0 auto;
  }

}

.tenant-legacy-horizontal-shell .dataTables_wrapper div.dataTables_processing .tenant-datatable-spinner{
  display:inline-block;
  width:1.75rem;
  height:1.75rem;
  border:.2rem solid #dce8f6;
  border-right-color:#0b4f93;
  border-radius:50%;
  animation:tenant-spinner-rotate .8s linear infinite;
}

.tenant-legacy-horizontal-shell .dataTables_wrapper div.dataTables_processing:has(.tenant-datatable-spinner)::before{
  display:none!important;
  content:none!important;
}

html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper div.dataTables_processing .tenant-datatable-spinner{
  border-color:#40516a;
  border-right-color:#8fc0ff;
}

/* One spinner system for tenant pages, buttons, and DataTables. */
@keyframes tenant-spinner-rotate{
  from{transform:translateZ(0) rotate(0deg)}
  to{transform:translateZ(0) rotate(360deg)}
}

.tenant-app-page .spinner-border,
.tenant-auth-page .spinner-border,
.tenant-legacy-horizontal-shell #loading-image .spinner-border,
.tenant-legacy-horizontal-shell #tableLoading .spinner-border,
#tenantPageLoadingOverlay .dashboard-spinner{
  border-style:solid!important;
  border-color:#dce8f6!important;
  border-right-color:#0b4f93!important;
  border-radius:50%!important;
  animation:tenant-spinner-rotate .8s linear infinite!important;
}

.tenant-app-page .spinner-border:not(.spinner-border-sm),
.tenant-auth-page .spinner-border:not(.spinner-border-sm),
.tenant-legacy-horizontal-shell #loading-image .spinner-border:not(.spinner-border-sm),
.tenant-legacy-horizontal-shell #tableLoading .spinner-border:not(.spinner-border-sm),
#tenantPageLoadingOverlay .dashboard-spinner{
  width:2.5rem!important;
  height:2.5rem!important;
  border-width:.28rem!important;
}

.tenant-app-page .spinner-border.spinner-border-sm,
.tenant-auth-page .spinner-border.spinner-border-sm{
  width:1.05rem!important;
  height:1.05rem!important;
  border-width:.18rem!important;
}

body.tenant-app-page .dataTables_wrapper div.dataTables_processing::before{
  border-color:#dce8f6!important;
  border-right-color:#0b4f93!important;
  animation:tenant-spinner-rotate .8s linear infinite!important;
}

html[data-tenant-theme=dark] .tenant-app-page .spinner-border,
html[data-tenant-theme=dark] .tenant-auth-page .spinner-border,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell #loading-image .spinner-border,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell #tableLoading .spinner-border,
html[data-tenant-theme=dark] #tenantPageLoadingOverlay .dashboard-spinner,
html[data-tenant-theme=dark] body.tenant-app-page .dataTables_wrapper div.dataTables_processing::before{
  border-color:#40516a!important;
  border-right-color:#8fc0ff!important;
}

/* Canonical tenant card treatment: clean surface, thin border, no shadow. */
.tenant-app-page .card,
.tenant-legacy-horizontal-shell .card,
.tenant-auth-shell .card {
  background: #fff !important;
  border: 1px solid #d9e2ee !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.tenant-legacy-horizontal-shell .dataTables_wrapper {
  border-radius: 16px;
  box-shadow: none;
}

html[data-tenant-theme=dark] .tenant-app-page .card,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .card,
html[data-tenant-theme=dark] .tenant-auth-shell .card {
  background: #182230 !important;
  border-color: #344255 !important;
}

/* Shared flat card treatment. */
.tenant-legacy-horizontal-shell .card,
.tenant-app-page .card {
  border:1px solid var(--tenant-border)!important;
  border-radius:14px!important;
  box-shadow:none!important;
}

/* Absolute final pagination override: remove legacy hover and purple button layers. */
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:not(.current):not(.active):not(.disabled),
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:not(.current):not(.active):not(.disabled):hover{
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
  border:1px solid #d9e2ee!important;
  color:#667085!important;
  box-shadow:0 1px 2px rgba(30,55,90,.04)!important
}
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{
  background:#f1f4f8!important;
  background-color:#f1f4f8!important;
  background-image:none!important;
  border:1px solid #cfd8e3!important;
  color:#667085!important;
  opacity:1!important;
  box-shadow:none!important
}
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{
  background:#206bc4!important;
  background-color:#206bc4!important;
  background-image:none!important;
  border:1px solid #206bc4!important;
  color:#fff!important;
  box-shadow:0 2px 5px rgba(32,107,196,.2)!important
}
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:not(.current):not(.active):not(.disabled),
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:not(.current):not(.active):not(.disabled):hover{background:#1f2c3b!important;background-color:#1f2c3b!important;border-color:#40516a!important;color:#c4d0df!important}
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{background:#263548!important;background-color:#263548!important;border-color:#50637d!important;color:#c4d0df!important}
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{background:#206bc4!important;background-color:#206bc4!important;border-color:#206bc4!important;color:#fff!important}

/* Remove any legacy purple pagination fallback completely. */
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  background-image:none!important
}
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{
  background:#206bc4!important;
  background-color:#206bc4!important;
  border-color:#206bc4!important;
  color:#fff!important;
  box-shadow:0 2px 5px rgba(32,107,196,.2)!important
}
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current *,
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active *{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  color:inherit!important;
  box-shadow:none!important
}
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{
  background:#f1f4f8!important;
  background-color:#f1f4f8!important;
  border-color:#cfd8e3!important;
  color:#667085!important;
  opacity:1!important;
  box-shadow:none!important
}
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled::before{
  color:#667085!important
}
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled *,
html body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover *{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  color:inherit!important;
  box-shadow:none!important
}
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{
  background:#263548!important;
  background-color:#263548!important;
  border-color:#50637d!important;
  color:#c4d0df!important
}
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled::before{color:#c4d0df!important}
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled *,
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover *{color:inherit!important}

/* DataTable requests cover only the table area, not the page header or filters. */
body.tenant-app-page .dataTables_wrapper{position:relative}
body.tenant-app-page .dataTables_wrapper div.dataTables_processing{
  position:absolute!important;
  top:var(--tenant-processing-top, 50px)!important;
  right:0!important;
  bottom:auto!important;
  left:0!important;
  width:auto!important;
  height:var(--tenant-processing-height, auto)!important;
  margin:0!important;
  padding:0!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  color:#206bc4!important;
  background:transparent!important;
  opacity:1!important;
  pointer-events:none!important;
  border:0!important;
  box-shadow:none!important;
  z-index:5!important
}
body.tenant-app-page .dataTables_wrapper div.dataTables_processing[style*="display: block"]{display:flex!important}
body.tenant-app-page .dataTables_wrapper div.dataTables_processing.tenant-processing-visible{display:flex!important}
body.tenant-app-page .dataTables_wrapper div.dataTables_processing::before{
  content:"";
  width:1.75rem;
  height:1.75rem;
  border:.2rem solid #cfe0f5;
  border-right-color:#206bc4;
  border-radius:50%;
  animation:tenant-button-spin .7s linear infinite
}
html[data-tenant-theme=dark] body.tenant-app-page .dataTables_wrapper div.dataTables_processing{
  color:#a9c9ff!important;
  background:transparent!important
}
html[data-tenant-theme=dark] body.tenant-app-page .dataTables_wrapper div.dataTables_processing::before{
  border-color:#40516a;
  border-right-color:#7fb4f2
}

/* Pagination final pass: keep every control the same size and make the arrow controls visible. */
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate{
  display:flex!important;align-items:center!important;gap:4px!important;white-space:nowrap
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:focus{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:34px!important;min-width:34px!important;height:34px!important;margin:0!important;padding:0!important;
  border:1px solid #d9e2ee!important;border-radius:6px!important;background:#fff!important;background-image:none!important;
  color:#667085!important;font-size:.78rem!important;line-height:1!important;box-shadow:0 1px 2px rgba(30,55,90,.04)!important;transform:none!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current):not(.active):not(.disabled){background:#eaf2ff!important;border-color:#b9d3f2!important;color:#206bc4!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{background:#206bc4!important;border-color:#206bc4!important;color:#fff!important;box-shadow:0 2px 5px rgba(32,107,196,.2)!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{background:#f5f6f8!important;border-color:#edf0f4!important;color:#b5bdc9!important;opacity:1!important;box-shadow:none!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next{position:relative!important;overflow:hidden!important;color:transparent!important;font-size:0!important;text-indent:-9999px!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next::before{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#667085!important;font-size:1.15rem!important;font-weight:500!important;line-height:1!important;text-indent:0!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before{content:'‹'!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next::before{content:'›'!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:focus{background:#1f2c3b!important;border-color:#40516a!important;color:#c4d0df!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{background:#206bc4!important;border-color:#206bc4!important;color:#fff!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{background:#24303e!important;border-color:#344255!important;color:#7f8da1!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{
  background:#24303e!important;
  border-color:#344255!important;
  color:#7f8da1!important
}
.tenant-legacy-horizontal-shell .btn-dot{border-radius:7px!important}
.tenant-legacy-horizontal-shell .dropdown-menu{border-radius:10px!important;overflow:hidden}
.tenant-legacy-horizontal-shell .btn-dot{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0!important;background:transparent!important;border-color:transparent!important;color:#6d7080}
.tenant-legacy-horizontal-shell .btn-dot{border:1px solid transparent;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}
.tenant-legacy-horizontal-shell .btn-dot:hover,.tenant-legacy-horizontal-shell .btn-dot:focus{background:#eef5ff!important;border-color:#cfe0f5!important;color:#206bc4!important;box-shadow:0 2px 6px rgba(32,107,196,.16);transform:translateY(-1px);outline:0}
.tenant-legacy-horizontal-shell .btn-dot:active{background:#e2efff!important;box-shadow:0 1px 2px rgba(32,107,196,.16);transform:translateY(0)}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper{background:#182230;border-color:#344255;box-shadow:0 5px 16px rgba(0,0,0,.2)}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .btn-dot:hover,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .btn-dot:focus{background:#24364d!important;border-color:#40516a!important;color:#a9c9ff!important;box-shadow:0 2px 7px rgba(0,0,0,.28)}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_length,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_filter,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_info{color:#aeb9ca}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_filter input,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_length select{background:#111827;border-color:#40516a;color:#e5e7eb}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button{color:#b8c5d6!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover{background:#24364d!important;border-color:#40516a!important;color:#a9c9ff!important}

/* Match the legacy DataTable grid: firm cell borders and compact, even rows. */
.tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable{
  width:100%!important;
  border:1px solid #d4d9e1!important;
  border-collapse:collapse!important;
  box-shadow:none!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable thead th{
  height:48px!important;
  padding:.75rem .65rem!important;
  border:1px solid #d4d9e1!important;
  border-bottom:1px solid #cfd5df!important;
  vertical-align:middle!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable tbody tr{
  height:48px!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable tbody td{
  height:48px!important;
  padding:.45rem .65rem!important;
  border:1px solid #d4d9e1!important;
  vertical-align:middle!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable thead th,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable tbody td{
  border-color:#40516a!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable.table-striped>tbody>tr:nth-of-type(odd)>*,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable.table-striped>tbody>tr:nth-of-type(even)>*{
  color:#d6deea!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable.table-striped>tbody>tr:nth-of-type(odd)>*{
  background:#1d2937!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable.table-striped>tbody>tr:nth-of-type(even)>*{
  background:#1a2633!important
}

/* Controls inside cards keep their rounded affordance even when surfaces stay flat. */
.tenant-legacy-horizontal-shell .card .btn,
.tenant-legacy-horizontal-shell .card .form-control,
.tenant-legacy-horizontal-shell .card .form-select,
.tenant-legacy-horizontal-shell .card .input-group-text,
.tenant-legacy-horizontal-shell .card .dataTables_wrapper .dataTables_paginate .paginate_button{
  border-radius:6px!important
}
.tenant-legacy-horizontal-shell .card .dropdown-menu{
  border-radius:10px!important;
  overflow:hidden
}
.tenant-legacy-horizontal-shell .card .btn-dot{
  border-radius:7px!important
}
.tenant-legacy-horizontal-shell .card .badge{
  border-radius:999px!important
}
.tenant-legacy-horizontal-shell .pageTitle,
.tenant-legacy-horizontal-shell .pageTitle span{
  text-transform:uppercase!important
}
.tenant-legacy-horizontal-shell .btn{
  border-radius:6px!important
}
.tenant-legacy-horizontal-shell .btn-dot{
  border-radius:7px!important
}
html[data-tenant-theme=light] .tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable.table-striped>tbody>tr:nth-of-type(odd)>*{
  background:#f1f3f5!important
}
html[data-tenant-theme=light] .tenant-legacy-horizontal-shell .dataTables_wrapper table.dataTable.table-striped>tbody>tr:nth-of-type(even)>*{
  background:#fff!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button{
  border-radius:999px!important;
  background:#f1f3f5!important;
  border:1px solid transparent!important;
  color:#667085!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{
  background:#206bc4!important;
  border-color:#206bc4!important;
  color:#fff!important;
  box-shadow:0 2px 5px rgba(32,107,196,.18)
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current){
  background:#eaf2ff!important;
  border-color:#cfe0f5!important;
  color:#206bc4!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button{
  background:#24303e!important;
  border-color:transparent!important;
  color:#c4d0df!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{
  background:#2878d0!important;
  border-color:#2878d0!important;
  color:#fff!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate a.paginate_button.current,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate a.paginate_button.current:hover{
  background:#206bc4!important;
  background-image:none!important;
  border-color:#206bc4!important;
  color:#fff!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate a.paginate_button:not(.current):not(.disabled){
  background:#206bc4!important;
  background-image:none!important;
  border-color:#206bc4!important;
  color:#fff!important;
  box-shadow:0 2px 5px rgba(32,107,196,.12)
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate a.paginate_button:not(.current):not(.disabled):hover{
  background:#1859a8!important;
  background-image:none!important;
  border-color:#1859a8!important;
  color:#fff!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate a.paginate_button.disabled{
  background:#f1f3f5!important;
  background-image:none!important;
  border-color:transparent!important;
  color:#98a2b3!important;
  box-shadow:none
}
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate a.paginate_button.current,
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate a.paginate_button.current:hover{
  background:#2878d0!important;
  background-image:none!important;
  border-color:#2878d0!important;
  color:#fff!important
}
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate a.paginate_button:not(.current):not(.disabled),
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate a.paginate_button:not(.current):not(.disabled):hover{
  background:#2878d0!important;
  background-image:none!important;
  border-color:#2878d0!important;
  color:#fff!important
}
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate a.paginate_button:not(.current):not(.disabled):hover{
  background:#3b8be0!important;
  border-color:#3b8be0!important
}
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate a.paginate_button.disabled{
  background:#24303e!important;
  background-image:none!important;
  border-color:transparent!important;
  color:#7f8da1!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled),
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):hover,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{
  background-color:#206bc4!important;
  background-image:none!important;
  border-color:#206bc4!important;
  color:#fff!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):hover{
  background-color:#1859a8!important;
  border-color:#1859a8!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{
  background:#206bc4!important;
  background-image:none!important;
  border-color:#206bc4!important;
  color:#fff!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled),
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled) *{
  color:#fff!important
}

/* Restore the original DataTable pagination appearance. */
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  min-width:30px;
  height:30px;
  padding:.35rem .55rem!important;
  margin-left:.15rem;
  border-radius:5px!important;
  background:transparent!important;
  background-image:none!important;
  border:1px solid transparent!important;
  color:#697386!important;
  box-shadow:none!important;
  transform:none
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current){
  background:#eef6ff!important;
  border-color:#d9e9fb!important;
  color:#206bc4!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{
  background:#206bc4!important;
  background-image:none!important;
  border-color:#206bc4!important;
  color:#fff!important;
  box-shadow:0 2px 5px rgba(32,107,196,.2)!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{
  background:transparent!important;
  border-color:transparent!important;
  color:#b8bdc7!important;
  opacity:.55
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  background:transparent!important;
  border-color:transparent!important;
  color:#b8c5d6!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current){
  background:#233a5a!important;
  border-color:#3b5d89!important;
  color:#b6d2f5!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{
  background:#206bc4!important;
  border-color:#206bc4!important;
  color:#fff!important
}

/* Keep tenant loading indicators visually aligned with the dashboard loader. */
.tenant-legacy-horizontal-shell #loading-image{
  position:fixed;
  inset:118px 0 0;
  z-index:2000;
  width:auto;
  margin:0;
  padding:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:#f8f9fa;
  pointer-events:none;
}
.tenant-legacy-horizontal-shell #loading-image[style*="display: block"]{
  display:flex!important
}
.tenant-legacy-horizontal-shell #loading-image .text-center{
  display:flex;
  align-items:center;
  justify-content:center
}
.tenant-legacy-horizontal-shell .spinner-border:not(.spinner-border-sm){
  width:2.5rem!important;
  height:2.5rem!important;
  flex:0 0 2.5rem;
  box-sizing:border-box;
  position:relative;
  transform-origin:50% 50%;
  transform:translateZ(0);
  backface-visibility:hidden;
  will-change:transform;
  border:.28rem solid #dce8f6!important;
  border-right-color:#2f6db2!important;
  border-radius:50%;
  animation:dashboard-spin .8s linear infinite!important
}
@keyframes dashboard-spin{
  from{transform:translateZ(0) rotate(0deg)}
  to{transform:translateZ(0) rotate(360deg)}
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell #loading-image{
  background:#232638
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .spinner-border:not(.spinner-border-sm){
  border-color:#41475f!important;
  border-right-color:#8fc0ff!important
}

/* DataTables uses #tableLoading; cover the page content while it is loading. */
.tenant-legacy-horizontal-shell #tableLoading{
  position:fixed;
  top:178px;
  right:0;
  bottom:0;
  left:0;
  z-index:2000;
  width:auto;
  margin:0;
  padding:0;
  display:none;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:#f8f9fa;
  pointer-events:none
}
.tenant-legacy-horizontal-shell #tableLoading[style*="display: block"]{
  display:flex!important
}
.tenant-legacy-horizontal-shell #tableLoading .text-center{
  display:flex;
  align-items:center;
  justify-content:center
}
.tenant-legacy-horizontal-shell:has(#tableLoading[style*="display: block"]) #loading-image{
  display:none!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell #tableLoading{
  background:#232638
}
body.tenant-page-loading .tenant-legacy-horizontal-shell .tenant-content,
body.tenant-page-loading .tenant-legacy-horizontal-shell .content-footer{
  visibility:hidden
}
body.tenant-page-loading .tenant-legacy-horizontal-shell #tableLoading{
  display:none!important
}
body.tenant-page-loading .tenant-legacy-horizontal-shell #loading-image{
  display:none!important
}
#tenantPageLoadingOverlay{
  position:fixed;
  top:178px;
  right:0;
  bottom:0;
  left:0;
  z-index:3000;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f8f9fa;
  opacity:1;
  visibility:visible;
  transition:opacity .18s ease,visibility .18s ease
}
body:not(.tenant-page-loading) #tenantPageLoadingOverlay{
  opacity:0;
  visibility:hidden;
  pointer-events:none
}
html[data-tenant-theme=dark] #tenantPageLoadingOverlay{
  background:#232638
}
#tenantPageLoadingOverlay .dashboard-spinner{
  width:2.5rem;
  height:2.5rem;
  flex:0 0 2.5rem;
  box-sizing:border-box;
  position:relative;
  transform-origin:50% 50%;
  transform:translateZ(0);
  backface-visibility:hidden;
  will-change:transform;
  border:.28rem solid #dce8f6;
  border-right-color:#2f6db2;
  border-radius:50%;
  animation:dashboard-spin .8s linear infinite!important
}
html[data-tenant-theme=dark] #tenantPageLoadingOverlay .dashboard-spinner{
  border-color:#41475f;
  border-right-color:#8fc0ff
}
/* Replace the legacy theme primary (purple) with the tenant blue system. */
.tenant-legacy-horizontal-shell{
  --bs-primary:#206bc4;
  --bs-primary-rgb:32,107,196
}
.tenant-legacy-horizontal-shell .bg-primary,
.tenant-legacy-horizontal-shell .input-group-text.bg-primary,
.tenant-legacy-horizontal-shell .btn-primary{
  background-color:#206bc4!important;
  border-color:#206bc4!important
}
.tenant-legacy-horizontal-shell .text-primary,
.tenant-legacy-horizontal-shell a.text-primary,
.tenant-legacy-horizontal-shell .border-primary{
  color:#206bc4!important;
  border-color:#206bc4!important
}
.tenant-legacy-horizontal-shell .form-select:focus,
.tenant-legacy-horizontal-shell .form-control:focus{
  border-color:#6ea8e6!important;
  box-shadow:0 0 0 .2rem rgba(32,107,196,.16)!important
}

/* Give every native dropdown a comfortable right inset for its arrow. */
.tenant-legacy-horizontal-shell select.form-select,
.tenant-legacy-horizontal-shell select.form-control,
.tenant-legacy-horizontal-shell select:not([multiple]):not([size]){
  appearance:none!important;
  -webkit-appearance:none!important;
  padding-right:3rem!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23667685' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 1rem center!important;
  background-size:16px 16px!important;
  cursor:pointer
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell select.form-select,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell select.form-control,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell select:not([multiple]):not([size]){
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23b8c5d6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important
}
.tenant-legacy-horizontal-shell .select2-container--default .select2-selection--single .select2-selection__arrow{
  right:.75rem
}

/* Form controls use a consistent rounded treatment. */
.tenant-legacy-horizontal-shell input:not([type="checkbox"]):not([type="radio"]),
.tenant-legacy-horizontal-shell textarea,
.tenant-legacy-horizontal-shell button,
.tenant-legacy-horizontal-shell .btn,
.tenant-legacy-horizontal-shell select,
.tenant-legacy-horizontal-shell .form-control,
.tenant-legacy-horizontal-shell .form-select,
.tenant-legacy-horizontal-shell .input-group-text{
  border-radius:8px!important
}
.tenant-legacy-horizontal-shell input[type="checkbox"],
.tenant-legacy-horizontal-shell input[type="radio"],
.tenant-legacy-horizontal-shell .form-check-input{
  border-radius:5px!important
}
.tenant-legacy-horizontal-shell .input-group{
  border-radius:8px;
  overflow:hidden
}
.tenant-legacy-horizontal-shell .input-group > .input-group-text{
  border-radius:0!important
}
.tenant-legacy-horizontal-shell .input-group > .input-group-text:first-child{
  border-top-left-radius:8px!important;
  border-bottom-left-radius:8px!important
}
.tenant-legacy-horizontal-shell .input-group > .form-control,
.tenant-legacy-horizontal-shell .input-group > .form-select{
  border-radius:0 8px 8px 0!important
}
.tenant-legacy-horizontal-shell .dropdown-menu .dropdown-item:hover,
.tenant-legacy-horizontal-shell .dropdown-menu .dropdown-item:focus,
.tenant-legacy-horizontal-shell .dropdown-menu .dropdown-item.active,
.tenant-legacy-horizontal-shell .dropdown-menu .dropdown-item:active{
  background:#eef5ff!important;
  color:#206bc4!important
}
.tenant-legacy-horizontal-shell .dropdown-menu .dropdown-item:hover .ti,
.tenant-legacy-horizontal-shell .dropdown-menu .dropdown-item:focus .ti,
.tenant-legacy-horizontal-shell .dropdown-menu .dropdown-item.active .ti,
.tenant-legacy-horizontal-shell .dropdown-menu .dropdown-item:active .ti{
  color:#206bc4!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dropdown-menu .dropdown-item:hover,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dropdown-menu .dropdown-item:focus,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dropdown-menu .dropdown-item.active,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dropdown-menu .dropdown-item:active{
  background:#24364d!important;
  color:#a9c9ff!important
}
body.tenant-app-page .swal2-container{
  z-index:10000!important;
}
body.tenant-app-page .swal2-popup{
  border-radius:12px!important;
  border:1px solid #e1e6ee;
  box-shadow:0 12px 32px rgba(30,55,90,.18)
}
body.tenant-app-page .swal2-confirm,
body.tenant-app-page .swal2-deny,
body.tenant-app-page .swal2-cancel{
  min-height:38px!important;
  padding:.5rem 1rem!important;
  border-radius:8px!important;
  font-weight:600!important;
  box-shadow:0 2px 5px rgba(30,55,90,.12)!important
}
body.tenant-app-page .swal2-confirm{
  background:#206bc4!important;
  border:1px solid #206bc4!important;
  color:#fff!important
}
body.tenant-app-page .swal2-confirm:hover,
body.tenant-app-page .swal2-confirm:focus{
  background:#1859a8!important
}
body.tenant-app-page .swal2-cancel{
  background:#fff!important;
  border:1px solid #206bc4!important;
  color:#206bc4!important
}
body.tenant-app-page .swal2-cancel:hover,
body.tenant-app-page .swal2-cancel:focus{
  background:#eef5ff!important
}
body.tenant-app-page .swal2-deny{
  background:#dc3545!important;
  color:#fff!important
}
html[data-tenant-theme=dark] body.tenant-app-page .swal2-popup{
  background:#182230!important;
  border-color:#344255;
  color:#e5e7eb
}
html[data-tenant-theme=dark] body.tenant-app-page .swal2-cancel{
  background:transparent!important;
  border-color:#6ea8e6!important;
  color:#a9c9ff!important
}
body.tenant-app-page #toast-container>.toast{
  min-width:300px;
  border-radius:8px!important;
  border:1px solid rgba(30,55,90,.08);
  box-shadow:0 6px 16px rgba(30,55,90,.14);
  opacity:1
}
body.tenant-app-page #toast-container>.toast-success{
  background:#eaf7ef!important;
  color:#287a48!important
}
body.tenant-app-page #toast-container>.toast-error{
  background:#fff0f1!important;
  color:#b42332!important
}
body.tenant-app-page #toast-container>.toast-warning{
  background:#fff7e6!important;
  color:#946200!important
}
body.tenant-app-page #toast-container>.toast-info{
  background:#eaf3ff!important;
  color:#206bc4!important
}
body.tenant-app-page #toast-container>.toast-success .toast-message,
body.tenant-app-page #toast-container>.toast-error .toast-message,
body.tenant-app-page #toast-container>.toast-warning .toast-message,
body.tenant-app-page #toast-container>.toast-info .toast-message{
  color:inherit!important
}
html[data-tenant-theme=dark] body.tenant-app-page #toast-container>.toast{
  border-color:#344255;
  box-shadow:0 7px 18px rgba(0,0,0,.28)
}
html[data-tenant-theme=dark] body.tenant-app-page #toast-container>.toast-success{
  background:#193b2a!important;
  color:#86efac!important
}
html[data-tenant-theme=dark] body.tenant-app-page #toast-container>.toast-error{
  background:#45232a!important;
  color:#fda4af!important
}
html[data-tenant-theme=dark] body.tenant-app-page #toast-container>.toast-warning{
  background:#463719!important;
  color:#facc75!important
}
html[data-tenant-theme=dark] body.tenant-app-page #toast-container>.toast-info{
  background:#24364d!important;
  color:#a9c9ff!important
}
.tenant-legacy-horizontal-shell .btn:not(.btn-close):not(.btn-dot){
  min-height:38px;
  padding:.5rem 1rem;
  border-radius:8px!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.35rem;
  font-weight:600;
  line-height:1.2;
  box-shadow:0 2px 5px rgba(30,55,90,.12);
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease
}
.tenant-legacy-horizontal-shell .btn:not(.btn-close):not(.btn-dot):hover{
  transform:translateY(-1px);
  box-shadow:0 4px 10px rgba(30,55,90,.17)
}
.tenant-legacy-horizontal-shell .btn:not(.btn-close):not(.btn-dot):active{
  transform:translateY(0);
  box-shadow:0 1px 3px rgba(30,55,90,.14)
}
.tenant-legacy-horizontal-shell .btn.btn-sm:not(.btn-close):not(.btn-dot){
  min-height:34px;
  padding:.4rem .8rem;
  font-size:.8125rem
}
.tenant-legacy-horizontal-shell .btn.is-ajax-loading{
  position:relative;
  color:transparent!important;
  pointer-events:none
}
.tenant-legacy-horizontal-shell .btn.is-ajax-loading>*{
  visibility:hidden!important
}
.tenant-legacy-horizontal-shell .btn.is-ajax-loading::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:1rem;
  height:1rem;
  margin:-.5rem 0 0 -.5rem;
  border:.16rem solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  color:#fff;
  animation:tenant-button-spin .65s linear infinite
}
.tenant-legacy-horizontal-shell .btn-outline-primary.is-ajax-loading::after{
  color:#206bc4
}
@keyframes tenant-button-spin{
  to{transform:rotate(360deg)}
}
.tenant-legacy-horizontal-shell .btn-outline-primary{
  color:#206bc4!important;
  border-color:#206bc4!important;
  background:#fff!important
}
.tenant-legacy-horizontal-shell .btn-outline-primary:hover,
.tenant-legacy-horizontal-shell .btn-outline-primary:focus,
.tenant-legacy-horizontal-shell .btn-outline-primary:active{
  color:#fff!important;
  background:#206bc4!important;
  border-color:#206bc4!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .btn-outline-primary{
  background:transparent!important;
  color:#a9c9ff!important;
  border-color:#6ea8e6!important
}

.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next{
  width:34px;
  min-width:34px;
  padding:0!important;
  font-size:0!important;
  line-height:1;
  color:transparent!important;
  text-indent:-9999px!important;
  white-space:nowrap;
  overflow:hidden
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next::before{
  display:block;
  font-size:1.15rem;
  font-weight:500;
  line-height:1;
  color:#667085!important;
  text-indent:0
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before{content:'‹'}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next::before{content:'›'}

/* Standard SaaS pagination layout. */
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate{
  display:flex;
  align-items:center;
  gap:.3rem
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  min-width:34px;
  height:34px;
  border-radius:6px!important;
  background:#fff!important;
  background-image:none!important;
  border:1px solid #d9e2ee!important;
  color:#667085!important;
  box-shadow:0 1px 2px rgba(30,55,90,.04)!important;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current):not(.active):not(.disabled){
  background:#eaf2ff!important;
  border-color:#b9d3f2!important;
  color:#206bc4!important;
  transform:translateY(-1px)
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{
  background:#206bc4!important;
  background-image:none!important;
  border-color:#206bc4!important;
  color:#fff!important;
  box-shadow:0 2px 5px rgba(32,107,196,.2)!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{
  background:#f5f6f8!important;
  border-color:#edf0f4!important;
  color:#b5bdc9!important;
  box-shadow:none!important;
  transform:none
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  background:#1f2c3b!important;
  border-color:#40516a!important;
  color:#c4d0df!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current):not(.active):not(.disabled){
  background:#24364d!important;
  border-color:#58769b!important;
  color:#b9d5ff!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{
  background:#2878d0!important;
  border-color:#2878d0!important;
  color:#fff!important
}

/* Final clean pagination treatment. */
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate{
  display:flex!important;
  align-items:center;
  gap:4px
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  min-width:32px!important;
  width:auto;
  height:32px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid #d9e2ee!important;
  border-radius:6px!important;
  background:#fff!important;
  background-image:none!important;
  color:#667085!important;
  box-shadow:none!important;
  transform:none!important;
  font-size:.78rem!important;
  line-height:30px!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current):not(.active):not(.disabled){
  background:#f3f7fc!important;
  border-color:#b9d3f2!important;
  color:#206bc4!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{
  background:#206bc4!important;
  background-image:none!important;
  border-color:#206bc4!important;
  color:#fff!important;
  box-shadow:none!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{
  background:#f8fafc!important;
  border-color:#eef1f5!important;
  color:#b8c0cb!important;
  opacity:1
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next{
  width:32px!important;
  min-width:32px!important;
  padding:0!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current::before,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active::before{
  color:#fff!important
}

/* Tabler pagination style. */
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  min-width:34px!important;
  height:34px!important;
  padding:0 10px!important;
  border-radius:4px!important;
  border:1px solid #d9e2ee!important;
  background:#fff!important;
  background-image:none!important;
  color:#667085!important;
  font-size:.8125rem!important;
  font-weight:500!important;
  line-height:32px!important;
  box-shadow:none!important;
  transform:none!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current):not(.active):not(.disabled){
  background:#f1f5f9!important;
  border-color:#cbd5e1!important;
  color:#206bc4!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{
  background:#206bc4!important;
  border-color:#206bc4!important;
  color:#fff!important;
  font-weight:600!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{
  background:#f8fafc!important;
  border-color:#eef1f5!important;
  color:#b8c0cb!important;
  opacity:1
}
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  background:#182230!important;
  border-color:#40516a!important;
  color:#c4d0df!important
}
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current):not(.active):not(.disabled){
  background:#24364d!important;
  border-color:#58769b!important;
  color:#b9d5ff!important
}
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
html[data-tenant-theme=dark] body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{
  background:#2878d0!important;
  border-color:#2878d0!important;
  color:#fff!important
}

/* Resolve legacy cascade so each Tabler pagination item remains separate. */
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:not(.current):not(.active):not(.disabled),
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:not(.current):not(.active):not(.disabled):hover{
  margin-left:0!important;
  margin-right:4px!important;
  border-radius:4px!important;
  background:#fff!important;
  background-image:none!important;
  border:1px solid #d9e2ee!important;
  color:#667085!important;
  box-shadow:none!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active{
  margin-left:0!important;
  margin-right:4px!important;
  border-radius:4px!important;
  background:#206bc4!important;
  background-image:none!important;
  border:1px solid #206bc4!important;
  color:#fff!important;
  box-shadow:none!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper div.dataTables_paginate a.paginate_button:not(.current):not(.active):not(.disabled),
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper div.dataTables_paginate a.paginate_button:not(.current):not(.active):not(.disabled):hover{
  display:inline-flex!important;
  float:none!important;
  width:auto!important;
  min-width:34px!important;
  height:34px!important;
  margin:0 4px 0 0!important;
  padding:0 10px!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:4px!important;
  background-color:#fff!important;
  background-image:none!important;
  border:1px solid #d9e2ee!important;
  color:#667085!important;
  box-shadow:none!important
}
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper div.dataTables_paginate a.paginate_button.current,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper div.dataTables_paginate a.paginate_button.active,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper div.dataTables_paginate a.paginate_button.current:hover,
body.tenant-app-page .tenant-legacy-horizontal-shell .dataTables_wrapper div.dataTables_paginate a.paginate_button.active:hover{
  display:inline-flex!important;
  float:none!important;
  min-width:34px!important;
  height:34px!important;
  margin:0 4px 0 0!important;
  padding:0 10px!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:4px!important;
  background-color:#206bc4!important;
  background-image:none!important;
  border:1px solid #206bc4!important;
  color:#fff!important;
  box-shadow:none!important
}

/* Legacy application pagination: soft pill buttons with a blue active state. */
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  min-width:38px;
  height:32px;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  padding:.3rem .75rem!important;
  margin-left:.25rem;
  border-radius:999px!important;
  background:#f1f2f5!important;
  background-image:none!important;
  border:1px solid transparent!important;
  color:#667085!important;
  box-shadow:none!important;
  transform:none
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current):not(.active){
  background:#e7e9ee!important;
  border-color:transparent!important;
  color:#4f5d73!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{
  background:#206bc4!important;
  background-image:none!important;
  border-color:#206bc4!important;
  color:#fff!important;
  box-shadow:0 2px 5px rgba(32,107,196,.2)!important
}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{
  background:#f7f7f9!important;
  border-color:transparent!important;
  color:#cfd3da!important;
  opacity:1
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  background:#293241!important;
  border-color:transparent!important;
  color:#c4cedc!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current):not(.active){
  background:#35445a!important;
  color:#e0e9f6!important
}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{
  background:#206bc4!important;
  border-color:#206bc4!important;
  color:#fff!important
}

/* Final pagination normalization (must remain last to override legacy skins). */
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate{display:flex!important;align-items:center!important;gap:4px!important;white-space:nowrap}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:focus{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;min-width:34px!important;height:34px!important;margin:0!important;padding:0!important;border:1px solid #d9e2ee!important;border-radius:6px!important;background:#fff!important;background-image:none!important;color:#667085!important;font-size:.78rem!important;line-height:1!important;box-shadow:0 1px 2px rgba(30,55,90,.04)!important;transform:none!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current):not(.active):not(.disabled){background:#eaf2ff!important;border-color:#b9d3f2!important;color:#206bc4!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.active:hover{background:#206bc4!important;border-color:#206bc4!important;color:#fff!important;box-shadow:0 2px 5px rgba(32,107,196,.2)!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{background:#f5f6f8!important;border-color:#edf0f4!important;color:#b5bdc9!important;opacity:1!important;box-shadow:none!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next{position:relative!important;overflow:hidden!important;color:transparent!important;font-size:0!important;text-indent:-9999px!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before,.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next::before{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#667085!important;font-size:1.15rem!important;font-weight:500!important;line-height:1!important;text-indent:0!important}
.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before{content:'‹'!important}.tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.next::before{content:'›'!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button:focus{background:#1f2c3b!important;border-color:#40516a!important;color:#c4d0df!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{background:#206bc4!important;border-color:#206bc4!important;color:#fff!important}
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{background:#24303e!important;border-color:#344255!important;color:#7f8da1!important}

/* Final spinner normalization (must remain last to override legacy loaders). */
.tenant-app-page .spinner-border,
.tenant-auth-page .spinner-border,
.tenant-legacy-horizontal-shell #loading-image .spinner-border,
.tenant-legacy-horizontal-shell #tableLoading .spinner-border,
#tenantPageLoadingOverlay .dashboard-spinner{
  border-style:solid!important;
  border-color:#dce8f6!important;
  border-right-color:#0b4f93!important;
  border-radius:50%!important;
  animation:tenant-spinner-rotate .8s linear infinite!important;
}
.tenant-app-page .spinner-border:not(.spinner-border-sm),
.tenant-auth-page .spinner-border:not(.spinner-border-sm),
.tenant-legacy-horizontal-shell #loading-image .spinner-border:not(.spinner-border-sm),
.tenant-legacy-horizontal-shell #tableLoading .spinner-border:not(.spinner-border-sm),
#tenantPageLoadingOverlay .dashboard-spinner{
  width:2.5rem!important;height:2.5rem!important;border-width:.28rem!important;
}
.tenant-app-page .spinner-border.spinner-border-sm,
.tenant-auth-page .spinner-border.spinner-border-sm{
  width:1.05rem!important;height:1.05rem!important;border-width:.18rem!important;
}
body.tenant-app-page .dataTables_wrapper div.dataTables_processing::before{
  border-color:#dce8f6!important;
  border-right-color:#0b4f93!important;
  animation:tenant-spinner-rotate .8s linear infinite!important;
}
html[data-tenant-theme=dark] .tenant-app-page .spinner-border,
html[data-tenant-theme=dark] .tenant-auth-page .spinner-border,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell #loading-image .spinner-border,
html[data-tenant-theme=dark] .tenant-legacy-horizontal-shell #tableLoading .spinner-border,
html[data-tenant-theme=dark] #tenantPageLoadingOverlay .dashboard-spinner,
html[data-tenant-theme=dark] body.tenant-app-page .dataTables_wrapper div.dataTables_processing::before{
  border-color:#40516a!important;
  border-right-color:#8fc0ff!important;
}

/* Align the navbar, horizontal menu, and page cards to one content gutter. */
@media (min-width: 1200px) {
  .tenant-legacy-horizontal-shell #layout-navbar > .container-xxl,
  .tenant-legacy-horizontal-shell #layout-menu > .container-xxl,
  .tenant-legacy-horizontal-shell .tenant-content.container-xxl {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  .tenant-legacy-horizontal-shell #layout-menu > .container-xxl > .menu-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-grow: 1;
    justify-content: space-between;
  }
  .tenant-legacy-horizontal-shell #layout-menu .menu-inner > .menu-item:first-child {
    margin-left: 0;
  }
  .tenant-legacy-horizontal-shell #layout-menu .menu-inner > .menu-item:last-child {
    margin-right: 0;
  }
  .tenant-legacy-horizontal-shell .tenant-content > :is(div, section),
  .tenant-legacy-horizontal-shell .tenant-content > :is(div, section) > :is(.container, .container-xxl, .container-fluid) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .tenant-legacy-horizontal-shell .tenant-content > :is(div, section) > :is(.container, .container-xxl, .container-fluid) {
    width: 100%;
    max-width: none;
  }
}
