@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;500;600&display=swap');

* {
    font-family: 'Urbanist', sans-serif;
}

:root {
    --top-height: 80px;
    --sidebar-width: 280px;
}

html[data-theme="light"] {
    --text-color-01: #000;
    --text-color-02: #050505;
    --text-color-04: #555;

    --text-color-11: #F5F5F5;
}

html[data-theme="dark"] {
    --text-color-01: #FFF;
    --text-color-02: #F5F5F5;
    --text-color-04: #BBB;

    --text-color-11: #212529;
}

html,
body {
    background-color: var(--theme-01);
    color: var(--color-default-01);
    height: 100%;
    overflow: hidden;
}

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

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

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

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

.bg-theme-01 {
    background-color: var(--theme-01) !important;
}

.bg-theme-02 {
    background-color: var(--theme-02) !important;
}

.bg-theme-03 {
    background-color: var(--theme-03) !important;
}

.bg-theme-04 {
    background-color: var(--theme-04) !important;
}

.bg-theme-social {
    background-color: var(--theme-social) !important;
}

.text-theme-01 {
    color: var(--theme-01) !important;
}

.text-theme-02 {
    color: var(--theme-02) !important;
}

.text-theme-03 {
    color: var(--theme-03) !important;
}

.text-theme-04 {
    color: var(--theme-04) !important;
}

.text-theme-21 {
    color: var(--theme-21) !important;
}

.text-theme-22 {
    color: var(--theme-22) !important;
}

.text-theme-23 {
    color: var(--theme-23) !important;
}

.input-top-label {
    position: relative;
}

.input-top-label label {
    white-space: nowrap;
    position: absolute;
    left: 1.5rem;
    top: -10px;
    font-size: .8rem;
    color: var(--color-default-01);
}

.input-top-label::before {
    position: absolute;
    width: 100%;
    height: 2px;
}

.input-top-label input {
    width: 100%;
    background-color: var(--theme-02);
    border: 0;
    padding: 1rem 1.25rem 0.8rem 1.4rem;
    outline: none;
    font-weight: 500;
    border-radius: 4px;
    color: var(--color-default-01);
    font-size: .85rem;
    letter-spacing: .13em;
}

.input-top-label .select-container {
    width: 100%;
    display: flex;
    background-color: var(--theme-02);
    border: 0;
    height: 49px;
    outline: none;
    border-radius: 4px;
}

.input-top-label select {
    width: 100%;
    padding: 1rem 1.25rem 0.8rem 1.4rem;
    height: 100%;
    margin: auto;
    font-weight: 500;
    outline: none;
    color: var(--color-default-01);
    font-size: .85rem;
    border-radius: 4px;
    letter-spacing: .13em;
    background-color: var(--theme-02);
    border: 0;
}

.input-top-label input::placeholder,
.input-top-label select::placeholder {
    color: #3c335d;
    letter-spacing: .1em;
}

.input-top-label .append-text {
    position: absolute;
    bottom: .9rem;
    font-size: .9rem;
    right: 1.2rem;
    color: #8283ab;
    font-weight: 600;
}

@media(min-width: 769px) {
    .input-top-label label {
        left: 1rem;
    }
}

.noty_bar.noty_type__success .noty_progressbar {
    opacity: .4;
    background-color: #d7e2d3;
}

.page-link {
    background-color: var(--theme-02) !important;
    border: 1px solid var(--theme-03) !important;

}

.page-item.active {
    background-color: var(--theme-02) !important;
}

.page-item.active .page-link {
    background-color: rgb(255 255 255 / 5%) !important;
    border-color: var(--theme-31) !important;
}

.form-check-input {
    clear: left;
}

.form-switch.form-switch-sm {
    margin-bottom: 0.5rem;
    /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-sm .form-check-input {
    height: 1rem;
    width: calc(1rem + 0.75rem);
    border-radius: 2rem;
}

.form-switch.form-switch-md {
    margin-bottom: 1rem;
    /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-md .form-check-input {
    height: 1.5rem;
    width: calc(2rem + 0.75rem);
    border-radius: 3rem;
}

.form-switch.form-switch-lg {
    margin-bottom: 1.5rem;
    /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-lg .form-check-input {
    height: 2rem;
    width: calc(3rem + 0.75rem);
    border-radius: 4rem;
}

.form-switch.form-switch-xl {
    margin-bottom: 2rem;
    /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-xl .form-check-input {
    height: 2.5rem;
    width: calc(4rem + 0.75rem);
    border-radius: 5rem;
}

#app {
    display: flex;
    height: 100%;
}

.auth body {
    display: flex;
    flex-direction: column;
}

#sidebar-header,
#topbar-content {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    height: var(--top-height);
}

#topbar {
    background-color: var(--theme-02);
}

#sidebar-content {
    height: 100vh;
}

#content {
    width: 100%;
    /* min-height: calc(100vh - var(--top-height)); */
}

.page-scroller {
    height: 100%;
}

#sidebar-wrapper {
    background-image: var(--sidebar-gradient-color);
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    z-index: 1;
    transform: translateX(-100%);
    box-shadow: 2px 0px 10px rgb(0 0 0 / 12%);
    transition: .4s transform;
}

#sidebar-wrapper .only-collapse {
    display: none;
}

html[data-menu="modern"] #sidebar-wrapper ul {
    padding: 0 0 1rem 0;
}

html[data-menu="modern"] #sidebar-wrapper ul .active a {
    padding: 0.55rem 2.2rem;
}

html[data-menu="modern"] #sidebar-wrapper ul a {
    border-radius: 0;
    padding: 0.35rem 2.2rem;
    font-size: 0.85rem;
}

html[data-menu="modern"][data-member-area] #sidebar-wrapper ul a {
    padding: 0.5rem 2.2rem !important;
}

html[data-menu="modern"][data-member-area] #sidebar-wrapper ul .active a {
    padding: 0.7rem 2.2rem !important;
    margin-bottom: 4px;
}

html[data-menu="modern"] #sidebar-wrapper ul li.active a::before {
    border-radius: 0;
    height: 100%;
    left: 0px;
}

#sidebar-wrapper ul {
    display: flex;
    flex-direction: column;
    padding: 0 2rem 1rem 2rem;
    margin: 0;
    min-height: calc(100vh - 110px);
    list-style: none;
}

#sidebar-wrapper ul a {
    position: relative;
    font-size: 0.875rem;
    padding: 0.35rem 1.2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    color: var(--color-default-01);
    text-decoration: none;
}

#sidebar-wrapper ul li.active a {
    background-color: rgb(255 255 255 / 4%) !important;
}

#sidebar-wrapper ul li i {
    font-size: 1.1em;
    width: 24px;
    opacity: 0.8;
}

#sidebar-wrapper ul li.active i {
    opacity: 0.9;
    color: var(--theme-31);
}

#sidebar-wrapper ul li.active span {
    font-weight: 500;
    color: var(--theme-31);
}

#sidebar-wrapper ul li a img {
    height: 1.1em;
    width: 1.1em;
}

#sidebar-wrapper ul li.active a::before {
    content: '';
    position: absolute;
    width: 4px;
    border-radius: 2px;
    height: 18px;
    left: -16px;
    top: 50%;
    background-color: var(--theme-31);
    transform: translateY(-50%);
}

#sidebar-wrapper ul li i.menu-social-icon {
    min-width: 1.4em;
    height: 1.4em;
    display: flex;
    align-items: center;
    font-size: 18px;
    border-radius: 4px;
    justify-content: center;
    background-color: var(--theme-social);
    color: var(--theme-02);
}

.item-header {
    padding-left: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 13px;
    color: var(--text-color-01);
    opacity: 0.5;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.modal-dark .modal-content {
    background-color: var(--theme-01) !important;
    border: 1px solid var(--theme-03);
}

.modal-dark input {
    background-color: var(--theme-03) !important;
    color: var(--text-color-02) !important;
}

.modal-open #app>div:not([data-blurless]) {
    filter: blur(2px);
}

.custom-table-wrapper {
    overflow: auto;
    padding: 10px 15px;
    border: 1px solid var(--theme-04);
    border-radius: 8px;
}

.custom-table-wrapper table {
    width: 100%;
}

.custom-table-wrapper table tr th:first-child,
.custom-table-wrapper table tr td:first-child {
    text-align: left;
}

.custom-table-wrapper table tr th:last-child,
.custom-table-wrapper table tr td:last-child {
    text-align: right;
}

.custom-table-wrapper table th {
    vertical-align: middle;
    font-weight: 500;
    padding: 6px 10px;
}

.custom-table-wrapper table td {
    vertical-align: middle;
    padding: 4px 10px;
}

.custom-table-wrapper table tbody {
    font-size: 14px;
    color: var(--text-color-04) !important;
}

.noty_theme__mint.noty_type__success {
    background-color: #519b41 !important;
    border-bottom: 1px solid #8ad082 !important;
}

.show-sidebar #sidebar-wrapper {
    transform: translateX(0%);
}

#preloader {
    z-index: 100000;
    display: flex;
    transition: .2s opacity;
}

.spinner-container {
    transition: .2s all;
}

#preloader .spinner-border {
    width: 3rem;
    height: 3rem;
    font-size: 12px
}

#sidebar-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgb(20 20 30 / 70%);
    left: 0;
    top: 0;
    opacity: 0;
    z-index: 9999;
    transform: translateX(100%);
    transition: .4s;
}

.float-parsed-cotation {
    right: 0;
    font-size: 13px;
    margin-top: -11px;
    opacity: .8;
}

.card-result {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.card-result-vertical-line {
    height: 100%;
    position: absolute;
    width: 5px;
    top: 0;
    left: 0;
    opacity: 0.5;
}

.card-result h3 {
    font-weight: 600;
}

.card-result h3.text-success {
    --bs-success-rgb: 36, 206, 118;
}

.badge-success {
    font-weight: 500;
    border: 1px solid rgb(83 213 100 / 81%);
    background-color: rgb(71 193 88 / 19%);
}

.badge-warning {
    font-weight: 500;
    border: 1px solid rgb(227 185 57 / 68%);
    background-color: rgb(150 100 0 / 27%);
}

.badge-danger {
    font-weight: 500;
    border: 1px solid rgb(227 57 57 / 68%);
    background-color: rgb(150 0 0 / 27%);
}

.badge-dark {
    font-weight: 500;
    border: 1px solid rgb(196 206 225 / 68%);
    background-color: rgb(114 126 141 / 27%);
}

.badge-primary {
    font-weight: 500;
    border: 1px solid rgba(23, 101, 246, 0.68);
    background-color: rgba(31, 126, 243, 0.244);
}

.badge-text-colored.badge-success {
    color: rgb(83 213 100 / 91%);
}
.badge-text-colored.badge-warning {
    color: rgb(227 185 57 / 78%);
}
.badge-text-colored.badge-danger {
    color: rgb(227 57 57 / 78%);
}
.badge-text-colored.badge-dark {
    color: rgb(196 206 225 / 78%);
}
.badge-text-colored.badge-primary {
    color: rgba(23, 101, 246, 78%);
}

.btn-filter-tab {
    box-shadow: none !important;
    border-radius: 0;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    color: #CCC !important;
    padding: 0.75rem 1.25rem;
    background-color: rgb(255 255 255 / 2%);
}

.btn-filter-tab.selected,
.btn-filter-tab.active {
    border-bottom: 2px solid var(--theme-31);
    background-color: rgb(255 255 255 / 4%);
}

.btn-filter-tab:hover {
    background-color: rgb(255 255 255 / 5%);
}

.transaction-color-up {
    color: rgb(110 235 166);
}

.transaction-color-down {
    color: rgb(245 81 113);
}

.transaction-bg-up {
    background-color: rgb(110 235 166);
}

.transaction-bg-down {
    background-color: rgb(245 81 113);
}

@media(max-width: 500px) {
    .card-result h3 {
        font-size: calc(1.05rem + .6vw)!important;
    }
}

@media(max-width: 552px) {
    :root {
        --top-height: 70px;
    }
    
    .float-parsed-cotation {
        font-size: 11px!important;
        margin-top: -6px;
    }

    .float-parsed-cotation ~ p {
        position: relative;
        bottom: -6px;
    }

    .custom-table-wrapper {
        overflow: auto;
        padding: 10px 10px;
    }

    .card-result h3 {
        font-size: calc(1.2rem + .6vw);
    }

    select, button {
        outline: none!important;
    }
}

@media(max-width: 1100px) {
    #sidebar-wrapper {
        position: fixed;
        left: 0;
        z-index: 10000;
    }

    .show-sidebar #sidebar-overlay {
        opacity: 1;
        transform: translateX(0%);
    }
}

@media(min-width: 1100px) {
    body[data-sidebar-show-mode="compact"].show-sidebar #sidebar-overlay {
        opacity: 1;
        transform: translateX(0%);
    }

    body[data-sidebar-show-mode="compact"].show-sidebar #sidebar-wrapper {
        position: absolute;
        z-index: 99999;
    }

    #sidebar-wrapper {
        overflow-x: hidden;
    }

    #sidebar-content,
    .sidebar-link-text {
        transition: .4s transform;
    }

    .item-header {
        transition: .4s all;
        width: min-content;
    }

    .hide-sidebar #sidebar-wrapper {
        transform: translateX(calc(100px - 100%));
    }

    .hide-sidebar #sidebar-content {
        transform: translateX(calc(100% - 110px));
    }

    html[data-menu="modern"] .hide-sidebar #sidebar-wrapper li {
        min-width: 100px;
        width: 100px;
    }

    html[data-menu="modern"] .hide-sidebar #sidebar-content {
        transform: translateX(calc(100% - 100px));
    }

    html[data-menu="modern"] .hide-sidebar #sidebar-wrapper .item-header {
        left: 25px;
    }

    .hide-sidebar .sidebar-link-text {
        transform: translateX(45px);
    }

    .hide-sidebar #sidebar-wrapper li {
        width: 55px;
        white-space: nowrap;
    }

    .hide-sidebar #sidebar-wrapper li .menu-social-icon {
        margin-left: -6px;
    }

    .hide-sidebar #sidebar-wrapper .item-header {
        width: min-content;
        position: relative;
        transform: translateX(-40%);
        left: 5px;
        text-align: center;
        width: 110px;
    }

    .hide-sidebar .page-scroller {
        min-width: calc(100vw - 100px) !important;
        transform: translateX(calc(100px - var(--sidebar-width)));
    }

    .hide-sidebar #sidebar-header,
    .hide-sidebar .siderbar-collapse-max-width {
        max-width: 110px;
    }

    .hide-sidebar #sidebar-wrapper .only-collapse {
        display: block;
    }

    .hide-sidebar #sidebar-wrapper .only-not-collapse {
        display: none;
    }
}

/* Alterna o comportamento do layout padrão */
html[data-mode="pwa"] #sidebar-wrapper,
html[data-page="pwa"] button[data-toggle="sidebar"] {
    display: none !important;
}

html[data-mode="pwa"] #topbar {
    display: none;
}

/* Estilização da página no modo PWA  */

html[data-page="pwa"] #topbar-content {
    background-color: rgb(0 0 0 / 15%);
}

html[data-page="pwa"] #topbar {
    box-shadow: 3px 0 5px 2px rgb(0 0 0 / 20%);
}

html[data-page="pwa"] {
    --top-height: 70px;
}

html[data-page="pwa"] #update-theme-modal {
    display: none;
}

html[data-page="pwa"] #iframe-navigation {
    width: 100%;
    height: 100%;
}

html[data-page="pwa"] #pwa-menu {
    display: none;
    width: 100%;
    border-top: 2px solid rgb(255 255 255 / 8%);
}

html[data-page="pwa"] #pwa-menu.show {
    display: flex;
    animation: show-pwa-menu .3s;
}

html[data-page="pwa"] #pwa-menu-ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: rgb(0 0 0 / 15%);
    justify-content: space-evenly;
    list-style: none;
}

html[data-page="pwa"] #pwa-menu-ul li {
    flex-grow: 1;
}

html[data-page="pwa"] #pwa-menu-ul a {
    padding: 0.75rem 0.25em;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-default-01);
}

html[data-page="pwa"] #pwa-menu-ul i {
    font-size: 1rem;
    margin-bottom: 5px;
}

html[data-page="pwa"] #pwa-menu-ul .sidebar-link-text {
    font-size: 12px;
    opacity: 0.8;
}

html[data-page="pwa"] #pwa-menu-ul li.active a {
    color: var(--theme-31);
    background-color: rgb(255 255 255 / 4%) !important;
}

@keyframes show-pwa-menu {
    0% {
        display: flex;
        opacity: 0;
    }

    100% {
        opacity: 100%;
    }
}