:root,
[data-bs-theme=light] {
    --bs-big10-primary: #4065AD;
    --bs-big10-secondary: #F8C52D;
    --bs-primary-active: #5481db;
    --bs-primary: #4065AD;
    --bs-app-bg-color: #f3f3f3;
    --bs-timeline-icon-size: 38px;
    --bs-primary-rgb: 64, 101, 173;
    --bs-secondary-rgb: 248, 197, 45;
}

/* a:hover:not(.btn, .menu-link) {
    color: var(--bs-primary-active) !important;
    text-decoration: underline !important;
} */

.text-active-primary.active,
.text-active-primary.active i {
    color: var(--bs-primary) !important;
}

.text-big10-primary {
    color: var(--bs-big10-primary);
}

.app-default {
    overflow-x: hidden;
    background-color: var(--bs-app-bg-color);
}

.app-header .app-header-primary {
    background-color: var(--bs-app-bg-color);
}

.menu-active-bg .menu-item .menu-link.active {
    background-color: var(--bs-big10-primary);
}

.menu-state-primary .menu-item .menu-link.active .menu-title,
.menu-state-primary .menu-item .menu-link.active .menu-icon,
.menu-state-primary .menu-item .menu-link.active .menu-icon .svg-icon,
.menu-state-primary .menu-item .menu-link.active .menu-icon i {
    color: var(--bs-light);
}

.menu-item .menu-link {
    padding: 1rem 1rem;
}

@media(max-width: 768px) {
    .app-sidebar {
        height: 100vh;
    }

    .bottom-content {
        margin-bottom: calc(10vw + 20px) !important;
    }

    .nav-line-tabs .nav-item .nav-link {
        margin: 0 !important;
        font-weight: 600;
    }

    .nav-line-tabs {
        margin-bottom: 20px !important;
    }
}

@media (orientation: landscape) and (max-width: 768px) {
    .app-sidebar {
        height: auto;
        overflow-y: auto;
    }

    .app-main {
        margin-left: 0;
    }

    .content-wrapper {
        padding: 1rem;
    }
}





@media (min-width: 768px) and (orientation: portrait) {
    .app-main {
        margin-left: 280px;
    }

    .app-sidebar {
        height: 93vh;
        position: fixed;
        /* Fixa a sidebar */
        top: 0;
    }


}

.content-wrapper {
    display: flex;
    flex-direction: column;
}

.bottom-content {
    margin-top: auto;
    margin-bottom: 20px;
}

.form-control:focus,
.form-control:hover,
.form-select:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 1px var(--bs-primary);
}

.form-select:focus,
.form-select:hover .select2-container--bootstrap5.select2-container--focus:not(.select2-container--disabled) .form-select:not(.form-select-solid):not(.form-select-transparent),
.select2-container--bootstrap5.select2-container--open:not(.select2-container--disabled) .form-select:not(.form-select-solid):not(.form-select-transparent) {
    border-color: var(--bs-primary) !important;
    outline: 0;
    box-shadow: 0 0 0 1px var(--bs-primary);
}

.select2-container {
    z-index: 9999;
}

.mask-field>.form-control {
    font-variant-ligatures: no-contextual;
}

.dashboard-container {
    font-family: Arial, sans-serif;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0.2) 20%,
            rgba(255, 255, 255, 0.5) 60%,
            rgba(255, 255, 255, 0));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.card-loading {
    height: 100px;
    margin-bottom: 20px;
}

.chart-container {
    display: flex;
    height: 200px;
    margin-bottom: 20px;
}

.chart-main {
    width: 67%;
    margin-right: 20px;
}

.chart-secondary {
    width: 33%;
}

.table {
    height: 250px;
}

.row {
    display: flex;
    justify-content: space-between;
}

.column {
    width: 33%;
}

.masked-number {
    font-family: monospace;
    letter-spacing: 1px;
}

table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting_asc:after,
table.dataTable thead>tr>th.sorting_desc:after {
    top: 0;
}

.form-control-solid,
.form-select-solid {
    padding: 0.5rem 1rem;
}

.form-control.form-control-solid {
    background-color: var(--bs-gray-200);
}

/* .btn {
    padding: 0.5rem 1rem !important;
} */

.timeline .timeline-icon {
    z-index: 1;
    flex-shrink: 0;
    margin-right: 1rem;
    width: var(--bs-timeline-icon-size);
    height: var(--bs-timeline-icon-size);
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bs-gray-300);
    border-radius: 50%;
}

.timeline.timeline-border-dashed .timeline-icon {
    border-style: dashed !important;
}

.timeline.timeline-border-dashed .timeline-line {
    border-left-style: dashed !important;
}

.timeline .timeline-line {
    display: block;
    content: " ";
    justify-content: center;
    position: absolute;
    z-index: 0;
    left: 0;
    top: var(--bs-timeline-icon-size);
    bottom: 0;
    transform: translate(50%);
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: var(--bs-gray-300);
    width: var(--bs-timeline-icon-size);
    margin-top: var(--bs-timeline-icon-space);
    margin-bottom: var(--bs-timeline-icon-space);
}

div.dataTables_wrapper div.dataTables_processing {
    background-color: white;
    color: var(--bs-primary);
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.child {
    padding: 0.5rem 1rem !important;
}

table.dataTable>tbody>tr.child span.dtr-title {
    padding-right: 10px;
    min-width: 10rem;
}

.btn i {
    margin: 1px 0 !important;
}

.form-control:focus,
.form-control:hover,
.form-select:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 1px var(--bs-primary);
}

.form-select:focus,
.form-select:hover .select2-container--bootstrap5.select2-container--focus:not(.select2-container--disabled) .form-select:not(.form-select-solid):not(.form-select-transparent),
.select2-container--bootstrap5.select2-container--open:not(.select2-container--disabled) .form-select:not(.form-select-solid):not(.form-select-transparent) {
    border-color: var(--bs-primary) !important;
    outline: 0;
    box-shadow: 0 0 0 1px var(--bs-primary);
}

.nav-line-tabs .nav-item .nav-link.active {
    color: var(--bs-text-gray-800) !important;
    transition: none;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.link-primary:hover  {
    text-decoration: underline !important;
}

.link-primary:hover, .text-hover-primary:hover, .select2-container--bootstrap5 .select2-dropdown .select2-results__option--highlighted, .daterangepicker .ranges li:hover {
    color: var(--bs-primary-active) !important;
}

.form-control.form-control-solid {
    background-color: #f9f9f9 !important;
    border-color: #e0e0e0 !important;
}

.symbol {
    width: auto !important;
}

.active > .page-link, .select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--selected:after, .daterangepicker .ranges li.active {
    background-color: var(--bs-primary) !important;
}

