/* Sidebar Container */

/* Sidebar Container */
.sidebar-nav {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    z-index: 1001;
    /* Above navbar if needed, or just below high z-index modals */
    padding: 10px 5px;
    /* Restore original desktop styles */
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* The dots */
.sidebar-dot {
    width: 6px;
    height: 24px;
    /* Elongated vertical rectangle */
    background-color: transparent;
    border: 2px solid #eec0c8;
    /* Pink color from navbar */
    border-radius: 10px;
    /* Rounded ends (pill shape) */
    transform: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    pointer-events: auto;
    /* Re-enable clicks on dots */
}

/* Hover state */
.sidebar-dot:hover {
    background-color: rgba(238, 192, 200, 0.5);
    transform: scaleY(1.2);
    /* Stretch vertically on hover */
}

/* Active state */
.sidebar-dot.active {
    background-color: #eec0c8;
    transform: scaleY(1.3);
    /* Stretch more when active */
    box-shadow: 0 0 10px rgba(238, 192, 200, 0.6);
}

/* Tooltip (optional, for better UX) */
.sidebar-dot::before {
    content: attr(data-label);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #4a4a4a;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.sidebar-dot:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .sidebar-nav {
        display: none !important;
    }

    .sidebar-dot {
        width: 4px;
        /* Thinner on mobile */
        height: 16px;
        /* Shorter on mobile */
        border-width: 1px;
        /* Thinner border */
        background-color: #fdfbf7;
        /* Match body bg to cover the bar line behind it, or transparent */
        flex-shrink: 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        /* Add shadow for visibility */
        border-radius: 10px;
        /* Ensure pill shape on mobile too */
    }

    /* Hide tooltips on mobile to prevent clutter */
    .sidebar-dot::before {
        display: none;
    }
}