.navbar {
    background-color: var(--shade-5b);
    border-right: solid 1px var(--shade-3);
    position: fixed;
    left: 0;
    height: 100vh;
    width: 80px;
    z-index: 996;
}

@media screen and (max-width: 768px) {
    .navbar {
        height: 80px;
        width: 100vw;
        position: fixed;
        bottom: 0;
        border-right: none;
        border-top: solid 1px var(--shade-3);
    }
}

.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .navbar-nav {
        flex-direction: row;
    }
}

.nav-item,
.nav-item-2 {
    width: 100%;
    justify-items: center;
    box-sizing: border-box;
}

.nav-item-2 {
    position: relative;
}

.nav-item-2:hover {
    background-color: var(--shade-4);
    width: 60px;
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    .nav-item-2:hover {
        width: 100%;
    }
}

.nav-item:first-child {
    margin-bottom: auto;
}

@media screen and (max-width: 768px) {
    .nav-item:first-child {
        margin: 0 5px;
    }
}

.nav-item:last-child {
    margin-top: auto;
}

@media screen and (max-width: 768px) {
    .nav-item:last-child {
        margin: 0 5px;
    }
}

.nav-link,
.nav-link-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 100%;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    text-decoration: none;
}

.nav-link:active {
    transform: translate(0, 1px);
}

.nav-item-2:active {
    transform: scale(0.93);
}

.nav-item-2.active {
    background-color: var(--shade-5);
    outline: 1px solid var(--shade-3);
    border-radius: 10px;
    box-sizing: border-box;
    width: 60px;
}

.nav-item-2.active:hover {
    background-color: var(--shade-4);
}

@media screen and (max-width: 768px) {
    .nav-item-2.active {
        width: 100%;
    }
}

.nav-item:not(:first-child):not(:last-child),
.nav-item-2:not(:first-child):not(:last-child) {
    margin: 5px 0;
}

@media screen and (max-width: 768px) {
    .nav-item:not(:first-child):not(:last-child),
    .nav-item-2:not(:first-child):not(:last-child) {
        margin: 0 5px;
    }
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 30px + 4px);
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #8f44ff;
    box-shadow: 
        0 0 0 3px rgba(143, 68, 255, 0.35),
        inset 0 1px 2px rgba(0,0,0,0.25);
    pointer-events: none;
    animation: pulse-badge 1.9s infinite ease-in-out;
    z-index: 10;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        opacity: 0.92;
    }
    50% {
        transform: scale(1.22);
        opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    .notification-badge {
        right: 4px;
    }
}

@media screen and (max-width: 480px) {
    .notification-badge {
        top: 3px;
        right: 3px;
        width: 15px;
        height: 15px;
    }
}