.sidebar-wrapper {
    pointer-events: none;
    position: absolute;
    top: 35%;
    right: 28px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 3;
}

.sidebar-wrapper .sidebar.fixed {
    pointer-events: auto;
    position: fixed;
    top: 35%;
    transform: translateY(-50%);
    z-index: 400;
    background: none;
    border: none;
}

.sidebar-wrapper .stickyElement {
    bottom: 0;
    position: absolute;
    right: 100%;
    transform: translateY(50%);
    display: flex;
    flex-direction: column;
    gap: 19px;
    padding: 4px 4px 20px 4px;
    background-color: var(--main-color);
    border-radius: 50px 50px 6px 6px;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    --ssn-shadow: -4px 4px 12px rgba(0, 0, 0, .1);
    box-shadow: var(--ssn-shadow);
}

.sidebar-wrapper .head {
    display: flex;
    gap: 10px;
}

.sidebar-wrapper .head .image {
    border-radius: 50%;
    overflow: hidden;
    width: 44px;
    height: 44px;
}

.sidebar-wrapper .head .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-wrapper .head .title {
    font-weight: 700;
    color: #000;
}

.sidebar-wrapper .title.hidden,
.sidebar-wrapper .link.hidden,
.sidebar-wrapper .option.divider.hidden {
    display: none;
}

.sidebar-wrapper .options {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.sidebar-wrapper .option {
    align-items: center;
    display: flex;
    gap: 12px;
}

.sidebar-wrapper .option:last-child {
    margin-bottom: 5px;
}

.sidebar-wrapper .option.divider hr {
    margin: 5px 0;
    background: rgb(206, 206, 206);
    width: 100%;
}

.sidebar-wrapper .option > a {
    transition: color .3s ease-in-out;
    font-size: .875rem;
    line-height: 1.25rem;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    gap: 5px;
    align-items: center;
}


.sidebar-wrapper .icon {
    padding: 0 7px;
    display: flex;
    align-items: center;
}

.sidebar-wrapper .icon img {
    width: 28px;
    max-height: 28px;
    object-fit: contain;
    box-shadow: none;
    transition: box-shadow .3s ease-in-out;
}

/* --- HOVER AND FOCUS STATES --- */
.sidebar-wrapper .sidebar.fixed:hover .stickyElement,
.sidebar-wrapper .sidebar.fixed:focus-within .stickyElement {
    border-radius: 6px;
    padding: 16px;
    border: none;
}

.sidebar-wrapper .sidebar.fixed:hover .title.hidden,
.sidebar-wrapper .sidebar.fixed:hover .options .link.hidden,
.sidebar-wrapper .sidebar.fixed:focus-within .title.hidden,
.sidebar-wrapper .sidebar.fixed:focus-within .options .link.hidden {
    display: flex;
    align-items: center;
    color: white;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: color .3s ease-in-out;
}
.sidebar-wrapper .option > a:hover .link.hidden {
     text-decoration: underline;
}
.sidebar-wrapper .option > a:hover .icon img {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
/* --- RESPONSIVE STYLES --- */
@media (max-width: 1024px) {
    .sidebar-wrapper .sidebar.fixed {
        right: 10px;
        top: auto;
        bottom: 145px;
        transform: none;
    }

    .sidebar-wrapper .sidebar.fixed .stickyElement .options {
        display: none;
    }

    .sidebar-wrapper .sidebar.fixed:hover,
    .sidebar-wrapper .sidebar.fixed:focus-within {
        bottom: 215px;
    }

    .sidebar-wrapper .sidebar.fixed:hover .stickyElement .options,
    .sidebar-wrapper .sidebar.fixed:focus-within .stickyElement .options {
        display: flex;
    }
}

@media (max-width: 768px) {
    .sidebar-wrapper .sidebar.fixed {
        bottom: 120px;
        right: 0;
    }

    .sidebar-wrapper .sidebar.fixed .stickyElement {
        padding: 3px 3px 10px 3px;
    }

    .sidebar-wrapper .sidebar.fixed .stickyElement .head .image {
        width: 35px;
        height: 35px;
    }

    .sidebar-wrapper .sidebar.fixed:hover,
    .sidebar-wrapper .sidebar.fixed:focus-within {
        bottom: 200px;
    }
}