.sidebar {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 230px;
    height: 100vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 1px 0 20px rgba(0, 0, 0, 0.02);
    overflow-x: auto;
}

    .sidebar .links {
        padding: 15px;
        display: flex;
        flex-direction: column;
    }

        .sidebar .links a {
            border-radius: 6px;
            height: 50px;
            padding: 0 20px;
            display: flex;
            align-items: center;
            text-decoration: none;
            background-color: #EFEFEF;
            color: #3E4F59;
            font-weight: 500;
            transition: all 0.5s ease;
        }

            .sidebar .links a:not(:last-child) {
                margin-bottom: 15px;
            }

            .sidebar .links a i {
                width: 30px;
                text-align: left;
            }

            .sidebar .links a.active {
                background-color: #6D26C6;
                color: #fff;
            }

            .sidebar .links a:not(.active):hover {
                opacity: 0.6;
            }

    .sidebar .header {
        display: flex;
        flex-direction: column;
        padding-bottom: -10px;
    }

        .sidebar .header .logo {
            width: 130px;
            margin: 10px auto 0;
        }

            .sidebar .header .logo img {
                width: 100%;
            }

    .sidebar .body {
        flex-grow: 1;
    }

body.with-sidebar {
    min-height: 100vh;
}

    body.with-sidebar main {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

        body.with-sidebar main .page {
            padding: 30px;
            /* padding-left: calc(30px + 230px); */
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

            body.with-sidebar main .page .page-inner {
                flex-grow: 1;
            }

.sidebar-button {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0px;
    right: 0px;
}

    .sidebar-button .content {
        cursor: pointer;
        background: #6D26C6;
        padding: 5px 15px;
        color: #fff;
        font-size: 24px;
        border-bottom-left-radius: 4px;
    }
