/* ============================================
   TOOLBAR STYLES - Left-edge vertical toolbar
   ============================================ */

.toolbar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: var(--toolbar-width);
    height: calc(100vh - var(--header-height));
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid var(--border-medium);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    gap: 4px;
}

.toolbar-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    position: relative;
}

.toolbar-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.toolbar-btn.active {
    background: var(--accent-primary-dim);
    color: var(--accent-primary);
}

.toolbar-btn.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    border-radius: 2px;
    background: var(--accent-primary);
}

.toolbar-separator {
    width: 24px;
    height: 1px;
    background: var(--border-medium);
    margin: 4px 0;
}

/* ---- ACTION BUTTONS (bottom of toolbar) ---- */
.toolbar-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-bottom: 10px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
    .toolbar {
        width: var(--toolbar-width);
    }

    .toolbar-btn {
        width: 32px;
        height: 32px;
    }
}
