a{cursor:pointer;}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#main {
    flex: 1 0 auto;
}

#footer {
    margin-top: auto;
}

.admin-login-shell {
    background:
        radial-gradient(circle at top left, rgba(33, 150, 243, 0.2), transparent 30%),
        radial-gradient(circle at bottom left, rgba(0, 188, 212, 0.18), transparent 25%),
        linear-gradient(135deg, #06131c 0%, #102536 45%, #eef5f8 45%, #f6fbfd 100%);
    min-height: 100vh;
}

.admin-login-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    min-height: 100vh;
}

.admin-login-stage__panel {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 18%),
        radial-gradient(circle at 75% 35%, rgba(74, 222, 128, 0.16), transparent 20%),
        radial-gradient(circle at 65% 70%, rgba(56, 189, 248, 0.18), transparent 24%),
        linear-gradient(145deg, rgba(4, 15, 24, 0.92) 0%, rgba(11, 40, 58, 0.88) 45%, rgba(14, 68, 86, 0.82) 100%);
}

.admin-login-stage__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.06) 48%, transparent 54%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: auto, 88px 88px, 88px 88px;
    opacity: 0.55;
    pointer-events: none;
}

.admin-login-stage__brand {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 4rem clamp(2rem, 5vw, 5rem);
    color: #f5fbff;
}

.admin-login-stage__copy h1 {
    margin: 0;
    color: #ffffff;
    font-family: "Nunito", sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.9rem);
    font-weight: 800;
    line-height: 0.96;
}

.admin-login-stage__copy p {
    max-width: 35rem;
    margin: 1.5rem 0 0;
    color: rgba(232, 245, 248, 0.84);
    font-size: 1.05rem;
    line-height: 1.8;
}

.admin-login-stage__highlights {
    display: grid;
    gap: 1rem;
    max-width: 38rem;
    margin-top: 2.75rem;
}

.admin-login-stage__highlight {
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(14px);
}

.admin-login-stage__highlight-label {
    display: block;
    margin-bottom: 0.35rem;
    color: rgba(181, 235, 244, 0.9);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-login-stage__highlight strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

.admin-login-stage__form-column {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.admin-login-card {
    width: min(100%, 29rem);
}

.admin-login-card__inner {
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid rgba(9, 54, 72, 0.1);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 30px 70px rgba(8, 29, 45, 0.16);
    backdrop-filter: blur(20px);
}

.ui-user-initials-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e4e8f1;
    color: #4b6573;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    user-select: none;
}

.ui-user-initials-badge--header {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
}

.person-link-label,
.person-label-link,
.network-link-label,
.network-label-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.person-link-icon {
    font-size: 1rem;
    color: inherit;
}

.network-link-icon {
    font-size: 1rem;
    color: inherit;
}

.admin-login-card__branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.75rem;
}

.admin-login-card__logo {
    flex: 0 0 auto;
}

.admin-login-card__logo img {
    display: block;
    width: 48px;
    height: auto;
}

.admin-login-card__name {
    color: #092231;
    font-family: "Nunito", sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.admin-login-card__header h2 {
    margin: 0;
    color: #092231;
    font-family: "Nunito", sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
}

.admin-login-card__header p {
    margin: 0.85rem 0 0;
    color: #5f7380;
    font-size: 0.98rem;
    line-height: 1.7;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.admin-login-form__group + .admin-login-form__group,
.admin-login-form__group + .admin-login-form__meta,
.admin-login-form__meta + .admin-login-form__submit {
    margin-top: 1.15rem;
}

.admin-login-form .form-label {
    margin-bottom: 0.45rem;
    color: #103243;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.admin-login-form .form-control {
    min-height: 3.5rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(16, 50, 67, 0.14);
    border-radius: 14px;
    background: rgba(248, 252, 253, 0.96);
    color: #0f2532;
    box-shadow: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.admin-login-form .form-control::placeholder {
    color: #8a9aa5;
}

.admin-login-form .form-control:focus {
    border-color: rgba(0, 150, 199, 0.5);
    background: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(0, 150, 199, 0.14);
}

.admin-login-form__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-login-form .form-check {
    margin: 0;
}

.admin-login-form .form-check-label {
    color: #5f7380;
}

.admin-login-form__link {
    color: #0d6e8f;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.admin-login-form__link:hover,
.admin-login-form__link:focus {
    color: #0a5d78;
    text-decoration: underline;
}

.theme-selector-menu .dropdown-item {
    width: 100%;
    border: 0;
    background: transparent;
}

.theme-selector-menu .dropdown-item i {
    opacity: 0;
    transition: opacity 0.15s ease;
}

.theme-selector-menu .dropdown-item.is-active i {
    opacity: 1;
}

#header-superadmin-nav .header-superadmin-toggle i {
    color: #dc3545;
}

#header-superadmin-nav .header-superadmin-toggle:hover i,
#header-superadmin-nav .header-superadmin-toggle:focus i {
    color: #bb2d3b;
}

.superadmin-stat-card__value {
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    color: #163245;
}

.superadmin-chart {
    width: 100%;
    min-height: 280px;
}

.admin-login-form__submit {
    align-self: flex-end;
    min-height: 3.5rem;
    padding: 0.9rem 2.5rem;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d88ab 0%, #2b7fff 100%);
    box-shadow: 0 18px 40px rgba(19, 107, 174, 0.26);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.admin-login-form__submit:hover,
.admin-login-form__submit:focus {
    background: linear-gradient(135deg, #0f7f9f 0%, #256fe0 100%);
    color: #ffffff;
}

@media (max-width: 1199.98px) {
    .admin-login-stage {
        grid-template-columns: 1fr;
    }

    .admin-login-stage__panel {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .admin-login-stage__form-column {
        padding: 1.25rem;
    }

    .admin-login-card__inner {
        border-radius: 4px;
    }

    .admin-login-form__meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-login-form__submit {
        align-self: stretch;
    }
}

.header .search-bar,
.header .search-form {
    overflow: visible;
}

#header-device-search-form {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.header-device-search-input-group {
    position: relative;
    width: 100%;
}

#header-device-search-form button[type="submit"] {
    position: absolute;
    top: 50%;
    right: 0.55rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    margin: 0;
    border: 0;
    padding: 0;
    background: transparent;
    z-index: 2;
}

#header-device-search-form button[type="submit"],
#header-device-search-form button[type="submit"]:hover,
#header-device-search-form button[type="submit"]:focus {
    margin: 0 !important;
}

#header-device-search-form button[type="submit"] i {
    color: #5b6f95;
    font-size: 1rem;
}

#header-device-search-input {
    padding-right: 2.6rem;
    border-radius: 8px;
    background: #fff;
}

.header-device-search-results {
    position: absolute;
    top: calc(100% + 0.3rem);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(1, 41, 112, 0.12);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(1, 41, 112, 0.16);
    max-height: min(420px, calc(100vh - 120px));
    overflow-y: auto;
    z-index: 1200;
}

.header-device-search-results[hidden] {
    display: none !important;
}

.header-device-search-empty,
.header-device-search-loading {
    padding: 0.9rem 1rem;
    color: #6c757d;
    font-size: 0.92rem;
}

.header-device-search-result {
    display: block;
    width: 100% !important;
    margin-left: 0 !important;
    padding: 0.8rem 1rem !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(1, 41, 112, 0.08) !important;
    background: transparent !important;
    text-align: left;
    cursor: pointer !important;
    transition: background-color 0.15s ease;
}

.header-device-search-result:last-child {
    border-bottom: 0 !important;
}

.header-device-search-result:hover,
.header-device-search-result:focus,
.header-device-search-result.is-active {
    background: #f5f8ff;
    outline: none;
}

.header-device-search-result__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.header-device-search-result__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #012970;
    font-weight: 600;
    line-height: 1.25;
}

.header-device-search-result__indicator {
    flex: 0 0 auto;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #adb5bd;
}

.header-device-search-result__indicator.is-online {
    background: #198754;
}

.header-device-search-result__indicator.is-offline {
    background: #adb5bd;
}

.header-device-search-result__meta {
    margin-top: 0.18rem;
    color: #6c757d;
    font-size: 0.84rem;
    line-height: 1.35;
}

.ui-help-text {
    display: inline;
    min-height: 0;
    vertical-align: baseline;
    color: #6c757d;
    opacity: 1;
    background: transparent;
    font-size: var(--bs-body-font-size);
    font-weight: normal;
}

.card-body > h1.card-title + p.ui-help-text {
    display: block;
}

.ui-help-link {
    display: inline;
    color: #0d6efd;
    cursor: help;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.12em;
}

.ui-help-link:hover,
.ui-help-link:focus {
    color: #0a58ca;
}

.ui-help-link--muted {
    color: #6c757d;
}

.ui-help-link--muted:hover,
.ui-help-link--muted:focus {
    color: #495057;
}

.ui-loader {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    text-align: center;
}

.ui-loader__spinner {
    flex: 0 0 auto;
}

.ui-loader__image {
    display: block;
    width: min(100px, 55vw);
    max-width: 100%;
    height: auto;
    opacity: 0.1;
}

.ui-loader__image--animated {
    animation: ui-loader-logo-pulse 1.8s ease-in-out infinite;
}

.ui-loader__message {
    color: #b1c1cf;
    font-size: 1.5rem;
    line-height: 1.5;
    font-family: "Nunito", sans-serif;
    font-weight: 600;
}

.ui-loader--page {
    display: flex;
    width: 100%;
    min-height: clamp(280px, 48vh, 520px);
    padding: 2rem 1rem;
}

#main-content.ui-page-shell {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

#main-content.ui-page-shell--loading {
    opacity: 0.72;
    transform: translate3d(0, 8px, 0);
    transition: opacity 160ms ease, transform 220ms ease;
    will-change: opacity, transform;
}

#main-content.ui-page-shell--ready {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 180ms ease, transform 220ms ease;
}

@media (prefers-reduced-motion: reduce) {
    #main-content.ui-page-shell--loading,
    #main-content.ui-page-shell--ready {
        transition: none;
        transform: none;
    }
}

@keyframes ui-loader-logo-pulse {
    0% {
        opacity: 0.06;
        transform: scale(0.96);
    }
    50% {
        opacity: 0.18;
        transform: scale(1);
    }
    100% {
        opacity: 0.06;
        transform: scale(0.96);
    }
}

@keyframes ui-row-in-progress-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

tr.in-progress > td {
    background-image: linear-gradient(
        90deg,
        rgba(255, 243, 205, 0.45) 0%,
        rgba(255, 255, 255, 0.88) 50%,
        rgba(255, 243, 205, 0.45) 100%
    );
    background-size: 200% 100%;
    animation: ui-row-in-progress-shimmer 1.15s linear infinite;
}

.device-location-map {
    min-height: 320px;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
}

.device-location-map__hint {
    color: #6c757d;
    font-size: 0.875rem;
}

.device-metadata-list {
    margin-bottom: 0;
}

.device-metadata-list li + li {
    margin-top: 0.35rem;
}

.card.card-tabs .card-body {
    padding-top: 0;
}

.card.card-tabs .card-body > .nav {
    background: #d6dde5;
    margin: 0 -32px;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid #bbc8d7;
}

.card.card-tabs .card-body .tab-content {
    padding-top: 30px;
}

.card.card-tabs a.nav-link i {
    font-size: 18px;
    position: relative;
    top: 2px;
}

.card.card-tabs .tab-pane > div:first-child > div.form-item-type-html:first-child > h5:first-child {
    margin-top: 0;
}

.card.card-tabs .tab-content ul,
.card.card-tabs .tab-content ol {
    padding: 0 10px 20px 10px;
}

.card.card-tabs .tab-content li {
    margin: 2px 0;
}

.card.card-tabs .tab-content ul li {
    list-style-type: disc;
    list-style-position: outside;
    margin-left: 20px;
}

.card.card-tabs .tab-content table:not(.dataTable) {
    margin: 10px 0;
}

.card.card-tabs .tab-content table:not(.dataTable) th {
    padding: 5px 6px;
    border-bottom: 2px solid #ccc;
}

.card.card-tabs .tab-content table:not(.dataTable) td {
    padding: 5px 6px;
    border: 1px solid #ddd;
    border-width: 0 1px 1px 1px;
    vertical-align: top;
}

.card.card-tabs .card-footer {
    text-align: right;
}

.card.card-tabs.sticky-footer .card-footer {
    position: fixed;
    bottom: 0;
    margin-left: calc(-.5 * var(--bs-gutter-x));
    padding-left: calc(.5 * var(--bs-gutter-x) + 20px);
    background: white;
    z-index: 5;
    box-shadow: 0 -3px 3px rgba(0, 0, 0, 0.05);
}

.card.card-tabs.sticky-footer {
    margin-bottom: 170px;
}

.sidebar-nav .nav-item.download-link {
    position: fixed;
    left: 20px;
    bottom: 10px;
    width: 260px;
    background: #fff;
    z-index: 3;
    transition: left 0.3s ease;
}

@media (max-width: 1199px) {
    .sidebar-nav .nav-item.download-link {
        left: -300px;
    }

    .toggle-sidebar .sidebar-nav .nav-item.download-link {
        left: 20px;
    }
}

@media (min-width: 1200px) {
    .toggle-sidebar .sidebar-nav .nav-item.download-link {
        left: -300px;
    }
}

.sidebar-nav .nav-content .nav-divider {
    height: 1px;
    margin: 8px 18px 10px 36px;
    background: rgba(1, 41, 112, 0.12);
    list-style: none;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
}

.sidebar-nav .nav-content a span {
    min-width: 0;
}

.sidebar-nav .nav-content .nav-subitem-badge {
    margin-left: auto;
    font-size: 11px;
    line-height: 1;
}

tr.group td {
    font-size: 20px;
    background: white;
    padding: 20px 10px 5px !important;
    border-bottom: 1px solid #aaa;
    font-weight: 600;
}

table.dataTable tr.group:hover td, table.dataTable tr.group:hover td:hover {
    background: white !important;
}

table.dataTable th,
table.dataTable td {
    white-space: nowrap;
}

.dataTables_wrapper table.dataTable thead th.dt-column-wrap,
.dataTables_wrapper table.dataTable tbody td.dt-column-wrap {
    white-space: normal !important;
}

.dataTables_wrapper table.dataTable thead th.dt-column-wrap {
    overflow-wrap: normal;
    word-break: normal;
}

.dataTables_wrapper table.dataTable tbody td.dt-column-wrap {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.data-table-scroll {
    overflow-x: auto;
    overflow-y: auto;
    max-width: 100%;
}

.data-table-bottom-scroll {
    display: none;
    position: fixed;
    bottom: 0;
    overflow-x: auto;
    overflow-y: hidden;
    height: 16px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(13, 70, 98, 0.12);
    box-shadow: 0 -6px 18px rgba(8, 29, 45, 0.08);
    z-index: 1040;
}

.data-table-bottom-scroll.is-active {
    display: block;
}

.data-table-bottom-scroll-inner {
    height: 1px;
}

.data-table-toolbar,
.data-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
}

.dataTables_wrapper .data-table-footer .dataTables_info {
    opacity: 0.5;
    font-size: 90%;
}

.data-table-toolbar {
    margin-bottom: 0.75rem;
}

.data-table-footer {
    margin-top: 0.75rem;
}

.dataTables_wrapper .data-table-toolbar .dataTables_length,
.dataTables_wrapper .data-table-toolbar .dataTables_filter,
.dataTables_wrapper .data-table-toolbar .worksheet-config-modal-btn,
.dataTables_wrapper .data-table-footer .dataTables_info,
.dataTables_wrapper .data-table-footer .dataTables_paginate {
    float: none;
    margin: 0;
}

.dataTables_wrapper .data-table-toolbar .dataTables_length {
    order: 1;
}

.dataTables_wrapper .dataTables_length select {
    border: 0px solid white;
    border-radius: 3px;
    padding: 5px;
    background-color: transparent;
    padding: 0;
    color: #163245;
    outline: none;
}

.dataTables_wrapper .dataTables_length:hover select {
    background: #f5f6f7;
    cursor: pointer;
}

.dataTables_wrapper .data-table-toolbar .worksheet-config-modal-btn {
    order: 2;
}

.dataTables_wrapper .data-table-toolbar .dataTables_filter {
    order: 3;
    margin-left: auto;
}

.dataTables_wrapper .data-table-toolbar .dataTables_filter .data-table-search-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.dataTables_wrapper .data-table-toolbar .dataTables_filter .data-table-search-icon {
    color: #5f6c7b;
    font-size: 0.95rem;
    line-height: 1;
}

.dataTables_wrapper .data-table-toolbar .data-table-export {
    order: 4;
    margin-left: 0;
}

.data-table-export__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    white-space: nowrap;
}

.data-table-export__menu .dropdown-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.data-table-export {
    position: relative;
}

.data-table-export__menu {
    display: none;
}

.data-table-export.is-open .data-table-export__menu {
    display: block;
}

.dropdown-menu-button > .icon {
    background: transparent;
    border: 0;
    padding: 0;
}

.data-table-wrapper--sticky table.dataTable thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
}

div.DTCR_pointer {
    width: 3px !important;
    border-radius: 999px;
    background: #4154f1 !important;
    box-shadow: 0 0 0 2px rgba(65, 84, 241, 0.12);
    opacity: 1 !important;
}

button.worksheet-config-modal-btn {
    background: white;
    border: 0px solid;
    margin-top: 0;
}

.small, .help{font-size:80%;}
.help{color:#777; cursor:help;}

span.prefix, span.suffix{display:inline-block; padding:0 3px 0 0; opacity:0.7; font-size:90%;}
span.suffix{padding:0 0 0 3px;}
td.align-right {text-align: right;}
tr.subrecord td {font-size: 85%; background:#fafafa; border-color:#eee !important; padding-top:3px !important; padding-bottom:3px !important;}
tr.subrecord td:first-child {border-left:3px solid #ddd !important;}


#device-details-task-manager thead th:not(:nth-child(2)) {
    text-align: right !important; margin:0 0 0 0 !important;
    padding-right:15px;
}
#device-details-task-manager thead tr:first-child th{
    padding-right:10px; font-weight:normal; font-size:110%;
    border-bottom:0px solid white;
    padding-bottom:0; margin-bottom:0;
    position:relative; bottom:-10px; opacity:0.8;
}
#device-details-task-manager thead th:before,
#device-details-task-manager thead th:after{right:0 !important;}
#device-details-modal .modal-footer .status-msg {position: absolute; left: 30px; font-size: 80%; color: #888;}
#device-details-modal .device-details-modal-loader {
    display: flex;
    width: 100%;
    min-height: 240px;
    padding: 1rem;
}
.ui-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.1;
}
.ui-status-badge i {
    font-size: 0.5rem;
}
.ui-status-badge--enabled,
.ui-status-badge--online {
    color: #146c43;
    background: #d1e7dd;
}
.ui-status-badge--disabled,
.ui-status-badge--offline {
    color: #842029;
    background: #f8d7da;
}
.ui-status-badge--warning {
    color: #9a6700;
    background: #fef0c7;
}
.ui-status-badge--neutral {
    color: #495057;
    background: #e9ecef;
}
.data-table-shell .users-toolbar {
    margin-bottom: 1rem;
}
.ui-action-card {
    height: 100%;
}
.ui-action-card .card-body {
    display: flex;
    flex-direction: column;
}
.ui-action-card__button {
    margin-top: auto;
}

.ui-table-actions {
    position: relative;
}

.ui-table-actions__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #5f6c7b;
    border-radius: 999px;
}

.ui-table-actions__trigger:hover,
.ui-table-actions__trigger:focus {
    background: #f3f6fa;
    color: #24324b;
    outline: 0;
}

.ui-table-actions__trigger i {
    font-size: 16px;
    line-height: 1;
}

.ui-table-actions__menu .dropdown-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 5px 15px;
    transition: 0.3s;
}

.ui-table-actions__menu .dropdown-item i {
    font-size: 14px;
    line-height: 1;
}

.ui-table-actions__menu--floating {
    z-index: 1085;
}

.ui-dropdown-delete {
    background: #dc3545;
    color: #ffffff;
}

.ui-dropdown-delete:hover,
.ui-dropdown-delete:focus {
    background: #bb2d3b;
    color: #ffffff;
}

.ui-dropdown-delete > span,
.ui-dropdown-delete > i.bi,
.ui-dropdown-delete > i.bi:before {
    color: #ffffff !important;
}


span.timeline-slice-wrapper {
    display: block;
    width: 100%;
    background: pink;
    min-width: 500px;
    position: relative;
    min-height: 20px;
}
span.timeline-slice-wrapper{margin:-10px; height:36px;
    display: block;
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
    min-width: 500px;
    position: relative;}
span.timeline-slice-wrapper a{
    display:inline-block; position:absolute; height:36px; background:green;
    width:0.34722%; cursor:help; z-index:2;
}

span.timeline-slice-wrapper a:hover{box-shadow:0 0 3px red inset;}
span.timeline-slice-wrapper a span.tooltip{
    display:none; font-size:11px; color:#111;
}
span.timeline-slice-wrapper a span.tooltip:before{
    display:block; content:"";
    bottom:-10px; right:0px; position:absolute; width:0; height:0;
    border-right:10px solid transparent; border-top:10px solid #eee5b3;
    border-left:10px solid transparent;
}
span.timeline-slice-wrapper a:hover span.tooltip{
    display:block !important; position:absolute;
    bottom:35px; top:auto; right:-9px; left:auto; width:200px; height:auto;
    z-index:1000000 !important; visibility:visible; opacity:1;
    background:#fff4c0 !important;
    box-shadow:0 0 10px 0 rgba(0, 0, 0, 0.1) inset, 3px 3px 5px rgba(0, 0, 0, 0.3);
    border-radius:5px 5px 0 5px; padding:5px 7px;
}

span.timeline-slice-wrapper a.score-30{background:red;}
span.timeline-slice-wrapper a.score-50{background:#ff6a00;}
span.timeline-slice-wrapper a.score-70{background:#ffa400;}
span.timeline-slice-wrapper a.score-90{background:#4c9e00;}

span.timeline-slice-headers {
    display: block;
    position: relative;
    margin: -10px;
    width: 100%;
    bottom:0px;
    height:20px;
    left:0;
    right:0;
}
span.timeline-slice-headers span{
    display:inline-block; position:absolute; font-weight:normal;
    font-size:10px; border-left:1px solid #ccc; padding: 0 2px 2px 3px;
    margin:10px 0 -10px 0; min-width:2px; min-height:3px; bottom:0;
    background:white; line-height:15px;
}
span.timeline-slice-headers span[data-label]:after{content:attr(data-label);}
span.timeline-slice-wrapper .timeline-line{
    display:inline-block; position:absolute; border-left:1px solid #eaeaea;min-width:2px; min-height:40px;
    z-index:1;
}



tr.subheader td{
    vertical-align: middle;
    border-top: none;
    font-weight: bold;
    background-color: white !important;
    text-align: left;
    font-size:18px;
    padding-top:20px !important;
    padding-bottom:7px !important;
    border-bottom:1px solid #ccc !important;
    border-top:1px solid #eee !important;
}

table td{
    border-top:1px solid #ddd !important;
    border-bottom:0px solid white !important;
}


#ws-devices tbody tr td:first-child {
    padding-left: 0.75rem;
}
#ws-devices tbody tr td:first-child:before {
    content: none;
}
#ws-devices tbody tr td:first-child .device-label-link,
#ws-devices tbody tr td:first-child .device-presence-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
#ws-devices tbody tr td:first-child .device-presence-dot {
    width: 10px;
    height: 10px;
    display: inline-block;
    flex: 0 0 10px;
    border-radius: 999px;
    background: #adb5bd;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
#ws-devices tbody tr td:first-child .device-presence-dot--online { background: #22c55e; }
#ws-devices tbody tr td:first-child .device-presence-dot--recently-online { background: #f59e0b; }
#ws-devices tbody tr td:first-child .device-presence-dot--online-last-24-hours { background: #fdba74; }
#ws-devices tbody tr td:first-child .device-presence-dot--offline { background: #9ca3af; }

.select2-container .select2-choice {
    box-shadow: none;
    border: 0px solid white;
    background: transparent;
    background-image: none;
    outline: none;
    margin: -1px -7px;
}

.select2-container .select2-choice div {
    background: transparent;
    background-image: none;
    border-left: 1px solid #ddd;
}

.select2-container:focus, .select2-container:has(:focus),
.select2-container:active, .select2-container:has(:active),
.select2-container.select2-container-active,
.select2-container.select2-dropdown-open {
    border-color: rgba(13, 136, 171, 0.4) !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 136, 171, 0.16) !important;
}

.select2-drop {
    transform: translateY(-3px);
    border-color: rgba(13, 136, 171, 0.4) !important;
}

.select2-container .select2-choice span {
    color: #444;
}

.select2-container-multi .select2-choices {
    border: 0px solid white !important;
    background: transparent;
    background-image: none;
    outline: none;
    box-shadow: none !important;
}

.dropdown-menu-button .dropdown-menu {
    margin-top: 25px;
}

@media (min-width: 768px) {
    .dropdown-menu-button .dropdown-menu-arrow::before {
        left: 9px;
        right: auto;
    }
}
