.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 103vh;
    width: 84px;
    background-color: #000000;
    padding: 74px 0;
    display: flex;
    flex-direction: column;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    align-items: center;
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 16px;
    width: 100%;
}

.sidebar-bottom {
    margin-top: auto;
    width: 100%;
}

.sidebar-bottom ul {
     width: 100%;
}

.sidebar nav li {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.sidebar nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    color: #888;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.sidebar nav a:hover {
    color: #fff;
    background-color: #222;
}

.sidebar nav a.active {
    color: #fff;
    background-color: #1f1f1f;
}

.sidebar nav a.active::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 28px;
    background-color: #fff;
    border-radius: 4px;
}

.sidebar nav a svg {
    width: 26px;
    height: 26px;
    fill: currentColor; 
}

.sidebar nav a svg[stroke] {
    fill: none;
}

.tooltip {
    position: absolute;
    left: 100%;
    margin-left: 16px;
    background: #000;
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Unbounded', sans-serif;
    white-space: nowrap;
    border: 1px solid #222;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.sidebar nav li:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
    }
}
