@import "https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 0.875rem;
}

a {
    text-decoration: none!important;
}

strong, .strong {
    font-weight: 500;
}

.d-webkit-box {
    height: 1.25rem;
    overflow: hidden;
    display: -webkit-box;
}

hr {
    opacity: .1;
}

.text-muted {
    color: #99a0ac!important;
}

.cursor-pointer {
    cursor: pointer;
}


.btn:hover {
    color: inherit;
}
.dark .btn {
    color: currentColor;
}

.form-control, .form-select {
    border-width: 0;
    border-radius: .25rem;
    box-shadow: 0 1px 3px rgb(0 0 0 / 5%);
}

.dark .form-control,.dark .form-select {
    color: currentColor;
    background-color: #1c233f;
}

.app {
    display: flex;
    color: #5e676f;
    flex-wrap: nowrap;
    background: #fbfbfb;
}

.aside {
    width: 296px;
    min-height: 100vh;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    background: #f4f6f7;
    flex-shrink: 0;
    z-index: 1050;
}

.aside > div:first-child {
    width: 4rem;
    background: #ecf0f5;
}

.aside .tab:not(.active) {
    display: none;
}

.aside .nav-link {
    display: flex;
    padding: 0 0.5rem;
    position: relative;
    line-height: 2.5rem;
}

.aside .nav-icon {
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    flex-shrink: 0;
    font-size: 1rem;
    border-radius: 100%;
    align-items: center;
    justify-content: center;
    opacity: .65;

}

.aside .nav-text {
    flex: 1 1 auto;
    margin: 0 .5rem;
    line-height: 1.125rem;
    transition: opacity .15s ease-in-out;
    padding: .6875rem 0;
}

.aside a {
    color: currentColor;
}
.aside .btn {
    opacity: .75rem;
    color: currentColor;
}

.aside li:not(.active) > ul {
    height: 0;
    transition: none;
    overflow-y: hidden;
}


@media(max-width:1024px) {
    .aside {
        top:0;
        left: 0;
        bottom: 0;
        position:fixed;
        display: none;
        z-index: 1050;
        display: none;
        box-shadow: 0 0 250px rgba(0, 0, 0, 0.5);
    }

    .aside.show {
        display: flex;
    }
}

.nav .nav-header {
    display: block;
    font-size: 0.75rem;
    padding: 1rem 1rem .5rem 1rem;
}

.nav-badge {
    margin: 0 .5rem;
}

.navbar .nav-link, .navbar-brand {
    color: inherit;
    white-space: nowrap;
}

.vh-100 {
    height: 100vh;
}

.dropdown-menu {
    font-size: 14px;
}

.aside .dropdown-toggle {
    margin: 0 1rem 0 .5rem;
}

.dropdown-toggle:after {
    content: '';
    width: 5px;
    height: 5px;
    display: inline-block;
    border-width: 1px;
    border-style: solid;
    border-color: transparent currentColor currentColor transparent;
    transform: rotate(45deg);
    margin-left: 0.5rem;
}

.dropdown-menu-end[data-bs-popper] {
    right: -95px;
}

.btn-white {
    background: #fff;
}

.table {
    color: currentColor;
}

.table td, .table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid rgba(160,175,185,.15);
}

.table-row {
    border-collapse: separate!important;
    border-spacing: 0 10px!important;
}

.table-app thead {
    font-size: .7rem;
}

.table-app td, .table-app th {
    border:none;
    vertical-align: middle;
}

.table-app tbody td {
    background-color: #fff;
    border-width: 0;
    box-shadow: 0 1px 0 rgb(160 175 185 / 5%), 0 -1px 0 rgb(160 175 185 / 5%);
}

.table-app tbody td:first-child {
    border-radius: .25rem 0 0 .25rem;
}

.table-app tbody td:last-child {
    border-radius: 0 .25rem .25rem 0;
}

.dropdown-menu {
    border-radius: 3px;
    border-color: rgba(160,175,185,.15);
    box-shadow: 0 1px 3px rgb(0 0 0 / 5%);
    color: #5e676f;
}

.dark {
    color: #b9c0d3;
    background: #161d33!important;
}

.dark .app {
    background: #1d2542!important;
}

.dark.aside,
.dark .aside {
    background: #192039!important;
}

.dark.aside > div:first-child,
.dark .aside > div:first-child {
    background: #161d33!important;
}

.dark .text-muted {
    color: #838aa0!important;
}

.dark .btn-white {
    color: #b9c0d3;
    background-color: #1c233f;
    border-color: #1c233f;
    transition: 0;

}

.dark .dropdown-menu,
.bg-dark .dropdown-menu {
    color: currentColor;
    border-color: transparent;
    background-color: #1f2746!important;
}

.dark .table-app tbody td {
    background-color: #1c233f;
}



a:not([href]):not([tabindex]) {
    color: currentColor;
    text-decoration: none;
}

.dropdown-item.active:focus, .dropdown-item.active:hover, .dropdown-item:focus, .dropdown-item:hover {
    color: currentColor;
    background-color: rgba(135,150,165,.1);
}
.dropdown-item {
    color: currentColor;
}


/* width */
::-webkit-scrollbar {
  width: 1px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.01);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.01);
}

.aside:hover ::-webkit-scrollbar-thumb {
  background: rgba(86, 154, 253, 0.5)!important;
}


/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.form-floating > .form-control, .form-floating>.form-select {
    height: auto!important;
}
