﻿/* Flux design system - global visual layer */
:root {
    --font-body: "Manrope", "Segoe UI", sans-serif;
    --font-display: "Sora", "Trebuchet MS", sans-serif;

    --rojo: #d63b3b;
    --rojo-fuerte: #b4232f;
    --rojo-claro: #ffd6d6;
    --azul-oscuro: #11314f;
    --azul: #2a5d87;
    --azul-claro: #8fbad8;
    --amarillo: #f5c86e;
    --negro: #1e2833;
    --gris-claro: #eff3f8;
    --gris: #7a8798;
    --gris-oscuro: #485768;
    --blanco: #ffffff;

    --brand: #2d6a9f;
    --brand-strong: #1f4e77;
    --brand-soft: #d9eaf8;
    --success-soft: #def6ea;
    --warning-soft: #fff3d9;
    --danger-soft: #ffe0df;

    --bg-app: #f4f8fc;
    --bg-panel: #ffffff;
    --bg-elevated: #f8fbff;
    --line: #dbe6f2;
    --line-strong: #c5d4e4;

    --text-strong: #1a2a3b;
    --text: #3f5368;
    --text-soft: #708298;

    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 22px;

    --shadow-sm: 0 8px 20px rgba(17, 49, 79, 0.06);
    --shadow-md: 0 14px 34px rgba(17, 49, 79, 0.1);
    --shadow-nav: 0 18px 42px rgba(12, 32, 52, 0.24);

    --focus-ring: 0 0 0 3px rgba(45, 106, 159, 0.2);
    --shell-x: 14px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-strong);
    background:
        radial-gradient(
            900px 420px at 8% -5%,
            rgba(45, 106, 159, 0.18),
            transparent 66%
        ),
        radial-gradient(
            760px 360px at 100% -10%,
            rgba(182, 211, 236, 0.55),
            transparent 70%
        ),
        linear-gradient(180deg, #f8fbff 0%, var(--bg-app) 100%);
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-strong);
}

h1,
h2,
h3,
h4,
h5,
h6,
.fw-semibold,
.fw-bold {
    font-family: var(--font-display);
    color: var(--text-strong);
    letter-spacing: 0.01em;
}

hr {
    margin: 0.8rem 0;
    border-top: 1px solid var(--line);
    opacity: 1;
}

#app {
    position: relative;
    z-index: auto;
}

#app.container-fluid {
    max-width: none;
    padding-left: var(--shell-x);
    padding-right: var(--shell-x);
}

.container-fluid {
    max-width: 1680px;
}

.c-rojo-fuerte {
    color: var(--rojo-fuerte) !important;
}

.small,
small,
.text-muted {
    color: var(--text-soft) !important;
}

.border,
.table,
.list-group-item,
.card,
.modal-content,
.input-group-text,
.form-control,
.form-select,
.btn,
.dropdown-menu {
    border-color: var(--line) !important;
}

/* ---------- Top nav and side nav ---------- */
.flux-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    margin: 10px var(--shell-x) 0;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.hs-menubar {
    --bs-gutter-x: 0;
    min-height: 64px;
    padding: 0 0.3rem 0 0;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    width: 100%;
    max-width: none;
}

.menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: transparent;
    border: 0 !important;
    box-shadow: none;
    padding: 0;
    margin-right: 0.2rem;
    color: var(--text-strong);
    font-size: 1.45rem;
    line-height: 1;
}

.menu-trigger:hover,
.menu-trigger:focus {
    background: rgba(42, 93, 135, 0.09);
    box-shadow: none;
}

.menu-trigger i {
    font-size: 1.45rem;
}

.topbar-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.topbar-title strong {
    font-size: 0.95rem;
}

.topbar-title span {
    font-size: 0.75rem;
    color: var(--text-soft);
}

.flux-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-elevated);
    color: var(--text);
    font-size: 0.8rem;
    white-space: nowrap;
}

.flux-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #35b57a;
    box-shadow: 0 0 0 4px rgba(53, 181, 122, 0.18);
}

.hs-navigation {
    width: 320px;
    max-width: calc(100vw - 28px);
    height: calc(100vh - 88px);
    position: fixed;
    top: 78px;
    left: 14px;
    z-index: 1015;
    overflow: auto;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(175deg, #12334f 0%, #0f253c 100%);
    color: #d6e6f6;
    box-shadow: var(--shadow-nav);
    transform: translateX(-118%);
    transition: transform 0.28s ease;
}

.hs-navigation.open {
    transform: translateX(0);
}

.dim-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 22, 36, 0.45);
    z-index: 1010;
    backdrop-filter: blur(2px);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 12px;
    font-size: 0.84rem;
}

.nav-links li {
    margin-bottom: 4px;
}

.nav-links .its-parent,
.nav-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    color: #d6e6f6;
    text-decoration: none;
    border: 1px solid transparent;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.nav-links .its-parent:hover,
.nav-links li a:hover {
    color: #f3f8ff;
    border-color: rgba(159, 196, 230, 0.35);
    background: rgba(100, 156, 201, 0.16);
}

.nav-links li a.downed {
    color: #f3f8ff;
    border-color: rgba(159, 196, 230, 0.4);
    background: rgba(100, 156, 201, 0.24);
}

.nav-links .icon {
    width: 20px;
    display: inline-flex;
    justify-content: center;
    color: #b4d2ee;
}

.nav-links .its-children {
    display: none;
    list-style: none;
    margin: 6px 0 8px 14px;
    padding: 8px 8px 2px;
    border-left: 1px dashed rgba(166, 204, 236, 0.28);
}

.nav-links .its-children li a {
    font-size: 0.8rem;
    padding: 8px 10px;
}

.its-parent::after {
    content: "\F285";
    margin-left: auto;
    font-family: Bootstrap-icons;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.its-parent.downed {
    border-color: rgba(159, 196, 230, 0.4);
    background: rgba(100, 156, 201, 0.22);
}

.its-parent.downed::after {
    transform: rotate(90deg);
}

.hs-navigation::-webkit-scrollbar {
    width: 8px;
}

.hs-navigation::-webkit-scrollbar-thumb {
    background: rgba(170, 210, 242, 0.35);
    border-radius: 999px;
}

/* ---------- Bootstrap visual overrides ---------- */
.card {
    border-radius: var(--radius-md);
    background: var(--bg-panel);
    box-shadow: var(--shadow-sm);
}

.card-header {
    border-bottom: 1px solid var(--line) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
    padding: 0.85rem 1rem;
}

.card-body,
.card-footer {
    padding: 1rem;
}

.list-group-item {
    background: var(--bg-panel);
}

.form-control,
.form-select,
.input-group-text {
    min-height: 38px;
    border-radius: var(--radius-xs);
    color: var(--text-strong);
    background: #ffffff;
}

.form-control::placeholder {
    color: #97a7b8;
}

.form-control:focus,
.form-select:focus,
.btn:focus,
.btn-check:focus + .btn,
.form-check-input:focus {
    border-color: rgba(45, 106, 159, 0.45) !important;
    box-shadow: var(--focus-ring) !important;
}

.form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.input-group .btn {
    border-radius: var(--radius-xs);
}

.btn {
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-sm {
    border-radius: 9px;
    padding: 0.34rem 0.65rem;
}

.btn-primary {
    background: linear-gradient(175deg, #3878af 0%, #255d8f 100%);
    border-color: #255d8f !important;
}

.btn-primary:hover,
.btn-primary:active {
    background: linear-gradient(175deg, #326b9b 0%, #1f4e77 100%) !important;
}

.btn-outline-primary {
    color: var(--brand-strong);
    border-color: rgba(45, 106, 159, 0.38);
    background: rgba(223, 239, 252, 0.36);
}

.btn-outline-primary:hover,
.btn-outline-primary:active {
    color: #ffffff;
    border-color: var(--brand-strong);
    background: var(--brand-strong);
}

.btn-outline-secondary {
    color: var(--text);
    border-color: #c9d7e5;
    background: #f8fbff;
}

.btn-outline-success {
    color: #1e7f52;
    border-color: rgba(30, 127, 82, 0.42);
    background: rgba(222, 246, 234, 0.52);
}

.btn-outline-danger {
    color: #aa3142;
    border-color: rgba(170, 49, 66, 0.42);
    background: rgba(255, 224, 223, 0.52);
}

/* ---------- Patrones de acciones en tablas ---------- */
.table-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.table-action-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.table-action-btn i {
    font-size: 0.9rem;
    line-height: 1;
}

.table {
    margin-bottom: 0;
    color: var(--text);
}

.table > :not(caption) > * > * {
    padding: 0.55rem 0.6rem;
    border-bottom-color: #e8eff7;
}

.table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-soft);
    background: #f6faff;
    border-bottom-color: #d7e4f2;
}

.table-hover > tbody > tr:hover > * {
    background: #f4f8fd;
}

.badge {
    border-radius: 999px;
    padding: 0.32rem 0.54rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.bg-light,
.text-bg-light {
    background-color: #eef4fb !important;
    color: var(--text) !important;
}

.alert {
    border-radius: var(--radius-sm);
    border-width: 1px;
}

.modal-content {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.modal {
    z-index: 2000 !important;
}

.modal-backdrop {
    z-index: 1990 !important;
}

.modal-header,
.modal-footer {
    background: #fbfdff;
}

.modal-backdrop.show {
    opacity: 0.32;
}

.toast {
    border: 1px solid var(--line) !important;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.toast-header {
    background: #f8fbff;
}

/* ---------- App helpers ---------- */
.flux-page {
    animation: fluxFade 0.24s ease;
}

@keyframes fluxFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-bank,
.page-dte,
.page-matchs {
    color: var(--text);
}

.wrap-table,
.mov-table-wrap,
.dte-table-wrap,
.xml-doc,
.xml-box {
    border-color: var(--line) !important;
    border-radius: var(--radius-sm) !important;
}

.subline {
    color: var(--text-soft) !important;
}

/* ---------- Home dashboard ---------- */
.home-dashboard {
    --home-ink: var(--text-strong);
    --home-muted: rgba(26, 42, 59, 0.66);
}

.home-dashboard .pill-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 0.2rem;
}

.home-dashboard .pill-nav .btn {
    border-radius: 999px;
    font-weight: 800;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
    color: rgba(26, 42, 59, 0.74);
    white-space: nowrap;
    box-shadow: none;
}

.home-dashboard .pill-nav .btn.active {
    background: var(--brand-strong);
    border-color: var(--brand-strong);
    color: #fff;
}

.home-dashboard .home-section-title {
    font-weight: 800;
    color: var(--home-ink);
    margin: 0.25rem 0 0.65rem;
}

.home-dashboard .kpi {
    border: 0;
    border-radius: var(--radius-md);
    background: var(--bg-panel);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    height: 100%;
}

.home-dashboard .kpi::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.12));
    opacity: 0.88;
}

.home-dashboard .kpi.primary::before {
    background: linear-gradient(180deg, #2e7cd4, rgba(46, 124, 212, 0.12));
}

.home-dashboard .kpi.success::before {
    background: linear-gradient(180deg, #2ca86f, rgba(44, 168, 111, 0.12));
}

.home-dashboard .kpi.warning::before {
    background: linear-gradient(180deg, #e6ad2d, rgba(230, 173, 45, 0.16));
}

.home-dashboard .kpi.danger::before {
    background: linear-gradient(180deg, #d35e55, rgba(211, 94, 85, 0.14));
}

.home-dashboard .kpi.dark::before {
    background: linear-gradient(180deg, #2f4f6d, rgba(47, 79, 109, 0.16));
}

.home-dashboard .kpi .hd {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 14px 16px 0;
    gap: 12px;
}

.home-dashboard .kpi .label {
    color: rgba(26, 42, 59, 0.66);
    font-size: 0.86rem;
    margin: 0;
}

.home-dashboard .kpi .icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.12);
    flex: 0 0 auto;
}

.home-dashboard .bg-primary-g {
    background: linear-gradient(180deg, rgba(56, 120, 175, 0.94), #255d8f);
}

.home-dashboard .bg-success-g {
    background: linear-gradient(180deg, rgba(52, 151, 105, 0.94), #258656);
}

.home-dashboard .bg-warning-g {
    background: linear-gradient(180deg, rgba(230, 173, 45, 0.95), #d39d25);
    color: #1f2d3b;
}

.home-dashboard .bg-danger-g {
    background: linear-gradient(180deg, rgba(211, 94, 85, 0.95), #c0473d);
}

.home-dashboard .bg-dark-g {
    background: linear-gradient(180deg, rgba(39, 69, 96, 0.95), #23445f);
}

.home-dashboard .kpi .bd {
    padding: 10px 16px 16px;
}

.home-dashboard .kpi .amount {
    font-weight: 900;
    color: var(--home-ink);
    font-size: 1.34rem;
    margin: 0;
}

.home-dashboard .kpi .meta {
    margin-top: 8px;
    color: rgba(26, 42, 59, 0.62);
    font-size: 0.82rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.home-dashboard .badge-soft {
    border-radius: 999px;
    padding: 0.26rem 0.55rem;
    font-weight: 800;
    background: rgba(108, 117, 125, 0.12);
    color: rgba(26, 42, 59, 0.76);
}

.home-dashboard .kpi .ft {
    padding: 0 16px 16px;
}

.home-dashboard .kpi .progress {
    height: 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
}

.home-dashboard .panel {
    border: 0;
    border-radius: var(--radius-md);
    background: var(--bg-panel);
    box-shadow: var(--shadow-sm);
}

.home-dashboard .donut-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-dashboard .donut {
    width: 86px;
    height: 86px;
    border-radius: 999px;
    background: conic-gradient(#2ca86f var(--p), rgba(0, 0, 0, 0.1) 0);
    position: relative;
    flex: 0 0 auto;
}

.home-dashboard .donut::after {
    content: "";
    position: absolute;
    inset: 10px;
    background: #fff;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.home-dashboard .donut-val {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--home-ink);
    z-index: 2;
}

.home-dashboard .spark {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 64px;
    padding: 6px 2px;
}

.home-dashboard .spark .bar {
    width: 12px;
    border-radius: 8px;
    background: rgba(56, 120, 175, 0.2);
    position: relative;
}

.home-dashboard .spark .bar .fill {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(56, 120, 175, 0.74), #255d8f);
}

.home-dashboard .spark .bar .tip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -22px;
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(26, 42, 59, 0.78);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.12s ease;
}

.home-dashboard .spark .bar:hover .tip {
    opacity: 1;
}

.home-dashboard .list-clean .rowline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.62rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    gap: 0.75rem;
}

.home-dashboard .list-clean .rowline:last-child {
    border-bottom: 0;
}

.home-dashboard .link-soft {
    text-decoration: none;
    color: var(--brand);
    font-weight: 800;
}

.home-dashboard .link-soft:hover {
    text-decoration: underline;
}

.home-dashboard .muted {
    color: var(--home-muted);
}

.home-dashboard .docs-grid .kpi .amount {
    font-size: 1.2rem;
}

@media (max-width: 991.98px) {
    .home-dashboard .kpi .amount {
        font-size: 1.18rem;
    }
}

/* ---------- Balance dashboard ---------- */
.balance-dashboard .balance-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.balance-dashboard .balance-period-form {
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.balance-dashboard .balance-chart {
    min-height: 300px;
    height: 300px;
}

.balance-dashboard .kpi.kpi-compact .hd {
    padding: 10px 14px 0;
}

.balance-dashboard .kpi.kpi-compact .label {
    margin-bottom: 0 !important;
}

.balance-dashboard .kpi.kpi-compact .icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.balance-dashboard .kpi.kpi-compact .bd {
    padding: 8px 14px 10px;
}

.balance-dashboard .kpi.kpi-compact .amount {
    font-size: 1.15rem;
}

.balance-dashboard .kpi.kpi-compact .meta {
    margin-top: 6px;
    font-size: 0.78rem;
}

.balance-dashboard .kpi.kpi-compact .ft {
    padding: 0 14px 12px;
}

.balance-dashboard .kpi.kpi-compact .ft small {
    margin-top: 4px !important;
}

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

.balance-dashboard .variation-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.balance-dashboard .variation-pill.up {
    background: rgba(44, 168, 111, 0.16);
    color: #1f7b54;
}

.balance-dashboard .variation-pill.down {
    background: rgba(211, 94, 85, 0.16);
    color: #b1413a;
}

.balance-dashboard .variation-pill.flat {
    background: rgba(59, 78, 99, 0.12);
    color: #3c4f64;
}

.balance-dashboard .pmc-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.balance-dashboard .pmc-pill.na {
    background: rgba(59, 78, 99, 0.12);
    color: #3c4f64;
}

.balance-dashboard .pmc-pill.pressure {
    background: rgba(211, 94, 85, 0.16);
    color: #b1413a;
}

.balance-dashboard .pmc-pill.balanced {
    background: rgba(44, 168, 111, 0.16);
    color: #1f7b54;
}

.balance-dashboard .pmc-pill.defensive {
    background: rgba(31, 78, 119, 0.14);
    color: #1f4e77;
}

.balance-dashboard .pmc-pill.counter {
    background: rgba(217, 164, 65, 0.2);
    color: #8b6515;
}

.balance-dashboard .pmc-pill.neutral {
    background: rgba(42, 93, 135, 0.12);
    color: #2f5575;
}

.balance-dashboard .pmc-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-strong);
}

.balance-dashboard .finance-kpi-help {
    border: 1px solid rgba(26, 42, 59, 0.08);
    border-radius: 12px;
    background: #fbfdff;
    padding: 0.85rem 0.95rem;
    height: 100%;
}

.balance-dashboard .finance-kpi-help h6 {
    font-size: 1rem;
    margin: 0;
}

.balance-dashboard .finance-kpi-help .formula {
    font-family: var(--font-display);
    color: #1f4e77;
    font-weight: 700;
}

.balance-dashboard .finance-kpi-help p {
    font-size: 0.88rem;
    color: var(--text);
}

@media (max-width: 991.98px) {
    .balance-dashboard .balance-chart {
        min-height: 260px;
        height: 260px;
    }
}

/* ---------- Tabulator ---------- */
.tabulator {
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.tabulator .tabulator-header {
    border-bottom: 1px solid #d7e4f2 !important;
    background: #f6faff !important;
}

.tabulator .tabulator-header .tabulator-col {
    background: #f6faff !important;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.72rem;
}

.tabulator-header-filter input {
    padding: 4px 7px !important;
    font-size: 11px !important;
    border-radius: 6px !important;
    border: 1px solid var(--line) !important;
}

.tabulator-row {
    border-bottom-color: #e8eff7 !important;
}

.tabulator-row .tabulator-responsive-collapse table {
    width: 100% !important;
}

.tabulator-row .tabulator-responsive-collapse table tr {
    border-bottom: 0.1px dashed #c6d8ea !important;
}

.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type {
    padding-right: 10px !important;
    width: 25% !important;
}

/* ---------- Misc ---------- */
.tooltip.show {
    opacity: 0.92 !important;
}

.tooltip {
    z-index: 2105 !important;
}

@media (max-width: 991.98px) {
    :root {
        --shell-x: 8px;
    }

    .flux-topbar {
        margin: 8px var(--shell-x) 0;
        border-radius: var(--radius-md);
    }

    .hs-navigation {
        top: 74px;
        left: 8px;
        height: calc(100vh - 82px);
    }

    .topbar-title {
        display: none;
    }

    .flux-status-pill {
        display: none;
    }

    .card-header,
    .card-body,
    .card-footer {
        padding-left: 0.78rem;
        padding-right: 0.78rem;
    }
}
