:root {}

body {
    background-color: #edf2f9;
}

.ecos-sidenav {
    top: 0;
    left: 0;
    height: 100%;
    width: 280px;
    position: fixed;
    background-color: #8B759A;
}

.ecos-sidenav-list {
    height: 75%;
    position: relative;
    overflow-y: auto;
}

.ecos-sidenav-list::-webkit-scrollbar {
    width: 8px;
}

.ecos-sidenav-list::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.35);
}


.ecos-sidenav-header {
    width: 90%;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    align-items: center;
    font-family: Poppins;
    font-weight: 600;
    /*    border-bottom: 1px dotted rgba(255, 255, 255, 0.7);*/
    margin-bottom: 0.5rem;
    gap: 10px;
    color: #F1F2F7;
}

.ecos-sidenav-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    aspect-ratio: 1/1;
    background-color: #F1F2F7;
    color: #888;
    border-radius: 1px;
}

.ecos-sidenav-group {
    font-family: Poppins;
    font-size: .7rem;
    padding: .65rem 1.5rem;
    margin: .35rem 0 .25rem;
    color: rgba(255, 255, 255, .7);
}

.ecos-sidenav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    width: 90%;
    margin-left: auto;
    padding: .65rem 0rem;
    padding-left: 1rem;
    font-family: Poppins;
    font-size: .825rem;
    border-radius: 10px 0 0 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: padding-left 0.25s ease-in-out;
}


.ecos-sidenav-link.active,
.ecos-sidenav-link:hover {
    background-color: #f1f2f7;
    padding-left: 1.5rem;
}

.ecos-sidenav-link.active {
    pointer-events: none;
    color: #000;
}

body:has(.ecos-sidenav) {
    background-color: #F1F2F7;
}

body:has(.ecos-sidenav) .container {
    width: 90%;
}

li .ecos-sidenav-list-dropdown {
    position: relative;
    padding-left: 2rem;
    overflow: hidden;
    height: 0;
}

.ecos-dashboard-wrapper {
    margin-left: 280px;
    width: calc(100% - 280px);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    font-family: Poppins;
}

.ecos-dual-nav {
    top: 0;
    left: 0;
    width: 100%;
    height: 130px;
    z-index: 8888888999999;
    background-color: #edf2f9;
    /* background-color: #fff; */
    /* box-shadow: 0 2px 3px rgba(0, 0, 0, 0.01); */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
}

.ecos-topnav {
    width: 100%;
    height: 55%;
    position: relative;
}

.ecos-navbar-list .container,
.ecos-topnav .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.ecos-navbar-list {
    height: 45%;
    position: relative;
}

.ecos-navbar-list .container {
    gap: 16px;
    font-size: .875rem;
}

.ecos-navbar-list .container>li,
.ecos-navbar-list .container>li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.ecos-navbar-list .container>li a {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
}

.ecos-navbar-list .container>li a:hover {
    color: #000;
}

.ecos-navbar-list li:has(.ecos-navbar-list-children) {
    position: relative;
}

.ecos-navbar-list-children {
    top: 130%;
    left: 0;
    min-width: 220px;
    position: absolute;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 8px rgba(0, 0, 0, 0.025);
    z-index: 99999999999999000001;
    opacity: 0;
    pointer-events: none;
    /* transition: opacity .15s .25s ease-in-out; */
}

.ecos-navbar-list li:has(.ecos-navbar-list-children):hover .ecos-navbar-list-children,
.ecos-navbar-list li:has(.ecos-navbar-list-children) a:hover .ecos-navbar-list-children {
    opacity: 1;
    pointer-events: all;
    -webkit-animation: push-top 0.25s ease-in-out forwards;
    animation: push-top 0.25s ease-in-out forwards;
}

@-webkit-keyframes push-top {
    to {
        top: 100%
    }
}

@keyframes push-top {
    to {
        top: 100%
    }
}

.ecos-navbar-group {
    font-size: .8rem;
    color: rgba(0, 0, 0, 0.8);
    margin: .25rem 0 .2rem;
    font-weight: 600;
    pointer-events: none;
}

.ecos-navbar-list-children li,
.ecos-navbar-list-children .ecos-navbar-link,
.ecos-navbar-list-children .ecos-navbar-link>* {
    width: 100%;
}

.ecos-navbar-list-children .ecos-navbar-link {
    text-align: left;
    padding: .25rem 0;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.ecos-navbar-list-children .ecos-navbar-link:hover {
    color: #000;
}

.ecos-nav-search {
    position: relative;
}

.ecos-nav-search i {
    top: 50%;
    position: absolute;
    z-index: 99;
    left: 0.75rem;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.ecos-nav-search .einput-search {
    width: 100%;
    display: block;
    background-color: #fff;
    padding-left: calc(.75rem * 2.5);
    font-size: .875rem;
    border-radius: 50px;
}

.ecos-topnav-header {
    font-weight: 500;
    font-size: 1.5rem;
    margin-right: 1.5rem;
}

.ecos-dash-title {
    font-weight: 800;
    font-size: 1.25rem;
    display: block;
}
