/* ---------- DEFAULT ---------- */
[theme="auto"] .sidebar:hover::-webkit-scrollbar-thumb,
[theme="dark"] .sidebar:hover::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border: 1px solid rgba(222, 226, 232, .1);
}

.app[layout="default"][show-sidebar="true"] .pages {
    margin-left: 280px;
}

.app[layout="default"] .sidebar-item.icon-drop-water::after {
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}
.app[layout="default"] .sidebar-item.icon-drop-water::before {
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

/* ---------- CLASSIC ---------- */
.app[layout="classic"][show-sidebar="true"] .pages {
    margin-left: 160px;
}

.app[layout="classic"] .sidebar {
    width: 160px;
    overflow: hidden;
    overflow-y: auto;
}

.app[layout="classic"] .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    padding-bottom: 10px;
    margin: 0;
}

.app[layout="classic"] .sidebar-header img {
    height: 2.5rem;
    width: 2.5rem;
}
.app[layout="classic"] .sidebar-header h1 {
    font-size: 1.4rem;
    color: var(--title-color);
}

.app[layout="classic"] .sidebar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.app[layout="classic"] .sidebar-item {
    padding: 0;
    margin: 10px 0;
    border-radius: 50%;
}
.app[layout="classic"] .sidebar-item:hover {
    background: transparent;
}

.app[layout="classic"] .sidebar-item.active {
    background: transparent;
}

.app[layout="classic"] .sidebar-item.icon-drop-water::after {
    top: 15px;
    right: 5px;
}
.app[layout="classic"] .sidebar-item.icon-drop-water::before {
    top: 10px;
    right: 5px;
}

.app[layout="classic"] .sidebar-item i {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    padding: 0;
    height: 50px;
    width: 50px;
    border-radius: .3rem;
    margin: 0;
    color: var(--text-smooth);
}
.app[layout="classic"] .sidebar-item i:hover {
    background: rgba(155, 166, 196, 0.048);
}

.app[layout="classic"] .sidebar-item.active i {
    background: rgba(155, 166, 196, 0.11);
    color: var(--title-color);
}
.app[layout="classic"] .sidebar-item.active i:hover {
    background: rgba(155, 166, 196, 0.11);
}

.app[layout="classic"]  .sidebar-label {
    display: block;
    opacity: 0;
    top: -45px;
    transition: .2s ease-out;
    pointer-events: none;
    font-size: .875rem;
    font-weight: 500;
}

.app[layout="classic"] .sidebar-item:hover .sidebar-label {
    opacity: 1;
    top: -35px;
    pointer-events: all;
}

.app[layout="classic"] .user-profile-thin {
    display: block;
}

.app[layout="classic"] .logo-page-classic {
    display: flex;
}
@media (max-width: 1000px) {
    .app[layout="default"][show-sidebar="true"] .pages {
        margin-left: 0;
    }
    .app[layout="classic"][show-sidebar="true"] .pages {
        margin-left: 0;
    }
}

/* ---------- MODERN ---------- */
.app[layout="modern"] .sidebar,
.app[layout="modern"] .sidebar-btn-menu {
    display: none;
}

.app[layout="modern"] .modern-app-nav {
    display: flex;
}

.app[layout="modern"] .modern-app-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.app[layout="modern"] .user-profile-thin {
    display: block;
}

.app[layout="modern"] .pages-header {
    height: 80px;
    z-index: 51;
}

.app[layout="modern"] .modern-app-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 70;
    background-color: rgb(var(--main-color), .9);
    backdrop-filter: blur(.5rem);
    border-top: var(--border);
}

@media (max-width: 1000px) {
    .app[layout="modern"] .modern-app-logo {
        width: 0;
        margin: 0;
    }
}

@media (max-width: 800px) {
    .app[layout="modern"] .sidebar,
    .app[layout="modern"] .sidebar-btn-menu {
        display: flex;
    }

    .app[layout="modern"] .sidebar-header,
    .app[layout="modern"] .sidebar-user-info {
        display: none;
    }
    .app[layout="modern"] .sidebar-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .app[layout="modern"] .sidebar-item {
        font-size: 1rem;
    }

    .app[layout="modern"] .modern-app-nav {
        display: none;
    }

    .app[layout="modern"] .pages-header {
        height: 64px;
        z-index: 1;
    }
}

@media (max-width: 1000px) {
    .app[layout="modern"] .modern-app-logo {
        width: 0;
        margin: 0;
    }
}

@media (max-width: 800px) {

    .app[layout="modern"] .sidebar-header,
    .app[layout="modern"] .sidebar-user-info {
        display: none;
    }
    .app[layout="modern"] .sidebar-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .app[layout="modern"] .sidebar-item {
        font-size: 1rem;
    }

    .app[layout="modern"] .pages-header {
        height: 64px;
        z-index: 1;
    }

    .app[layout="modern"] .modern-app-nav {
        display: flex;
        align-items: center;
        justify-content: space-around;
        height: 100%;
    }

    .app[layout="modern"] .modern-app-nav-icon i {
        margin: 0;
    }

    .app[layout="modern"] .modern-app-nav-icon span {
        display: none;
    }
}