/* Dock Container - relative for navbar integration */
.dock-outer {
    position: relative;
    /* Removed fixed positioning */
    display: flex;
    align-items: center;
    /* Center appropriately */
    justify-content: center;
    z-index: 10;
    height: auto;
    margin: 0 20px;
    /* Spacing from logo and controls */
}

/* The actual dock panel */
.dock-panel {
    display: flex;
    align-items: center;
    /* Center items vertically */
    justify-content: center;
    gap: 15px;
    /* Use navbar gap */
    padding: 5px 10px;

    /* Make it blend with navbar */
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;

    /* Keep shadow subtle */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);

    pointer-events: auto;
    height: auto;
    box-sizing: border-box;
    will-change: height;
}

/* Individual Dock Items */
.dock-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    /* Slightly smaller base size for navbar */
    height: 45px;
    border-radius: 50%;
    /* Circle looks better in nav */
    background-color: transparent;
    /* Transparent by default */
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    will-change: width, height, transform;
    transform-origin: center center;
    /* Scale from center */
}

.dock-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Icons inside items */
.dock-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-secondary, #8b949e);
    pointer-events: none;
}

.dock-item:hover .dock-icon,
.dock-item.active .dock-icon {
    color: var(--accent, #58a6ff);
}

/* Tooltips - Below the item for navbar */
.dock-label {
    position: absolute;
    bottom: -35px;
    /* Move to bottom */
    top: auto;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background-color: rgba(13, 17, 23, 0.95);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.7rem;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
}

.dock-item:hover .dock-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
    bottom: -45px;
}