body.app {
    background: #f5f7fb;
}

.main {
    background: #f5f7fb;
}

.future-dashboard-header {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin: 0 0 18px;
    padding: 0 12px;
}

.future-dashboard-heading .page-title {
    color: #161b2e;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
}

.future-dashboard-subtitle,
.future-dashboard-date small {
    color: #7b8497;
}

.future-dashboard-date {
    color: #161b2e;
    font-weight: 600;
}

.future-kpi-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.future-kpi-card,
.future-panel {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

.future-kpi-card {
    display: flex;
    gap: 14px;
    min-height: 138px;
    overflow: hidden;
    padding: 18px;
    position: relative;
}

.future-kpi-card::after {
    background: radial-gradient(circle, rgba(22, 27, 46, .08), transparent 58%);
    content: "";
    height: 130px;
    position: absolute;
    right: -48px;
    top: -52px;
    width: 130px;
}

#crudTable tbody td .crud-row-actions-dropdown,
.preventivo-actions-dropdown {
    position: relative;
}

#crudTable tbody tr.crud-row-actions-row-open,
#crudTable tbody td.crud-row-actions-cell-open {
    position: relative;
    z-index: 1055;
}

#crudTable tbody td .crud-row-actions-dropdown.show,
#crudTable tbody td .crud-row-actions-dropdown .crud-row-actions-menu.show,
.preventivo-actions-dropdown.show,
.preventivo-actions-dropdown .preventivo-actions-menu.show {
    z-index: 1060;
}

#crudTable tbody td .crud-row-actions-menu,
.crud-row-actions-menu-open,
.preventivo-actions-dropdown .preventivo-actions-menu {
    background: #fff !important;
    border: 1px solid rgba(15, 23, 42, .12);
    color: #0f172a;
    min-width: 210px;
    padding: .35rem 0;
    z-index: 1060;
}

.crud-row-actions-menu-open {
    box-shadow: 0 18px 38px rgba(15, 23, 42, .22);
    display: block;
    opacity: 1;
}

#crudTable tbody td .crud-row-actions-menu {
    box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
}

#crudTable tbody td .dropup .crud-row-actions-menu {
    bottom: 100%;
    margin-bottom: .125rem;
    margin-top: 0;
    top: auto;
}

#crudTable tbody td.crud-row-actions-cell-open .crud-row-actions-menu {
    opacity: 1;
}

#crudTable_wrapper .table-footer {
    position: relative;
    z-index: 1;
}

#crudTable tbody td .crud-row-actions-dropdown.show {
    z-index: 1060;
}

#crudTable tbody td .crud-row-actions-dropdown.show .crud-row-actions-menu {
    z-index: 1060;
}

#crudTable tbody td .crud-row-actions-menu .dropdown-divider,
.crud-row-actions-menu-open .dropdown-divider,
.preventivo-actions-dropdown .preventivo-actions-menu .dropdown-divider {
    border-top-color: rgba(15, 23, 42, .1);
}

#crudTable tbody td .crud-row-actions-menu .dropdown-item,
.crud-row-actions-menu-open .dropdown-item,
.preventivo-actions-dropdown .dropdown-item {
    align-items: center;
    color: #0f172a;
    display: flex;
    gap: .45rem;
    line-height: 1.35;
    padding: .55rem 1rem;
    white-space: nowrap;
}

#crudTable tbody td .crud-row-actions-menu .dropdown-item i,
.crud-row-actions-menu-open .dropdown-item i,
.preventivo-actions-dropdown .dropdown-item i {
    color: #64748b;
    width: 1rem;
}

#crudTable tbody td .crud-row-actions-menu .dropdown-item:hover,
#crudTable tbody td .crud-row-actions-menu .dropdown-item:focus,
.crud-row-actions-menu-open .dropdown-item:hover,
.crud-row-actions-menu-open .dropdown-item:focus,
.preventivo-actions-dropdown .dropdown-item:hover,
.preventivo-actions-dropdown .dropdown-item:focus {
    background: #eef4ff;
    color: #0b1f44;
}

#crudTable tbody td .crud-row-actions-menu .dropdown-item.text-danger,
#crudTable tbody td .crud-row-actions-menu .dropdown-item.text-danger i,
.crud-row-actions-menu-open .dropdown-item.text-danger,
.crud-row-actions-menu-open .dropdown-item.text-danger i,
.preventivo-actions-dropdown .dropdown-item.text-danger,
.preventivo-actions-dropdown .dropdown-item.text-danger i {
    color: #dc2626 !important;
}

.future-kpi-icon {
    align-items: center;
    border-radius: 14px;
    color: #fff;
    display: flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.future-kpi-icon i {
    font-size: 24px;
}

.future-kpi-icon.bg-green {
    background: #31a66a;
}

.future-kpi-icon.bg-blue {
    background: #2f6fed;
}

.future-kpi-icon.bg-violet {
    background: #7764e4;
}

.future-kpi-icon.bg-amber {
    background: #f59e0b;
}

.future-kpi-body {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.future-kpi-label {
    color: #7b8497;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.future-kpi-value {
    color: #161b2e;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    margin-top: 8px;
}

.future-kpi-delta {
    color: #7b8497;
    font-size: 13px;
    margin-top: 4px;
}

.future-kpi-link {
    color: #161b2e;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    margin-top: 12px;
}

.future-panel {
    margin-bottom: 16px;
}

.future-panel .card-header,
.future-panel-header {
    background: transparent;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    min-height: 62px;
    padding: 16px 18px;
}

.future-panel .card-body {
    padding: 18px;
}

.future-panel h5 {
    color: #161b2e;
    font-size: 16px;
    font-weight: 700;
}

.future-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.future-list-item {
    align-items: center;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 12px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 14px;
}

.future-list-title {
    color: #161b2e;
    font-weight: 700;
}

.future-list-meta {
    color: #7b8497;
    font-size: 13px;
}

.future-badge {
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    white-space: nowrap;
}

.future-badge.green {
    background: #31a66a;
}

.future-badge.orange {
    background: #f59e0b;
}

.future-badge.dark {
    background: #111827;
}

.future-mini-tabs {
    background: #f1f4f8;
    border-radius: 999px;
    display: inline-flex;
    gap: 4px;
    padding: 4px;
}

.future-mini-tabs a,
.future-mini-tabs button {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
}

.future-mini-tabs a.active,
.future-mini-tabs button.active {
    background: #161b2e;
    color: #fff;
}

.future-progress {
    background: #eef2f7;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.future-progress span {
    background: #31a66a;
    display: block;
    height: 100%;
}

.future-quarter-board {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.future-quarter-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.future-quarter-item {
    border-radius: 12px;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 120px;
    justify-content: space-between;
    min-width: 0;
    padding: 14px 16px;
}

.future-quarter-item.blue {
    background: #3f7fcd;
}

.future-quarter-item.violet {
    background: #7764e4;
}

.future-quarter-head {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.future-quarter-head i {
    flex: 0 0 auto;
    font-size: 24px;
}

.future-quarter-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
}

.future-quarter-values {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.2;
}

.future-quarter-values span {
    align-items: center;
    color: rgba(255, 255, 255, .78);
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    min-width: 0;
}

.future-quarter-values strong {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
    white-space: nowrap;
}

.future-quarter-total {
    border-top: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding-top: 6px;
    text-transform: uppercase;
    white-space: nowrap;
}

.table.card,
.card-table {
    border-radius: 16px;
    overflow: hidden;
}

.future-dashboard-table .table th,
.future-dashboard-table .table td {
    padding: 12px 14px;
    vertical-align: middle;
    white-space: nowrap;
}

.future-dashboard-table .table td:first-child,
.future-dashboard-table .table td:nth-child(2),
.future-dashboard-table .table td:nth-child(3) {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.future-table-toolbar {
    align-items: center;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 14px;
}

.future-table-search {
    max-width: 240px;
}

.future-working-table .table th,
.future-working-table .table td {
    color: #161b2e;
}

.future-working-table .table td:first-child {
    max-width: 380px;
}

.future-working-table .table td:nth-child(2),
.future-working-table .table td:nth-child(3) {
    max-width: 300px;
}

.future-working-table .table td:nth-child(4),
.future-working-table .table td:nth-child(5),
.future-working-table .table td:nth-child(6),
.future-working-table .table td:nth-child(7) {
    width: 1%;
}

@media (max-width: 1199.98px) {
    .future-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .future-quarter-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .future-dashboard-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .future-kpi-grid {
        grid-template-columns: 1fr;
    }

    .future-quarter-row {
        grid-template-columns: 1fr;
    }

    .future-quarter-item {
        height: 120px;
    }

    .future-table-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .future-table-search {
        max-width: none;
    }
}

.gest-extra-topbar-item {
    align-items: center;
    display: flex;
    padding: 0 10px;
}

.gest-extra-badge {
    align-items: center;
    background: #ffc107;
    border: 0;
    border-radius: 999px;
    color: #161b2e;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 7px;
    height: 34px;
    letter-spacing: .03em;
    padding: 0 13px;
    text-transform: uppercase;
    white-space: nowrap;
}

.gest-extra-badge i {
    font-size: 18px;
    line-height: 1;
}

.gest-extra-badge:hover,
.gest-extra-badge:focus {
    background: #f5b400;
    outline: none;
    text-decoration: none;
}

.gest-extra-overlay {
    background: rgba(15, 23, 42, .42);
    bottom: 0;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity .22s ease;
    z-index: 1040;
}

body.gest-extra-open .gest-extra-overlay {
    opacity: 1;
}

.gest-extra-drawer {
    background: #f5f7fb;
    bottom: 0;
    box-shadow: -18px 0 45px rgba(15, 23, 42, .18);
    display: flex;
    flex-direction: column;
    max-width: 560px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform .24s ease;
    width: min(560px, 100vw);
    z-index: 1050;
}

body.gest-extra-open .gest-extra-drawer {
    transform: translateX(0);
}

.gest-extra-drawer-header {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    display: flex;
    justify-content: space-between;
    min-height: 72px;
    padding: 18px 20px;
}

.gest-extra-eyebrow {
    color: #7b8497;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gest-extra-drawer-header h3 {
    color: #161b2e;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    margin: 2px 0 0;
}

.gest-extra-close {
    align-items: center;
    background: #161b2e;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 36px;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.gest-extra-close i {
    font-size: 18px;
}

.gest-extra-drawer-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    padding: 16px;
}

.gest-extra-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    color: #161b2e;
    padding: 20px;
}

.gest-extra-card.yellow {
    background: #ffc107;
}

.gest-extra-card.green {
    background: #49bea0;
}

.gest-extra-card.compact {
    min-height: 132px;
}

.gest-extra-card-head {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.gest-extra-card-head h4 {
    color: #161b2e;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.15;
    margin: 0;
}

.gest-extra-card-head p,
.gest-extra-card p {
    color: #161b2e;
    font-size: 13px;
    line-height: 1.45;
    margin: 4px 0 0;
    text-transform: uppercase;
}

.gest-extra-card-head > i {
    flex: 0 0 auto;
    font-size: 31px;
    line-height: 1;
}

.gest-extra-inline-title {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.gest-extra-list {
    display: flex;
    flex-direction: column;
}

.gest-extra-row {
    align-items: center;
    border-bottom: 1px solid rgba(22, 27, 46, .12);
    display: flex;
    gap: 10px;
    justify-content: space-between;
    min-height: 29px;
    padding: 4px 0;
}

.gest-extra-anchor {
    color: #161b2e;
    text-decoration: none;
}

.gest-extra-anchor:hover,
.gest-extra-anchor:focus {
    color: #161b2e;
    text-decoration: underline;
}

.gest-extra-row.plain {
    border-bottom: 0;
}

.gest-extra-row span,
.gest-extra-row strong {
    color: #161b2e;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.gest-extra-row strong {
    font-weight: 600;
}

.gest-extra-row.with-copy span {
    flex: 1 1 auto;
    min-width: 120px;
}

.gest-extra-row.with-copy strong {
    flex: 0 1 auto;
    overflow-wrap: anywhere;
    text-align: right;
}

.gest-extra-copy {
    align-items: center;
    background: #7764e4;
    border: 0;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 28px;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.gest-extra-copy i {
    font-size: 15px;
}

.gest-extra-link,
.gest-extra-bank {
    color: #161b2e;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.gest-extra-link {
    margin-top: 14px;
}

@media (max-width: 575.98px) {
    .gest-extra-topbar-item {
        padding: 0 4px;
    }

    .gest-extra-badge {
        gap: 5px;
        padding: 0 9px;
    }

    .gest-extra-drawer-body {
        padding: 12px;
    }

    .gest-extra-card {
        padding: 16px;
    }

    .gest-extra-card-head h4 {
        font-size: 22px;
    }

    .gest-extra-row.with-copy {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .gest-extra-row.with-copy strong {
        text-align: left;
    }
}
