/* === TOOLBAR === */
.toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--toolbar-height);
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 100;
}

.toolbar-left,
.toolbar-center,
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toolbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
}

.brand-text {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-bright);
}

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

.toolbar-select {
    padding: 6px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-bright);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.toolbar-select:hover {
    border-color: var(--primary);
}

.toolbar-select:focus {
    outline: none;
    border-color: var(--primary);
}

.toolbar-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--text);
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
    white-space: nowrap;
}

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

.toolbar-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.toolbar-btn .material-icons-outlined {
    font-size: 20px;
}

.toolbar-btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.toolbar-btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.toolbar-btn-success {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

.toolbar-btn-success:hover {
    background: #059669;
    border-color: #059669;
    color: white;
}

.btn-label {
    font-weight: 500;
}
