/* WAI-Core: src/app/static/css/shell/left-panel.css v3 */

.left-side-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 10px;
    width: 77px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: opacity 0.3s ease;
    background-color: rgba(0, 0, 0, 0.618);
}

.scroll-container {
    height: 70%;
    width: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    will-change: transform;
    height: 100%;
    width: 100%;
}

.icon-wheel {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding: 0px 0;
    margin: 0;
    height: auto;
    justify-content: space-evenly;
    gap: 20px;
}

.left-side-panel.from-footer .scroll-track,
.left-side-panel.from-footer .icon-wheel {
    flex-direction: column-reverse;
}

.left-side-panel.from-footer .icon-wheel {
    justify-content: flex-start;
}

.left-side-panel.from-footer .icon-wheel .scroll-spacer:first-of-type {
    order: 2;
}

.left-side-panel.from-footer .icon-wheel .scroll-spacer:last-of-type {
    order: -1;
}

.wheel-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease;
    will-change: transform, opacity;
    position: relative;
    opacity: 0.4; /* Transparent by default */
}

.wheel-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    pointer-events: none;
}

.wheel-icon a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wheel-icon:hover,
.wheel-icon.touch-hover {
    transform: scale(2);
    opacity: 1; /* Fully opaque on hover */
}

.left-panel-minimised {
    opacity: 0;
    pointer-events: none;
}

@media (hover: hover) {
    .left-panel-minimised {
        pointer-events: auto;
    }

    .left-panel-minimised:hover {
        opacity: 1;
    }
}

@media (hover: none) {
    .left-panel-minimised {
        opacity: 0;
        pointer-events: none;
    }
}
