
.rds__menu-mini-sidebar-icon {
    background-color: transparent;
    transition: 0.2s ease;
    color: #ffffff;
    margin-bottom: 8px;

    &:hover {
        transition: 0.2s ease;
        background-color: rgba(0, 0, 0, 0.1);
    }
}
.mini-sidebar {
    width: 60px;
    height: 100vh;
    z-index: 999;
    position: fixed;

    .app-logo {
        width: 50px;
        height: auto;
    }
}
.admin-sidebar {
    position: relative;
    width: calc(100% - 60px);
    max-height: 100vh;
    overflow: hidden;

    .rds__text-divider {
        font-size: 75%;
        text-transform: uppercase;
        padding-left: 20px;
        font-weight: 700;
    }
    &.has-mini-sidebar {
        margin-left: 60px;
    }

    .sidebar-header {
        padding: 13px 0;
        .company-logo {
            width: auto;
            height: 50px;

            img {
                height: 50px;
                width: auto;
            }
        }
    }

    .sidebar-content {
        height: calc(100vh - 84.5px);
        overflow-y: auto;
        position: relative;
        ul {
            .rds__back-btn-menu {
                padding: 8px 16px;
                margin-bottom: 10px;
                border-bottom: 2px solid #ebecf0;
                &:hover {
                    cursor: pointer;
                    background-color: #f8f9fa;
                }
            }
            li {
                list-style: none;
                .list-group-item {
                    border: none;
                    &.setting {
                        &::after {
                            background-image: none;
                        }
                        &:hover {
                            cursor: pointer !important;
                            color: #172b4d !important;
                            &::after {
                                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z'/%3e%3c/svg%3e");
                            }
                        }
                    }
                }
            }
        }

        ul.menu-content-lvl2 {
            li {
                a {
                    padding-left: 70px;
                }
            }
        }
        .accordion-button {
            &:not(.collapsed) {
                background-color: transparent;
                box-shadow: none;
                color: inherit;
            }
        }
    }
}

.admin-navigation {
    li {
        position: relative;
        display: block;

        > a {
            transition: all 300ms linear;
            position: relative;
            &:before {
                content: "";
                display: block;
                z-index: -1;
                position: absolute;
                left: -100%;
                top: 0;
                width: 100%;
                height: 100%;
                background: $primary;
                transition: 0.35s ease left;
            }
        }

        &.active > a {
            color: $primary !important;
            font-weight: 700;
            background: lighten($primary, 60);

            &:before {
                left: 0;
                background: lighten($primary, 60);
            }

            i {
                color: $primary !important;
            }
        }
    }
}
