:root {
    --bg: #f3f5f4;
    --panel: #ffffff;
    --ink: #173228;
    --muted: #647067;
    --line: #dbe2dd;
    --accent: #0f6c5a;
    --accent-soft: #d9eee7;
    --sidebar: #11251d;
}

body.app-shell {
    margin: 0;
    background: radial-gradient(circle at top left, #e6f0eb, transparent 32%), var(--bg);
    color: var(--ink);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 272px;
    background: linear-gradient(180deg, #10231c, #173228);
    color: #f6faf8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 1.1rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    background: rgba(248, 251, 249, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(219, 226, 221, 0.92);
}

.mobile-menu-btn {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(186, 205, 196, 0.95);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #eff5f2);
    color: #173228;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 8px 18px rgba(23, 50, 40, 0.08);
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.mobile-brand strong {
    display: block;
    font-size: 1rem;
    color: #173228;
    line-height: 1.1;
}

.mobile-brand small {
    display: block;
    color: #5f7067;
    line-height: 1.1;
}

.offcanvas-sidebar {
    background: linear-gradient(180deg, #10231c, #173228);
    color: #f6faf8;
    width: min(86vw, 320px) !important;
}

.offcanvas-sidebar .offcanvas-header {
    padding: 1.1rem 1rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.offcanvas-sidebar .offcanvas-body {
    padding: 1rem;
}

.offcanvas-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.82);
    border-radius: 14px;
    padding: 0.78rem 0.95rem;
}

.offcanvas-sidebar .nav-link:hover,
.offcanvas-sidebar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.brand h1 {
    font-size: 1.05rem;
    margin: 0;
}

.brand small {
    color: rgba(255, 255, 255, 0.7);
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 700;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.78);
    border-radius: 12px;
    padding: 0.72rem 0.95rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.content {
    margin-left: 272px;
    width: calc(100% - 272px);
    padding: 2rem;
    box-sizing: border-box;
}

.content-auth {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.login-wrap {
    width: min(100%, 460px);
}

.login-card {
    border-radius: 28px;
}

.login-wrap-modern {
    width: min(100%, 520px);
}

.login-card-modern {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(205, 220, 214, 0.9) !important;
    background:
        radial-gradient(circle at top right, rgba(213, 236, 227, 0.8), transparent 26%),
        linear-gradient(180deg, #ffffff, #f8fbf9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 26px 48px rgba(23, 50, 40, 0.08) !important;
}

.login-card-modern::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, #0f6c5a, #7dc2a8);
}

.login-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.login-brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #e0f2eb, #f2faf7);
    color: #0f6c5a;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 10px 22px rgba(15, 108, 90, 0.12);
}

.login-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #173228;
}

.login-subtitle {
    color: #5c6f65;
    font-size: 1rem;
    line-height: 1.65;
    max-width: 42ch;
}

.login-input {
    min-height: 50px;
    border-radius: 16px;
}

.login-submit {
    min-height: 52px;
    font-size: 1rem;
    font-weight: 700;
}

.login-help {
    text-align: center;
}

.login-help a {
    color: #0f6c5a;
    text-decoration: none;
    font-weight: 700;
}

.login-help a:hover {
    color: #0b5a4b;
    text-decoration: underline;
}

.eyebrow {
    display: inline-flex;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.page-head {
    margin-bottom: 1.5rem;
}

.page-head h2,
.page-head h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.metric-card {
    position: relative;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 8px solid #6f8f82;
    border-radius: 22px;
    padding: 1.15rem 1.2rem;
    min-height: 124px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.76), transparent 28%),
        linear-gradient(180deg, #eef4f1, #f8fbfa);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 14px 28px rgba(23, 50, 40, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.metric-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, rgba(15, 108, 90, 0.82), rgba(15, 108, 90, 0.1));
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 18px 34px rgba(23, 50, 40, 0.1);
}

.metric-card span {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.metric-card strong {
    font-size: 1.55rem;
    line-height: 1.15;
    color: #19362b;
}

.metric-grid-compact {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.metric-card.compact {
    min-height: 108px;
    padding: 1rem 1.05rem;
}

.metric-card.compact span {
    font-size: 0.84rem;
}

.metric-card.compact strong {
    font-size: 1.35rem;
}

.business-hero-card {
    background:
        radial-gradient(circle at top right, rgba(15, 108, 90, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 249, 0.98));
    border: 1px solid rgba(219, 226, 221, 0.85);
}

.metric-modern {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--metric-border, rgba(212, 223, 217, 0.95));
    border-left: 8px solid var(--metric-accent, #0f6c5a);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.72), transparent 28%),
        linear-gradient(180deg, var(--metric-bg, #f8fbf9), var(--metric-bg-soft, #ffffff));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 14px 30px rgba(23, 50, 40, 0.08);
    filter: saturate(1.03);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.metric-modern::after {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--metric-accent, #0f6c5a), rgba(255, 255, 255, 0.15));
    opacity: 0.95;
}

.metric-modern:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 18px 32px rgba(23, 50, 40, 0.1);
}

.metric-modern span {
    color: var(--metric-text, #526158);
}

.metric-modern strong {
    color: var(--metric-text, #173228);
}

.metric-tone-neutral {
    --metric-border: #b6c9c0;
    --metric-accent: #648c7f;
    --metric-bg: #edf6f2;
    --metric-bg-soft: #fbfdfc;
    --metric-text: #25483c;
    --metric-icon-bg: #d8e9e2;
    --metric-icon-color: #315b4d;
}

.metric-tone-danger {
    --metric-border: #e7b3a6;
    --metric-accent: #d76447;
    --metric-bg: #ffe8e2;
    --metric-bg-soft: #fff9f7;
    --metric-text: #8f341f;
    --metric-icon-bg: #ffd5ca;
    --metric-icon-color: #a2371e;
}

.metric-tone-warning {
    --metric-border: #edcb7d;
    --metric-accent: #dd9d2d;
    --metric-bg: #fff1c9;
    --metric-bg-soft: #fffaf0;
    --metric-text: #8a5806;
    --metric-icon-bg: #ffe3a5;
    --metric-icon-color: #986306;
}

.metric-tone-success {
    --metric-border: #98d5bd;
    --metric-accent: #1f8f77;
    --metric-bg: #dcf6ec;
    --metric-bg-soft: #f7fdfa;
    --metric-text: #0d6554;
    --metric-icon-bg: #c3eddc;
    --metric-icon-color: #0f6a59;
}

.metric-tone-info {
    --metric-border: #abcbe0;
    --metric-accent: #5b93b3;
    --metric-bg: #e3eff8;
    --metric-bg-soft: #f8fbfe;
    --metric-text: #2f607d;
    --metric-icon-bg: #cee1f1;
    --metric-icon-color: #346987;
}

.metric-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.metric-top span:first-child {
    flex: 1;
}

.metric-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: var(--metric-icon-bg, #dff2ea);
    color: var(--metric-icon-color, #0f6c5a);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 6px 14px rgba(23, 50, 40, 0.08);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.alert-strip {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #f8fbfa;
}

.alert-strip.warning {
    background: #fff8ea;
    border-color: #f2d9a6;
}

.alert-strip.danger {
    background: #fff0ed;
    border-color: #efc0b7;
}

.alert-strip.info {
    background: #eef6f3;
    border-color: #cfe1da;
}

.timeline-list {
    display: grid;
    gap: 0.85rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--line);
}

.timeline-date {
    font-weight: 700;
}

.mini-installments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.mini-chip {
    display: inline-flex;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: #eef4f1;
    color: #385146;
    font-size: 0.79rem;
}

.mini-chip.paid {
    background: #ddf3e8;
    color: #0f6c5a;
}

.card {
    border-radius: 24px;
}

.card.border-0.shadow-sm {
    position: relative;
    border: 1px solid rgba(214, 224, 219, 0.92) !important;
    background:
        radial-gradient(circle at top right, rgba(226, 241, 235, 0.62), transparent 24%),
        linear-gradient(180deg, #ffffff, #f9fbfa);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 16px 32px rgba(23, 50, 40, 0.06) !important;
    overflow: hidden;
}

.card.border-0.shadow-sm::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, rgba(15, 108, 90, 0.78), rgba(138, 196, 174, 0.16));
}

.card.border-0.shadow-sm .card-body {
    padding: 1.35rem;
}

.card.border-0.shadow-sm h5,
.card.border-0.shadow-sm h4 {
    font-weight: 800;
    letter-spacing: -0.01em;
}

.traffic-light {
    border-radius: 22px;
    padding: 1.25rem;
    color: #fff;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.traffic-light.green {
    background: linear-gradient(135deg, #0f6c5a, #3d907a);
}

.traffic-light.yellow {
    background: linear-gradient(135deg, #d89b57, #e6bb72);
    color: #173228;
}

.traffic-light.red {
    background: linear-gradient(135deg, #b44d38, #d86c52);
}

.kpi-inline {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.kpi-inline .item {
    background: #f5f8f6;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    min-width: 170px;
}

.reserve-list {
    display: grid;
    gap: 0.9rem;
}

.reserve-item {
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f9fbfa;
}

.recommendation-list {
    display: grid;
    gap: 0.75rem;
}

.recommendation-item {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    background: #fbfcfb;
}

.recommendation-item.warning {
    background: #fff8ea;
}

.recommendation-item.danger {
    background: #fff0ed;
}

.recommendation-item.info {
    background: #eef6f3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stats-grid .stat {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.chart-wrap {
    position: relative;
    height: 290px;
    min-height: 290px;
    max-height: 290px;
    overflow: hidden;
}

.chart-wrap.chart-wrap-main {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
}

.chart-wrap canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.table > :not(caption) > * > * {
    padding: 0.85rem 0.75rem;
}

.table-responsive {
    border: 1px solid rgba(214, 224, 219, 0.95);
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(226, 241, 235, 0.55), transparent 22%),
        linear-gradient(180deg, #ffffff, #f9fbfa);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 14px 28px rgba(23, 50, 40, 0.05);
    overflow: hidden;
}

.table-shell {
    width: 100%;
    overflow-x: auto;
}

.table-modern-shell {
    border: 1px solid rgba(214, 224, 219, 0.95);
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(226, 241, 235, 0.7), transparent 24%),
        linear-gradient(180deg, #ffffff, #f9fbfa);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 16px 32px rgba(23, 50, 40, 0.06);
    overflow: hidden;
}

.table-modern-accent {
    position: relative;
}

.table-modern-accent::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, #0f6c5a, #8ac4ae);
}

.table-compact {
    margin-bottom: 0;
    font-size: 0.88rem;
    table-layout: fixed;
    width: 100%;
}

.table-compact thead th {
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #476459;
    white-space: normal;
    vertical-align: middle;
    background: linear-gradient(180deg, #eef5f2, #f8fbfa);
    border-bottom: 1px solid rgba(214, 224, 219, 0.95);
    font-weight: 800;
}

.table-compact tbody td {
    vertical-align: middle;
    word-break: break-word;
    border-color: rgba(223, 230, 226, 0.9);
    background: rgba(255, 255, 255, 0.9);
}

.table-modern tbody tr:hover {
    background: #f4faf7;
}

.table-modern-body tr:nth-child(even) td {
    background: rgba(247, 250, 248, 0.95);
}

.stacked-cell {
    display: grid;
    gap: 0.38rem;
}

.stacked-cell .line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
}

.stacked-cell .label {
    color: #688075;
    font-size: 0.69rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stacked-cell .value {
    font-weight: 700;
    color: #1f3f33;
}

.pagination .page-link {
    border-radius: 999px;
    margin-right: 0.25rem;
    border-color: rgba(214, 224, 219, 0.95);
    color: #173228;
    background: linear-gradient(180deg, #ffffff, #f3f7f5);
    box-shadow: 0 8px 16px rgba(23, 50, 40, 0.05);
}

.pagination .page-item.active .page-link {
    background: #0f6c5a;
    border-color: #0f6c5a;
    color: #fff;
    box-shadow: 0 10px 18px rgba(15, 108, 90, 0.22);
}

.pagination .page-item.disabled .page-link {
    background: #f4f6f5;
    color: #91a198;
}

.table-compact td.text-end,
.table-compact th.text-end {
    text-align: right;
}

.table {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.table thead th {
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #476459;
    white-space: normal;
    vertical-align: middle;
    background: linear-gradient(180deg, #eef5f2, #f8fbfa);
    border-bottom: 1px solid rgba(214, 224, 219, 0.95);
    font-weight: 800;
}

.table tbody td {
    vertical-align: middle;
    border-color: rgba(223, 230, 226, 0.9);
    background: rgba(255, 255, 255, 0.92);
}

.table tbody tr:nth-child(even) td {
    background: rgba(247, 250, 248, 0.95);
}

.table tbody tr {
    transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

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

.table-hover > tbody > tr:hover {
    transform: translateY(-1px);
}

.form-select.form-select-sm,
.form-control.form-control-sm {
    font-size: 0.88rem;
    border-radius: 14px;
    border-color: rgba(205, 216, 210, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.form-select.form-select-sm:focus,
.form-control.form-control-sm:focus {
    border-color: #74af98;
    box-shadow: 0 0 0 0.2rem rgba(15, 108, 90, 0.12);
}

.table-modern .btn-outline-primary {
    border-radius: 999px;
    border-color: #7ea794;
    color: #0f6c5a;
    background: #f7fbf9;
}

.table-modern .btn-outline-primary:hover {
    background: #0f6c5a;
    border-color: #0f6c5a;
    color: #fff;
}

.form-control,
.form-select,
textarea.form-control {
    border-radius: 14px;
    border: 1px solid rgba(205, 216, 210, 0.95);
    background: linear-gradient(180deg, #ffffff, #f8fbfa);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    min-height: 46px;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: #74af98;
    box-shadow: 0 0 0 0.2rem rgba(15, 108, 90, 0.12);
}

.form-label {
    font-weight: 700;
    color: #385146;
}

textarea.form-control {
    min-height: 112px;
}

.btn-group > .btn {
    border-radius: 999px !important;
}

.btn-primary {
    background: linear-gradient(180deg, #177760, #0f6c5a);
    border-color: #0f6c5a;
    border-radius: 999px;
    box-shadow: 0 12px 20px rgba(15, 108, 90, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(180deg, #0f6c5a, #0b5a4b);
    border-color: #0b5a4b;
}

.btn-outline-primary,
.btn-outline-secondary {
    border-radius: 999px;
}

.btn-outline-primary {
    border-color: #7ea794;
    color: #0f6c5a;
    background: #f7fbf9;
}

.btn-outline-primary:hover {
    background: #0f6c5a;
    border-color: #0f6c5a;
    color: #fff;
}

.btn-outline-secondary {
    border-color: #bccdc5;
    color: #365347;
    background: linear-gradient(180deg, #ffffff, #f3f7f5);
}

.btn-outline-secondary:hover {
    background: #eff5f2;
    color: #173228;
    border-color: #9fb8ac;
}

@media (max-width: 991.98px) {
    .sidebar {
        display: none !important;
    }

    .content {
        margin-left: 0;
        width: 100%;
        padding: 1rem;
    }

    .metric-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-head {
        align-items: flex-start;
    }
}

@media (max-width: 1199.98px) {
    .metric-grid-compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .content {
        padding: 0.85rem;
    }

    .page-head {
        margin-bottom: 1rem;
    }

    .page-head h2 {
        font-size: 1.8rem;
    }

    .brand {
        margin-bottom: 1.2rem;
    }

    .metric-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .metric-card.compact {
        min-height: auto;
    }

    .table-shell {
        overflow: visible;
    }

    .table-responsive-stack thead {
        display: none;
    }

    .table-responsive-stack,
    .table-responsive-stack tbody,
    .table-responsive-stack tr,
    .table-responsive-stack td {
        display: block;
        width: 100%;
    }

    .table-responsive-stack tr {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        margin-bottom: 0.85rem;
        padding: 0.65rem 0.8rem;
        box-shadow: 0 8px 18px rgba(23, 50, 40, 0.05);
    }

    .table-responsive-stack td {
        border: 0;
        padding: 0.45rem 0;
        text-align: left !important;
    }

    .table-responsive-stack td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.18rem;
        color: var(--muted);
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .table-responsive-stack td:last-child {
        padding-bottom: 0;
    }

    .pagination .page-link {
        padding: 0.35rem 0.7rem;
    }
}

@media (max-width: 575.98px) {
    .metric-grid-compact {
        grid-template-columns: 1fr;
    }
}
