/* Tool Toolbar - Sidebar Integrated */
.tool-toolbar {
    display: flex;
    gap: 4px;
    background: #FFFFFF;
    padding: 8px 6px;
    border-bottom: 1px solid var(--border);
    justify-content: space-between;
    align-items: center;
}

.tool-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    background: #F9FAFB;
    color: #4B5563;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tool-btn:hover {
    background: #F3F4F6;
    border-color: #D1D5DB;
    color: #111827;
}

.tool-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, #E56C28 100%);
    color: #FFFFFF !important;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(255, 124, 79, 0.3);
}

.tool-btn.active svg {
    stroke: #FFFFFF !important;
}

.tool-btn svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    stroke: currentColor !important;
    stroke-width: 2px;
    transition: transform 0.2s ease;
    display: block;
}

.tool-btn:active svg {
    transform: scale(0.9);
}

/* Tooltip style label (optional, but good for UX) */
.tool-btn::after {
    content: attr(data-tool);
    position: absolute;
    bottom: -20px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tool-btn:hover::after {
    opacity: 1;
}